Solved

Starting IE from VB App

Posted on 2002-04-03
5
138 Views
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.

Regards,
Dan Allen
President
Vermont Offshore
www.vermontoffshore.com
0
Comment
Question by:Danimal
  • 2
  • 2
5 Comments
 
LVL 28

Expert Comment

by:iboutchkine
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



0
 
LVL 1

Author Comment

by:Danimal
ID: 6915838
iboutchkine,

OK, I will try those.

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

Accepted Solution

by:
Richie_Simonetti earned 25 total points
ID: 6915839
take a look at www.angelfire.com/realm/vb-shared/index.html under "IE DOM....." topic.
0
 
LVL 1

Author Comment

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

Thank you!
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6916089
Thanks to you!!
Glad to help.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

860 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