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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling the "run" app using Shell()

Status
Not open for further replies.

Siberd

Technical User
Jun 24, 2001
35
0
0
US
Hello.
I'd like to include a hyperlink in my vb6 app. I figured the easy way to do this would be to use the run command (as in the start menu) and send the href to that thus executing it. However i am having trouble determining which shell app i should call to do this.
Unfortunatley I've not spent as much time with vb as i'd have liked to and am a little rusty at which shell cmd does what, and which ones are even valid. Any pointers would be helpful :)
Also, if there is any easier way of creating a mailto: hyperlink in vb6 i would be very appriecative.
Many thanks /Sib
programmer in the making
icq: 44167565
e-mail: siberdude@ntlworld.com
 
Hi,

Dont know if this is what you mean but could you not simply use the VB Shell command to run your application.

Something like this:

Shell("C:\MyProgram.exe",vbNormalFocus)

Hope this helps

Davie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top