Click here to Skip to main content
16,006,065 members
Home / Discussions / C#
   

C#

 
GeneralThe O'Mally problem Pin
afronaut27-Dec-02 6:43
afronaut27-Dec-02 6:43 
GeneralRe: The O'Mally problem Pin
Nick Parker27-Dec-02 9:01
protectorNick Parker27-Dec-02 9:01 
GeneralRe: The O'Mally problem Pin
Philip Painter29-Dec-02 11:55
Philip Painter29-Dec-02 11:55 
GeneralWeb Page in the Web browser control loses focus Pin
kiranj27-Dec-02 6:25
kiranj27-Dec-02 6:25 
Generalgoing from vs.net to commandline Pin
grv57526-Dec-02 22:03
grv57526-Dec-02 22:03 
GeneralRe: going from vs.net to commandline Pin
Stephane Rodriguez.27-Dec-02 8:08
Stephane Rodriguez.27-Dec-02 8:08 
GeneralProgramatically displaying dropdown menus from toolbars Pin
Arun Bhalla26-Dec-02 16:08
Arun Bhalla26-Dec-02 16:08 
GeneralIE -Com problems Pin
Calamitous26-Dec-02 9:58
Calamitous26-Dec-02 9:58 
hi @ll!
I have the following problem....
I try to access the IE DOM as COM from C# -> no problem for first. Then I try to get a spezific element of the Document in the Internet Explorer (v6). For this I need to recurse through all frames. It works (its only a part of course, all the source would be too much Wink | ;) until "X.item(ref newIDoc);" I think (or I'm sure the error is caused because) in the msdn the ".item" is descripted as follows:
"HRESULT item(
VARIANT* pvarIndex,
VARIANT* pvarResult
);"
but I don't know how to do this in C#.

object newIDoc = new object();
newIDoc = I;
mshtml.IHTMLFramesCollection2 X;
X = iDoc.frames;
X.item(ref newIDoc); //-> error

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in xcwrapper.dll
Additional information: Mitglied nicht gefunden.

Anyone any Idea?
thx anyway
mfg Manuel


GeneralRe: IE -Com problems Pin
Stephane Rodriguez.26-Dec-02 10:32
Stephane Rodriguez.26-Dec-02 10:32 
GeneralRe: IE -Com problems Pin
Calamitous26-Dec-02 11:33
Calamitous26-Dec-02 11:33 
GeneralRe: IE -Com problems Pin
Stephane Rodriguez.26-Dec-02 20:35
Stephane Rodriguez.26-Dec-02 20:35 
QuestionStart ILDASM via code? Pin
Roger Alsing26-Dec-02 4:07
Roger Alsing26-Dec-02 4:07 
AnswerRe: Start ILDASM via code? Pin
Daniel Turini26-Dec-02 4:21
Daniel Turini26-Dec-02 4:21 
GeneralRe: Start ILDASM via code? Pin
Roger Alsing26-Dec-02 5:23
Roger Alsing26-Dec-02 5:23 
GeneralRe: Start ILDASM via code? Pin
Daniel Turini26-Dec-02 5:27
Daniel Turini26-Dec-02 5:27 
GeneralRe: Start ILDASM via code? Pin
David Stone26-Dec-02 11:00
sitebuilderDavid Stone26-Dec-02 11:00 
GeneralRe: Start ILDASM via code? Pin
Anonymous27-Dec-02 1:09
Anonymous27-Dec-02 1:09 
GeneralRe: Start ILDASM via code? Pin
David Stone27-Dec-02 10:34
sitebuilderDavid Stone27-Dec-02 10:34 
GeneralDataGrid row color Pin
Anonymous26-Dec-02 2:20
Anonymous26-Dec-02 2:20 
Generalinternet connection is up Pin
karanba26-Dec-02 2:13
karanba26-Dec-02 2:13 
GeneralRe: internet connection is up Pin
J. Schermerhorn26-Dec-02 10:55
J. Schermerhorn26-Dec-02 10:55 
GeneralRe: internet connection is up Pin
karanba27-Dec-02 0:46
karanba27-Dec-02 0:46 
GeneralRe: internet connection is up Pin
grv57527-Dec-02 2:31
grv57527-Dec-02 2:31 
GeneralRe: internet connection is up Pin
J. Schermerhorn27-Dec-02 2:37
J. Schermerhorn27-Dec-02 2:37 
GeneralRe: internet connection is up Pin
karanba27-Dec-02 7:44
karanba27-Dec-02 7:44 

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.