Click here to Skip to main content
15,925,528 members
Home / Discussions / C#
   

C#

 
GeneralRe: Long arithmetic Pin
Dave Kreskowiak29-Mar-04 2:08
mveDave Kreskowiak29-Mar-04 2:08 
GeneralRe: Long arithmetic Pin
Lego Bragis29-Mar-04 7:35
Lego Bragis29-Mar-04 7:35 
GeneralRe: Long arithmetic Pin
Dave Kreskowiak29-Mar-04 7:48
mveDave Kreskowiak29-Mar-04 7:48 
GeneralRe: Long arithmetic Pin
Lego Bragis29-Mar-04 8:08
Lego Bragis29-Mar-04 8:08 
GeneralRe: Long arithmetic Pin
Spanky329-Mar-04 3:03
Spanky329-Mar-04 3:03 
GeneralIE DOM in C# Pin
Lego Bragis29-Mar-04 0:34
Lego Bragis29-Mar-04 0:34 
GeneralRe: IE DOM in C# Pin
Dave Kreskowiak29-Mar-04 2:11
mveDave Kreskowiak29-Mar-04 2:11 
GeneralRe: IE DOM in C# Pin
Heath Stewart29-Mar-04 4:20
protectorHeath Stewart29-Mar-04 4:20 
What Dave said will only add the AxWebBrowser control, which is defined in the AxInterop.SHDocVw.dll assembly. Additionally, a Interop.SHDocVw.dll assembly is created that contains the delegates and interfaces needed to interface with it. If you want to actually traverse and interface with the DOM, you need to add a reference to the Microsoft.mshtml.dll assembly (probably in your GAC, but should be on your system when you install VS.NET et. al.).

Then, to get an instance of the IHTMLDocument2 interface, cast axWebBrowser1.Document to IHTMLDocument2. In .NET, casting COM-defined interfaces is the same as QI'ing (QueryInterface) for them like you would in COM. If you get a null reference, it means the interface is not supported.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: IE DOM in C# Pin
Dave Kreskowiak30-Mar-04 1:49
mveDave Kreskowiak30-Mar-04 1:49 
QuestionHow to change URL of a WebService? Pin
User-37793628-Mar-04 23:44
User-37793628-Mar-04 23:44 
AnswerRe: How to change URL of a WebService? Pin
jillellamudi29-Mar-04 0:23
jillellamudi29-Mar-04 0:23 
AnswerRe: How to change URL of a WebService? Pin
Heath Stewart29-Mar-04 4:08
protectorHeath Stewart29-Mar-04 4:08 
GeneralRe: How to change URL of a WebService? Pin
User-37793630-Mar-04 4:42
User-37793630-Mar-04 4:42 
Generalopen DataReader associated with this Connection which must be closed first Pin
dabuskol28-Mar-04 23:09
dabuskol28-Mar-04 23:09 
GeneralRe: open DataReader associated with this Connection which must be closed first Pin
Colin Angus Mackay28-Mar-04 23:44
Colin Angus Mackay28-Mar-04 23:44 
GeneralRe: open DataReader associated with this Connection which must be closed first Pin
dabuskol29-Mar-04 1:35
dabuskol29-Mar-04 1:35 
GeneralRe: open DataReader associated with this Connection which must be closed first Pin
Colin Angus Mackay29-Mar-04 2:00
Colin Angus Mackay29-Mar-04 2:00 
GeneralBorderless CheckBox control Pin
Andy H28-Mar-04 22:16
Andy H28-Mar-04 22:16 
GeneralRe: Borderless CheckBox control Pin
jillellamudi29-Mar-04 1:00
jillellamudi29-Mar-04 1:00 
GeneralNumeric Pin
quocbao28-Mar-04 21:57
quocbao28-Mar-04 21:57 
GeneralRe: Numeric Pin
Colin Angus Mackay28-Mar-04 22:16
Colin Angus Mackay28-Mar-04 22:16 
GeneralRe: Numeric Pin
bertcox28-Mar-04 22:45
bertcox28-Mar-04 22:45 
GeneralRe: Validating data during row changes Pin
Mazdak28-Mar-04 21:52
Mazdak28-Mar-04 21:52 
Generalhooking keyboard and mouse messages Pin
Saleh Alshadheli28-Mar-04 21:46
Saleh Alshadheli28-Mar-04 21:46 
GeneralRe: hooking keyboard and mouse messages Pin
Mazdak28-Mar-04 21:50
Mazdak28-Mar-04 21:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.