Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing HTML from VB

Status
Not open for further replies.

mbr501

IS-IT--Management
Feb 19, 2001
21
0
0
US
Hi -

I have a block of HTML code that I want to have a VB application execute based on when a user enters a given time interval into a GUI text box. I know I need to use the 'time' control for the time parameter on my GUI, but I'm not sure how to call and execute the actual HTML within VB.

Can you suggest how to call HTML within a VB application?

note: The HTML executes a web page and passes parameters into specific fields within the web page.

Thanks.
 
Several choices:
1. Shell to the browser
Code:
Shell "C:\Program Files\mozilla.org\Mozilla\mozilla.exe [URL unfurl="true"]www.tek-tips.com",vbNormalFocus[/URL]

2. Open the doc with RunDLL
Code:
Shell "RUNDLL32.EXE URL.DLL, FileProtocolHandler [URL unfurl="true"]www.tek-tips.com",[/URL] vbNormalFocus

3. Add a Webbrowser control to your project and point it to your page.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'

for steam enthusiasts
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top