|
-
Sep 27th, 2000, 10:16 PM
#1
Thread Starter
Lively Member
Hi
I have Internet Explorer open already. How do I use the Inet Control property and method against the OPEN Internet Explorer Window. I don't want to open another session. Just want to be able to control the open IE window with the same commands, properties and method of the inet control.
The "open session" was not open by the inet control.
Thank You.
-
Sep 27th, 2000, 10:31 PM
#2
A question, an answer
What do you exactly plan to do? Open an URL, download a file, or what?
You can do it, but not with the inet control but with the API .
-
Sep 28th, 2000, 03:02 AM
#3
Thread Starter
Lively Member
Been sitting infront of my computer all night now.
This is what i have.
Code:
Private WebBrowser As InternetExplorer
Set WebBrowser = New InternetExplorer
I don't want a new instance of InternetExplorer but an existing open session. I want to take advantage of all built in functions and methods of InternetExplorer. Anyone have any ideas?
Too hard to do things like this with API. This is only one ex.
Code:
WebBrowser.Navigate (Site)
'READYSTATE_UNINITIALIZED The default initialization state.
'READYSTATE_LOADING The object is currently loading its properties.
'READYSTATE_LOADED The object has been initialized.
'READYSTATE_INTERACTIVE The object is interactive, but not all of its data is available.
'READYSTATE_COMPLETE The object has received all of its data.
Do Until WebBrowser.ReadyState = READYSTATE_COMPLETE
DoEvents
Loop
Thanks for your word.
-
Sep 28th, 2000, 11:55 AM
#4
Thread Starter
Lively Member
-
Sep 28th, 2000, 02:56 PM
#5
Thread Starter
Lively Member
-
Sep 28th, 2000, 03:27 PM
#6
Do I hear someone calling my name?
Try dimming it.
Dim WebBrowser As InternetExplorer
Of course, you must set the Webbrowser Control as a reference. (Click Project > References... and make sure Microsoft Internet Controls is checked.) And put the code above in the code above in the Form Declarations, than you can use it in any control. Hope you get what I mean.
-
Sep 28th, 2000, 06:57 PM
#7
Thread Starter
Lively Member
I did all of that already. I just need to be able to control an existing session of IE using program. Don't want to open another one. Want to use all inet functions to control the existing session. Comon GURUS! There has to be a way for late binding.
-
Sep 28th, 2000, 07:10 PM
#8
Does it have to be Gurus?
Do you mean, control an IE window that the user has opened manually, or one that you have opened from something like:
Code:
Dim ie as InternetExplorer
ie.Navigate "http://www.vb-world.net"
ie.Visible = True
'ie....
?
-
Sep 28th, 2000, 07:23 PM
#9
Thread Starter
Lively Member
That is what I mean! Is it do able? Thanks
control an IE window that the user has opened manually
-
Sep 28th, 2000, 09:03 PM
#10
_______
<?>
007
...my expertise lies in Fishing but I guess that doesn't
qualify under VB...I have not played with this side of things as I deal with only what I need at the moment. Ie.
database junk etc. However, this seems interesting enough for me to see if I can find an answer so I will have a look around to see if someone can direct me to an answer.
Just today, I got code to find the url in the open browser so if I can find it in the browser perhaps I can change it and send it as well...This will take some time and I may never get it, but I will give it a go.
Good luck,
Wayne
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Sep 28th, 2000, 09:10 PM
#11
Thread Starter
Lively Member
Thanks for your reply and I will be waiting.
-
Sep 28th, 2000, 11:53 PM
#12
Addicted Member
What type of fishing do you do HeSaidJoe? I do alot myself.
-
Sep 29th, 2000, 07:34 PM
#13
_______
<?>
Shark:
I like to fish Rainbow trout mostly, it's cold fishing but when you get action you get action. Like to use a 12 foot noodle with a float reel and my own tied flies...Only problem is I have to drive 2 to 2/1/2 hours to fish so that puts a damper on it. And with trout you have to be on the river at daybreak so that means leaving my place at 3:00 AM.
Oh well, it's cool...Right now the Salmon are running...lots of fight but it's mostly straight runs with very litle air dives.
But I'll fish anything, even Perch...whatever, it's fun and it's even better if you can eat the thing you catch.
Oh yea, this is a VB forum...
JamesBond007:
Hopefull, this is everything you need:
http://www.freevbcode.com/ShowCode.Asp?ID=1606"

[Edited by HeSaidJoe on 09-29-2000 at 08:39 PM]
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Sep 29th, 2000, 10:08 PM
#14
Thread Starter
Lively Member
Hesaidjoe, that was beautiful. Right-on!!! Good luck fishing with Shark.
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
|