lbowers
asked on
Linking to a web site...
I want to make it possible for the user of my app to be able to click a button/image to be taken to my home page (via IE of course). Is this easily achievable with VB 6?
You could always execute a windows shortcut to the URL...... simply add the URL: to favourites... go to windows/favourites and copy the shortcut out to where u want it....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Easy enough, no?
M
M
Add a 0 to the code...
retVal = shell("start http://www.yourpage.com/",0)
this will supress the MSDOS window
regards
Jon
retVal = shell("start http://www.yourpage.com/",0)
this will supress the MSDOS window
regards
Jon
you don't need to add a 0 at the end. By default, the window will already be minimized, and w/ focus i think. it doesn't matter if it has the focus anyway becuase the new browser window will take the focus when it opens.
actually that is not strictly correct.... what happens is that a MSDOS icon apears in the task bar... putting the '0' will suppress that....
But '0' is not the default.....
sorry If this seems like being pedantic... I just noticed it while I was trying it out... and thought it may be useful to lbowers, thats all
Regards
Jon
But '0' is not the default.....
sorry If this seems like being pedantic... I just noticed it while I was trying it out... and thought it may be useful to lbowers, thats all
Regards
Jon
ASKER
Thanks to all for your help and comments.
maverick - does the 0 make it not in the taskbar?
M