467,151 Members | 951 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,151 developers. It's quick & easy.

Open IE and follow a link

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
  • viewed: 9188
Share:
4 Replies
100+
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+
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
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+
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.

Similar topics

4 posts views Thread by Lev Altshuler | last post: by
1 post views Thread by Michal Adamski | last post: by
4 posts views Thread by dev1null2@hotmail.com | last post: by
5 posts views Thread by John Warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.