Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 A little help please
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Toxic_Ninja




PostPosted: Mon May 15, 2006 8:48 am   Post subject: A little help please

Hey, I'm working on a project for school in vb and they taught us prety much nothing of value, so whats the code to link to a website? Also how would you be able to make it install a program? Thanks.
Sponsor
Sponsor
Sponsor
sponsor
NikG




PostPosted: Mon May 15, 2006 10:25 am   Post subject: (No subject)

You have to be a little more specific with what you need. I'm not sure what you mean by "make it install a program."

From: http://www.compsci.ca/v2/viewtopic.php?t=9727
To open a website, use:
code:
Shell "iexplore.exe http://www.compsci.ca/", vbNormalFocus
(although for some reason, I have to put the full path of internet explorer (i.e. c:/program files/internet explorer/iexplore.exe)
Toxic_Ninja




PostPosted: Mon May 15, 2006 2:23 pm   Post subject: (No subject)

Ok thanks on that, and forget the install thing.
diqua




PostPosted: Fri Jul 21, 2006 12:49 pm   Post subject: (No subject)

NikG wrote:

From: http://www.compsci.ca/v2/viewtopic.php?t=9727
To open a website, use:
code:
Shell "iexplore.exe http://www.compsci.ca/", vbNormalFocus
(although for some reason, I have to put the full path of internet explorer (i.e. c:/program files/internet explorer/iexplore.exe)


the reason that u have to put the full path is because the file iexplore.exe is not in your system path and cant be executed like anything else
NikG




PostPosted: Sat Jul 22, 2006 1:49 am   Post subject: (No subject)

Uhhh... thanks, but dude, next time take a look at the post date.
This topic is over 2 months old...
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: