473,413 Members | 1,731 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

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
4 9443
albertw
267 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
albertw
267 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
albertw
267 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

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

Similar topics

4
by: Lev Altshuler | last post by:
Hi, When reading from email message using Net::POP3 (or other means), I need my perl program to open URLs incuded into the message. In other words, I need the program to click links in the...
8
by: alanstew | last post by:
With the body tag calling out 'window onload', a function with a 'window.open' fails at the 'window.open' line. If I cut out the body tag, the function executes as normal. At first I thought it...
1
by: Michal Adamski | last post by:
I'm trying to make a popup. The code I pasted below works, but my problem is, that I want the http://www.mypage.com to open in the same browser window. So I need something instead of window.open()....
4
by: dev1null2 | last post by:
Hi! I'm using window.open to create a secondary window, and everything is working fine with that. My problem is that as soon as that window is opened, the parent window scrolls to the top of...
29
by: wayne | last post by:
Hey there... I'm having some problems passing url parameters with an open.window command. I'm not terribly familiar with java script but here is the code below. When executed it opens the...
5
by: John Warner | last post by:
I have a wierd problem that I can't find any reference to in the knowledge base. I develop simple databases at the company where I work, and many of them are used by hundreds of employees. We all...
3
by: rick2910 | last post by:
Hello, I have a problem with a popup. In this popup (child) are several links. I want these links to open in A NEW parent window. Code: <a href="javascript:;"...
6
by: bushi | last post by:
hi everyone! i have diplayed my hyperlinks in a iframe.when i redirect to next page.the next page also open in the same frame,but i want to open a new browser window,when i click on the...
4
by: Kaustubh Budukh | last post by:
I am designing a VB.NET based website I have a hyperlink, upon clicking on it a "File Download" prompt opens which asks me whether I want to "Save" the file, "Open" But I want it to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.