Internet

jaden2001
05-31-2005, 12:33 PM
Im tryin to make a certain site load when i click a button but i dunno quite how to do it would you shell it like this


Dim task1 As Long
task1 = Shell("C:\Program Files\Internet Explorer\iexplorer.exe", vbNormalFocus)
how would i make it target a certain site such as when it opens to google.com

meteo
05-31-2005, 12:35 PM
Take a look at the ShellExecute API and try something like this:

ShellExecute Me.hwnd, vbNullString, "http://www.visualbasicforum.com", vbNullString, "C:\", 1

jpaugh78
05-31-2005, 12:38 PM
Does anybody use the search button anymore? This question gets asked probably once every other day..... :rolleyes:

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum