Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Watching Internet Explorer Windows?

Status
Not open for further replies.

Zacko

Technical User
Joined
Jan 22, 2005
Messages
7
Location
GB
Hi Everyone, I'm new to the group and been programming in VB6 so a few weeks now and have a question :-

I have the Routine below, so that when a button is clicked, X amount of Internet Explorer Windows opens.
------------------------------------------------------

Private Sub Command1_Click(Index As Integer)
For x = 1 To Text1
IE(x) = Shell("C:\PROGRAM FILES\INTERNET EXPLORER\iexplore.EXE", 1)
Next x

End If
End Sub
-------------------------------------------------------
So if you type 5 into Text1 field, 5 IE windows Opens. Now I can switch between these windows using the :-
AppActivate IE(x)

The bit I'm struggling with is interacting with these windows. I'm not asking for someone to write the routine but would like to be pointed in the right direction to do the following :-

When 1 of these windows is clicked, it obviousley brings up a new page. How do I tell VB to look for certain information on that new page, and if found, load a new page in that same window? Someone mentioned I need to get into the World of Windows API's to do this, so just some general pointers in the right direction would be appreciated.

Thanks

Zacko
 
For a listing of API functions, with their uses and some VB code examples, try:

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

For tsunami relief donations

'If we're supposed to work in Hex, why have we only got A fingers?'

for steam enthusiasts
 
Many Thanks for the reply, and I have taken note of the F.A.Q

Before I start looking into Windows API's, is this the way I want to go to solve my problem?

Thanks

Zacko
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top