Starting IE from VB App

Posted on 2002-04-03
Last Modified: 2010-05-02
Is there a way to start IE from within a VB app?

My VB app needs to open IE with a URL specified by the VB app.  

As a bonus, the VB app needs to post an HTML form into the URL.  The target web page would read the HTML form as if it was posted from another web page.

Any help will be appreciated.

Dan Allen
Vermont Offshore
Question by:Danimal
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 28

Expert Comment

ID: 6915823
'on a form we have  WebBrowser control ( in Ref Microsoft Internet Controls)

Private Sub cmdShowURL_Click()
    wbrDesiredURL.Navigate txtURL.Text
End Sub

Private Sub wbrDesiredURL_DownloadComplete()
    wbrDesiredURL.Visible = True
End Sub


Author Comment

ID: 6915838

OK, I will try those.

What about posting a form into the desired URL?
LVL 16

Accepted Solution

Richie_Simonetti earned 25 total points
ID: 6915839
take a look at under "IE DOM....." topic.

Author Comment

ID: 6915888
Richie, you are my HERO!!!  :-)

Thank you!
LVL 16

Expert Comment

ID: 6916089
Thanks to you!!
Glad to help.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question