Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages
Internet Explorer and Windows Messages Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
Go Back  Xtreme Visual Basic Talk > > > Internet Explorer and Windows Messages


Reply
 
Thread Tools Display Modes
  #1  
Old 06-25-2008, 03:21 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default Internet Explorer and Windows Messages


Anyone know what Window Message to send to internet explorer to get it to Navagate from its current window to another one, Not opening up another TAB or 2nd Window?
Reply With Quote
  #2  
Old 06-25-2008, 06:42 PM
jo0lsInternet Explorer and Windows Messages jo0ls is offline
Senior Contributor

Forum Leader
* Expert *
 
Join Date: Feb 2005
Location: London
Posts: 1,050
Default

If you add a reference to the com component "microsoft internet controls 1.1", then you can create an InternetExplorer object, set its visible and then call navigate.

Code:
Option Strict On
Option Explicit On

Imports SHDocVw

Public Class Form1

    Private WithEvents t As New Timer
    Private internetExplorer As New InternetExplorer
    Private index As Integer
    Private sites() As String = New String() _
    {"http://www.xtremevbtalk.com/showthread.php?p=1293964#post1293964", _
     "news.bbc.co.uk", "www.google.com"}

    Sub New()
        InitializeComponent()
        internetExplorer.Visible = True
        t.Interval = 10000
        t.Start()
        NavigateToNext()
    End Sub

    Private Sub Form1_FormClosed(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
        Try
            internetExplorer.Quit()
        Catch ex As Exception
            ' nothing, it was already quit.
        End Try
    End Sub

    Private Sub t_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles t.Tick
        NavigateToNext()
    End Sub

    Private Sub NavigateToNext()
        internetExplorer.Navigate(sites(index))
        index = (index + 1) Mod sites.Length
    End Sub

End Class
Reply With Quote
  #3  
Old 06-26-2008, 09:48 AM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

Quote:
Anyone know what Window Message to send to internet explorer to get it to Navagate from its current window to another one, Not opening up another TAB or 2nd Window?
Im trying to do this is to send Window Messages to Internet Explorer Browser or to a COM browser to navagate in General! Not make one... Thanks thought for your time.
Reply With Quote
  #4  
Old 06-26-2008, 11:10 AM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

Looks like it has something to do with Shell DocObject View, Any Ideas?
Reply With Quote
  #5  
Old 06-26-2008, 11:47 AM
jo0lsInternet Explorer and Windows Messages jo0ls is offline
Senior Contributor

Forum Leader
* Expert *
 
Join Date: Feb 2005
Location: London
Posts: 1,050
Default

You could modify the code I posted earlier so that it instead uses an already running browswer:

' This collection contains all open internet explorers:
Dim shellWindows As New ShellWindows
' This gets the first of them:
internetExplorer = DirectCast(shellWindows.Item(0), InternetExplorer)

Do you have to find a particular browser window?
Reply With Quote
  #6  
Old 06-26-2008, 12:23 PM
AtmaWeapon's Avatar
AtmaWeaponInternet Explorer and Windows Messages AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

Basically your easiest route is going to be to listen to jo0ls. It's admirable that you understand that windows respond to window messages, but it's very, very unlikely that there's a specific message you can send to an IE window to make it navigate somewhere; every iteration of the WebBrowser control I've seen uses a method, not a message, to do this.

I'm fairly certain IE works the way every VB web browser has to work: the address bar is some kind of text control, when the user presses Enter in this text control, the WndProc for the text control's class gets a reference to the IE page display control and uses that reference to call some Navigate method. You could probably simulate this by using messages to set the text of the particular text control, then simulating an Enter key press. This is a ham-fisted and brittle approach to the problem. Can you guarantee the window class of that text control is the same across all IE versions? Can you guarantee its name is the same? Can you guarantee it supports the same methods and messages as the documented text control? Since the answer to all of these questions is, "No, you can't," the only sane approach is to use the IE COM interfaces to work with the browser window. I have no experience with this, but jo0ls seems to have more than enough knowledge to help.

Seriously, put the hammer down and use a screwdriver to drive a screw.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
  #7  
Old 06-26-2008, 12:40 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

It gets even better heres a Reference for what you can do with window Messages to the Control even if it dosent belong to your Application

Command IDs handled by the "Internet Explorer_Server" window:

#define ID_IE_CONTEXTMENU_ADDFAV 2261
#define ID_IE_CONTEXTMENU_VIEWSOURCE 2139
#define ID_IE_CONTEXTMENU_REFRESH 6042
Command IDs handled by the "Shell DocObject View" window:

#define ID_IE_FILE_SAVEAS 258
#define ID_IE_FILE_PAGESETUP 259
#define ID_IE_FILE_PRINT 260
#define ID_IE_FILE_NEWWINDOW 275
#define ID_IE_FILE_PRINTPREVIEW 277
#define ID_IE_FILE_NEWMAIL 279
#define ID_IE_FILE_SENDDESKTOPSHORTCUT 284
#define ID_IE_HELP_ABOUTIE 336
#define ID_IE_HELP_HELPINDEX 337
#define ID_IE_HELP_WEBTUTORIAL 338
#define ID_IE_HELP_FREESTUFF 341
#define ID_IE_HELP_PRODUCTUPDATE 342
#define ID_IE_HELP_FAQ 343
#define ID_IE_HELP_ONLINESUPPORT 344
#define ID_IE_HELP_FEEDBACK 345
#define ID_IE_HELP_BESTPAGE 346
#define ID_IE_HELP_SEARCHWEB 347
#define ID_IE_HELP_MSHOME 348
#define ID_IE_HELP_VISITINTERNET 349
#define ID_IE_HELP_STARTPAGE 350
#define ID_IE_FILE_IMPORTEXPORT 374
#define ID_IE_FILE_ADDTRUST 376
#define ID_IE_FILE_ADDLOCAL 377
#define ID_IE_FILE_NEWPUBLISHINFO 387
#define ID_IE_FILE_NEWCORRESPONDENT 390
#define ID_IE_FILE_NEWCALL 395
#define ID_IE_HELP_NETSCAPEUSER 351
#define ID_IE_HELP_ENHANCEDSECURITY 375


I can use ID_IE_FILE_NEWWINDOW to Spawn a New window in any browser that uses the normal COM internet control,

Reference this for more of an idea

http://www.codeguru.com/Cpp/I-N/inte...cle.php/c8163/

*Picks Up The Hammer Again*
Reply With Quote
  #8  
Old 06-26-2008, 01:51 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

Quote:
Originally Posted by AtmaWeapon View Post
Basically your easiest route is going to be to listen to jo0ls. It's admirable that you understand that windows respond to window messages, but it's very, very unlikely that there's a specific message you can send to an IE window to make it navigate somewhere; every iteration of the WebBrowser control I've seen uses a method, not a message, to do this.

I'm fairly certain IE works the way every VB web browser has to work: the address bar is some kind of text control, when the user presses Enter in this text control, the WndProc for the text control's class gets a reference to the IE page display control and uses that reference to call some Navigate method. You could probably simulate this by using messages to set the text of the particular text control, then simulating an Enter key press. This is a ham-fisted and brittle approach to the problem. Can you guarantee the window class of that text control is the same across all IE versions? Can you guarantee its name is the same? Can you guarantee it supports the same methods and messages as the documented text control? Since the answer to all of these questions is, "No, you can't," the only sane approach is to use the IE COM interfaces to work with the browser window. I have no experience with this, but jo0ls seems to have more than enough knowledge to help.

Seriously, put the hammer down and use a screwdriver to drive a screw.
This is something I wrote for you my little Guru Ginny Pig =)

Code:
Private Declare Function FindWindowHandle Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr
    Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As IntPtr, ByVal hWnd2 As Integer, ByVal lpsz1 As String, ByVal lpsz2 As String) As IntPtr
    Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer
    Declare Function SetParent Lib "user23" (ByVal child As Integer, ByVal Parent As Integer) As Integer
    Const ID_IE_FILE_NEWWINDOW = 275
    Const WM_COMMAND = &H111

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim IEHwnd As Integer
        Dim IEChildHwnd As Integer
        Dim IEDocObjView As Integer
        Dim IES As Integer
        IEHwnd = FindWindowHandle(Nothing, "Blank Page - Windows Internet Explorer")
        IEChildHwnd = FindWindowEx(IEHwnd, 0&, vbNullString, "Blank Page - Windows Internet Explorer")
        IEDocObjView = FindWindowEx(IEChildHwnd, 0&, "Shell DocObject View", vbNullString)
        IES = FindWindowEx(IEDocObjView, 0&, "Internet Explorer_Server", vbNullString)
        MsgBox(IES)
        SendMessage(IEDocObjView, WM_COMMAND, ID_IE_FILE_NEWWINDOW, 0)
Im getting so close I can almost taste it *Leans Twards the Screen*
Reply With Quote
  #9  
Old 06-26-2008, 02:01 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

Check out CONST 348 it gets the OBJ to navigate away from the curent page Stricty though window messasges, I think I got a bite...

Last edited by AgentSmithers; 06-26-2008 at 04:45 PM.
Reply With Quote
  #10  
Old 06-26-2008, 03:14 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

I got it =D I found the Answer =) Thanks!
Reply With Quote
  #11  
Old 06-26-2008, 04:18 PM
darkforcesjedi's Avatar
darkforcesjediInternet Explorer and Windows Messages darkforcesjedi is offline
Trust me, I'm an

* Expert *
 
Join Date: Apr 2001
Location: In ur base, pwnin d00dz
Posts: 1,964
Default

I wouldn't really call it an "answer" as it's a dirty solution that only works in a contrived situation.

You're not inserting a screw with a hammer here... you're trying to golf with a hammer.
__________________
To err is human; to debug, divine.
Reply With Quote
  #12  
Old 06-26-2008, 04:47 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

Well Its Exectly what i needed though Its Clean and and works 100% of the time even with IE7 and any Browser App, How is that Golfing with a Hammer?
Reply With Quote
  #13  
Old 06-27-2008, 09:18 AM
AtmaWeapon's Avatar
AtmaWeaponInternet Explorer and Windows Messages AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

I'll make one more comment to try and explain. If you can't see the difference, then it's better that you keep doing these things so your replacement gets there faster.

The analogy I made is related to the phrase, "When you have a hammer, everything looks like a nail." It is a warning against a few dangerous behaviors that are not unique to programming.

The first is the tendency to approach a problem starting with the solution, then when the solution doesn't seem to fit you try to find a way to make it fit. It's as if you need to fasten two pieces of wood, and you know you can use a hammer to do so. You find a hammer, then look for nails, but you can't find them: only screws. Then, you decide that a screw is like a nail so you simply use the hammer to pound the screw through the wood. The result is a shaky join that is weaker than if you had used a nail or switched to a screwdriver to drive the screw.

The analogy fits in this scenario. You wanted to make Internet Explorer navigate to another page (you need to join two pieces of wood). You knew that a lot of applications respond to Windows messages, so you decided this was the only acceptable solution (Hammers join wood, who cares if you've got no nails?). At this point, two people pointed out that Microsoft has created a public COM Automation interface for IE that is the correct approach to controlling IE (someone else pointed out that screwdrivers are the correct tool to drive screws). You told them to buzz off, you were going to show them that using messages was possible ("Screwdriver my foot! I can use a hammer just as fine, watch me!)

At this point, you decided to call me a name, "Guru Ginny Pig", which demonstrated not only your immaturity but the fact that you can't make it through a sentence without misspelling a word. I took quite a bit of offense to your condescending tone; I was trying to help you by pointing out you were digging a hole so you responded by suggesting I don't know what I'm talking about? That sure motivates me to be helpful to you in the future! At least run your posts through a spell checker and Learn That Capital Letters Only Belong In Special Places if you're going to attempt to insult people.

Anyway, you succeeded in demonstrating that you can use undocumented messages to control IE, but failed to answer any of the questions I asked in post #6. You are using an undocumented feature of IE. The "reference" you found was on codeguru, which means someone else took the time to document it; that's not official MS documentation. This means that it's not guaranteed to exist in all versions of IE, it's not guaranteed to work on all versions of Windows, and at any time MS can change the constants or remove them entirely. (The hammered screw does not join wood well.)

On the other hand, you could use the public COM interface for automating IE (use a screwdriver). It's a public interface, so MS cannot change it without first deprecating it, giving you practically years of warning before it changes. Which features work in which version of IE is well documented, so you won't be surprised if you encounter a browser that doesn't support your feature. This was the suggested approach because it's safer, and not much more effort (if any) than spending hours researching undocumented interfaces and their usage.

That's all I have to say about it. You either see that it's a bad idea with a better alternative or you don't; it doesn't bother me whichever one you choose. It did bother me that you used namecalling, and it does bother me that in the face of two people telling you, "That's a bad idea, you should do this instead" your response was to cheerfully state that if it works it must be right. There's tons of things that work in programming that require either stupidity or malice to truly believe they are right.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
  #14  
Old 06-27-2008, 10:05 AM
darkforcesjedi's Avatar
darkforcesjediInternet Explorer and Windows Messages darkforcesjedi is offline
Trust me, I'm an

* Expert *
 
Join Date: Apr 2001
Location: In ur base, pwnin d00dz
Posts: 1,964
Default

Quote:
Originally Posted by AgentSmithers View Post
Well Its Exectly what i needed though Its Clean and and works 100% of the time even with IE7 and any Browser App, How is that Golfing with a Hammer?
Quote:
Anyone know what Window Message to send to internet explorer to get it to Navagate from its current window to another one, Not opening up another TAB or 2nd Window?
Your code works 0% of the time on both of the systems I used for test. Finding the IE browser by an alternate route and sending the same message on my system appears ineffectual as well. The code does not meet the requirements you posted as it requires a new blank window to be opened by either the user or code.

You clearly aren't interested in practical guidance at this point, so any further argument is moot.
__________________
To err is human; to debug, divine.
Reply With Quote
  #15  
Old 06-27-2008, 11:47 AM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

Oh no no, The code I posted is just a POC hehe Duh that you gotta be navigated to about:blank I see what you guys mean now. My code uses FindWindowA with Classes and GetMousePos, I dident wanna post my finishing results cuz it can Easly be used to Hijack Kiosk Browsers, Which is bad =D.


*Just finished reading the Post* The reason why I had to do with with Windows Messages was because I had no other way of taking control of a COM object out of my project. and the Ginny Pig this wasent an Insult the way it seem you've taken it, If I gave you An application that had a Browser COM control how would you go apon getting it to browse away from the default static page? well you can basicly Open it up in ASM or DLL Injection, or perhaps something as Simple of sending Windows Messages, I saw that being the easyest route. Ive been on this forum for i thinking turning close to 3 1/2 years now and Im not here to flame Ive learned alot here, But if you had another Answer I would of been happy to receive it, But I was not giving an Alternive but, "Your Doing it wrong"? I had no other choice to do what I did and My POC works on IE 5.0 to 7.5+ and including the Project I was working on. Here is some of the code I used for learning experence

Code:
Public Class Form1
    Private Declare Function FindWindowHandle Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr
    Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As IntPtr, ByVal hWnd2 As Integer, ByVal lpsz1 As String, ByVal lpsz2 As String) As IntPtr
    Private Declare Function FindWindowExA Lib "user32" (ByVal hWnd1 As IntPtr, ByVal hWnd2 As IntPtr, ByVal lpsz1 As String, ByVal lpsz2 As String) As IntPtr
    Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer
    Declare Function SetParent Lib "user23" (ByVal child As Integer, ByVal Parent As Integer) As Integer
    Const ID_IE_FILE_NEWWINDOW = 275
    Const WM_COMMAND = &H111
    Const ID_IE_CONTEXTMENU_REFRESH = 6042
    Const ID_IE_FILE_NEWCALL = 395

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim IEHwnd As Integer
        Dim IEChildHwnd As Integer
        Dim IEDocObjView As Integer
        Dim IES As Integer
        IEHwnd = FindWindowHandle(Nothing, "Blank Page - Windows Internet Explorer")
        If IEHwnd = 0 Then
            IEHwnd = FindWindowHandle(Nothing, "Google - Windows Internet Explorer")
        End If
        IEChildHwnd = FindWindowEx(IEHwnd, 0&, vbNullString, "Blank Page - Windows Internet Explorer")
        If IEChildHwnd = 0 Then
            IEChildHwnd = FindWindowEx(IEHwnd, 0&, vbNullString, "Google - Windows Internet Explorer")
        End If
        IEDocObjView = FindWindowEx(IEChildHwnd, 0&, "Shell DocObject View", vbNullString)
        IES = FindWindowEx(IEDocObjView, 0&, "Internet Explorer_Server", vbNullString)
        If IES = 0 Then MsgBox("Not Found")
        For i = 261 To 274 '100 To 150
            SendMessage(IEDocObjView, WM_COMMAND, i, 0)
            Debug.WriteLine(i)
        Next
        'SendMessage(IEDocObjView, WM_COMMAND, 346, 0)
    End Sub

    Sub HiJackBrowserCom()
        Dim IEHwnd As Integer
        Dim IEShellEmbedding As Integer
        Dim IEDocObjView As Integer
        IEHwnd = FindWindowHandle(Nothing, StrIeTitle)
        If IEHwnd = 0 Then
            MsgBox("Could Not Find IEApp")
        End If
        IEShellEmbedding = FindWindowEx(IEHwnd, 0&, "Shell Embedding", vbNullString)
        IEDocObjView = FindWindowEx(IEShellEmbedding, 0&, "Shell DocObject View", vbNullString)
        SendMessage(IEDocObjView, WM_COMMAND, 350, 0)
    End Sub
