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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB error "Type mismatch" 2 49
MsgBox 2 47
Prevent checkbox click event occur while editing it in vb6 8 32
clicking a shape in a frame array vb6 3 39
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

948 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now