|
-
Aug 6th, 2006, 09:57 AM
#1
Thread Starter
Junior Member
How to get or set the url in a web-browser?
Hi!
How can i get the function to Get or set Url for a Process
(ex: internet explorer)
thanks
If (date.day==monday) {
date.day = friday;
}
-
Aug 7th, 2006, 01:21 AM
#2
Hyperactive Member
Re: How to get or set the url in a web-browser?
VB Code:
private sub Form1_Load
webpage.url = "wt eva u want"
end sub
-
Aug 7th, 2006, 11:58 AM
#3
Thread Starter
Junior Member
Re: How to get or set the url in a web-browser?
I mean to do that in a another process.
If (date.day==monday) {
date.day = friday;
}
-
Aug 7th, 2006, 12:10 PM
#4
Fanatic Member
Re: How to get or set the url in a web-browser?
You can open a URL with the default browser by using:
VB Code:
System.Diagnostics.Process.Start("http://www.google.co.uk")
-
Aug 10th, 2006, 09:53 AM
#5
Thread Starter
Junior Member
Re: How to get or set the url in a web-browser?
But, is it posible to do some thing like this:
VB Code:
process.start("www.google.com")
if geturl = "www.google.com" then
seturl("www.test.com")
end if
' How can i connect to the process and get the function "geturl" and "seturl"?
Please help
If (date.day==monday) {
date.day = friday;
}
-
Aug 10th, 2006, 10:06 AM
#6
Re: How to get or set the url in a web-browser?
 Originally Posted by zenteo
But, is it posible to do some thing like this:
VB Code:
process.start("www.google.com")
if geturl = "www.google.com" then
seturl("www.test.com")
end if
' How can i connect to the process and get the function "geturl" and "seturl"?
Please help
Hi,
Here's a link about the Geturl:
http://search.msdn.microsoft.com/sea...0&query=geturl
And seturl:
http://search.msdn.microsoft.com/sea...siteid=0&tab=0
Hope it helps,
sparrow1
-
Aug 12th, 2006, 07:56 AM
#7
Thread Starter
Junior Member
Re: How to get or set the url in a web-browser?
The question is: how i can have a project, that opens a test-program and run a public sub in the test-program. I'll get the test-program to do something when i run the project.
If (date.day==monday) {
date.day = friday;
}
-
Aug 12th, 2006, 10:56 AM
#8
Re: How to get or set the url in a web-browser?
What you are trying to do will require API, because you are trying to modify information in other applications when no interfaces are built in. You will have to use API functions like FindWindowEX, SendMessage, etc in order to do it. You will get more answers if you post in the API section in this forum, but it seems like a common question if you do a search in the API section. Probably some examples already posted...
-
Aug 12th, 2006, 11:51 AM
#9
Thread Starter
Junior Member
Re: How to get or set the url in a web-browser?
If (date.day==monday) {
date.day = friday;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|