End Class
Now I know this is old coe and is very much not Felexable but here is a POC that you can verry much take control of a Browser Object even though its not a Child in your Parents Form.

Now command 350 Redirects to homepage where you can have the Program Insert a string into the Registry call the command on the COM object then swap the string back to the original.

I came here for just advice not here to cause trouble and the only reason why i did that is beucase I have to way two weeks for the guy who made the app in the 1st blank to write it to be more Flexable for myself but this was a quick get around to the issue, Thanks for the help I got what I needed, I appogise for the trouble.

PS i know my spelling sucks =P Dont rub it in

Last edited by AgentSmithers; 06-27-2008 at 12:03 PM.
Reply With Quote
  #16  
Old 06-27-2008, 12:11 PM
darkforcesjedi's Avatar
darkforcesjediInternet Explorer and Windows Messages darkforcesjedi is offline
Trust me, I'm an

* Expert *
 
Join Date: Apr 2001
Location: In ur base, pwnin d00dz
Posts: 1,964
Default

Quote:
Duh that you gotta be navigated to about:blank I see what you guys mean now
No you clearly don't.
__________________
To err is human; to debug, divine.
Reply With Quote
  #17  
Old 06-27-2008, 12:38 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

Well what would you have done?
Reply With Quote
  #18  
Old 06-27-2008, 12:42 PM
AtmaWeapon's Avatar
AtmaWeaponInternet Explorer and Windows Messages AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

I'm thinking I'd probably do something similar to what jo0ls did in post #2, with the modification he made in post #5, and from the side he's taking I'm thinking so would darkforcesjedi.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
  #19  
Old 06-27-2008, 02:59 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

Quote:
Originally Posted by jo0ls View Post
If you add a reference to the com component "microsoft internet controls 1.1", then you can create an InternetExplorer object, set its visible and then call navigate.

Code:
Option Strict On
Option Explicit On

Imports SHDocVw

Public Class Form1

    Private WithEvents t As New Timer
    Private internetExplorer As New InternetExplorer
    Private index As Integer
    Private sites() As String = New String() _
    {"http://www.xtremevbtalk.com/showthread.php?p=1293964#post1293964", _
     "news.bbc.co.uk", "www.google.com"}

    Sub New()
        InitializeComponent()
        internetExplorer.Visible = True
        t.Interval = 10000
        t.Start()
        NavigateToNext()
    End Sub

    Private Sub Form1_FormClosed(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
        Try
            internetExplorer.Quit()
        Catch ex As Exception
            ' nothing, it was already quit.
        End Try
    End Sub

    Private Sub t_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles t.Tick
        NavigateToNext()
    End Sub

    Private Sub NavigateToNext()
        internetExplorer.Navigate(sites(index))
        index = (index + 1) Mod sites.Length
    End Sub

End Class
He was mislead Im was not trying to build a form with a web browser.... Period... I was trying to take over a browser on another Application... Building a Form with a Browser was not close to the Soultion at all but I thank him for at least giving me a responce..
Reply With Quote
  #20  
Old 06-27-2008, 04:08 PM
AtmaWeapon's Avatar
AtmaWeaponInternet Explorer and Windows Messages AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

You're not paying attention to what his code does, or possibly I misunderstand it. His code uses the IE COM automation model to work with an IE instance. If he were building a form with an embedded web browser, he'd be using either the WebBrowser control or the older AxWebBrowser.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
Internet Explorer and Windows Messages Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
 
Internet Explorer and Windows Messages
Internet Explorer and Windows Messages
 
-->