By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,593 Members | 2,006 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,593 IT Pros & Developers. It's quick & easy.

Open IE and follow a link

P: 2
thats it can any one help.

i want internet explorer to open up and follow a link.

or if its possible with a batch file or any other simple/simpler method would be great.

cheers.
Nov 18 '06 #1
Share this Question
Share on Google+
4 Replies


100+
P: 267
thats it can any one help.

i want internet explorer to open up and follow a link.

or if its possible with a batch file or any other simple/simpler method would be great.

cheers.
hi

in VB6

ShellExecute hWnd, "open", URL-LINK, NILL, NILL, Empty
Nov 18 '06 #2

100+
P: 267
hi

in VB6

ShellExecute hWnd, "open", URL-LINK, NILL, NILL, Empty
actually this is not complete

Expand|Select|Wrap|Line Numbers
  1.  
  2. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
  3.  
  4. ShellExecute hWnd, "open", URL-LINK, vbNullString, vbNullString, Empty
  5.  
  6.  
Nov 18 '06 #3

P: 2
how do i use this to follow a link.?
i can open a page like this but im not sure how i am supposed to follow a link.
Nov 18 '06 #4

100+
P: 267
how do i use this to follow a link.?
i can open a page like this but im not sure how i am supposed to follow a link.
hi

you need to copy and paste previous code into your program
and use a trigger (e.g: a buttonclick ) to start
write a proper URL where URL-LINK is written.
Nov 19 '06 #5

Post your reply

Sign in to post your reply or Sign up for a free account.