Jump to content
Xtreme .Net Talk

How can I open up a NEW sized webpage from a vb.net application


Recommended Posts

Posted

I want to open up a IE window (or mozilla... whatever is system default) after the user does a specific action.

 

The catch is.. I don't want the webpage to redirect an existing webpage.. like what

Start("http://www.website")

Process.Start("www.domainName.com/pageName.aspx")

System.Diagnostics.Process.Start("http://whatever_page.com")

 

do..

 

but I want to be able to say the size of the window, placement, and that it is suppose to be a new webpage..

 

any ideas?

 

thanks!

Posted

do you intend to open a new Internet Explorer?

If so, try this :

 

---------------------------------------------------------------------------------

 

Private Sub Button1_Click(...)Handles Button1.Click

System.Diagnostics.Process.Start("IExplore.exe", "http://www.yahoo.com")

End Sub

 

--------------------------------------------------------------------------------

sOMEONE'S gONNA dO iT, wHY nOT yOU ?
Posted
do you intend to open a new Internet Explorer?

If so, try this :

 

---------------------------------------------------------------------------------

 

Private Sub Button1_Click(...)Handles Button1.Click

System.Diagnostics.Process.Start("IExplore.exe", "http://www.yahoo.com")

End Sub

 

--------------------------------------------------------------------------------

 

That works great! Is there anyway I can specify where the window is opened, and the size of it?

 

 

thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...