Click here to Skip to main content
15,917,793 members
Home / Discussions / C#
   

C#

 
GeneralRemoting - re-establishing the connection Pin
Judah Gabriel Himango20-Jul-05 4:31
sponsorJudah Gabriel Himango20-Jul-05 4:31 
GeneralRe: Remoting - re-establishing the connection Pin
Tom Larsen20-Jul-05 9:33
Tom Larsen20-Jul-05 9:33 
Generalcustom events Pin
rathishps20-Jul-05 4:02
rathishps20-Jul-05 4:02 
GeneralRe: custom events Pin
Judah Gabriel Himango20-Jul-05 4:22
sponsorJudah Gabriel Himango20-Jul-05 4:22 
GeneralHandling single pixels Pin
Yoyosh20-Jul-05 3:54
Yoyosh20-Jul-05 3:54 
GeneralRe: Handling single pixels Pin
Judah Gabriel Himango20-Jul-05 4:25
sponsorJudah Gabriel Himango20-Jul-05 4:25 
GeneralAccessing Remote Server File Pin
domyansumit20-Jul-05 3:52
domyansumit20-Jul-05 3:52 
Generalframe probrem in AxWebBrowser Pin
Anonymous20-Jul-05 1:18
Anonymous20-Jul-05 1:18 
How to control html page containing frame object by AxWebBrowser?
I wrote the code as following.

-----
HTMLDocument doc = (HTMLDocument)this.WebBrowser.Document;
object index = 1;
IHTMLWindow2 window = (IHTMLWindow2)doc.frames.item(ref index);
doc = (HTMLDocument)window.document;
-----

The error message was like this (I'm sorry for Japanese):

-----
'System.InvalidCastException' のハンドルされていない例外が mscorlib.dll で発生しました。

追加情報: インターフェイスがサポートされていません
-----

I tried translate above message.

-----
non-handled exception 'System.InvalidCastException' was occurred in mscorlib.dll.

additional information: interface is not supported
-----

the same problem occurred when I tried this code

-----
HTMLDocument doc = (HTMLDocument);
MessageBox.Show(doc.frames.length.ToString());
-----

So, what is the problem?
Please help me ...
GeneralRe: frame probrem in AxWebBrowser Pin
Judah Gabriel Himango20-Jul-05 4:27
sponsorJudah Gabriel Himango20-Jul-05 4:27 
GeneralRe: frame probrem in AxWebBrowser Pin
Anonymous20-Jul-05 4:58
Anonymous20-Jul-05 4:58 
GeneralRe: frame probrem in AxWebBrowser Pin
Judah Gabriel Himango20-Jul-05 5:18
sponsorJudah Gabriel Himango20-Jul-05 5:18 
GeneralRe: frame probrem in AxWebBrowser Pin
Anonymous20-Jul-05 5:37
Anonymous20-Jul-05 5:37 
Generalaccess remote ftp folder using shell extension Pin
Asif Rehman20-Jul-05 1:08
Asif Rehman20-Jul-05 1:08 
GeneralCrystal Report(Urgent) Pin
alok_2k320-Jul-05 1:07
alok_2k320-Jul-05 1:07 
GeneralRe: Crystal Report(Urgent) Pin
V.20-Jul-05 3:28
professionalV.20-Jul-05 3:28 
GeneralRe: Crystal Report(Urgent) Pin
harbanone27-Jul-05 16:59
harbanone27-Jul-05 16:59 
GeneralDataGridView Control Pin
rrema20-Jul-05 0:30
rrema20-Jul-05 0:30 
GeneralRe: DataGridView Control Pin
Asif Rehman20-Jul-05 1:03
Asif Rehman20-Jul-05 1:03 
QuestionHow to do this?? Pin
amrutajoshi20-Jul-05 0:10
amrutajoshi20-Jul-05 0:10 
AnswerRe: How to do this?? Pin
Alomgir Miah20-Jul-05 3:29
Alomgir Miah20-Jul-05 3:29 
Generalc# SMS project Pin
Member 183508320-Jul-05 0:02
Member 183508320-Jul-05 0:02 
GeneralHelp me! Pin
hoale19-Jul-05 23:32
hoale19-Jul-05 23:32 
GeneralHelp me! Pin
hoale19-Jul-05 23:30
hoale19-Jul-05 23:30 
GeneralRe: Help me! Pin
DavidNohejl20-Jul-05 3:40
DavidNohejl20-Jul-05 3:40 
GeneralRe: Help me! Pin
hoale20-Jul-05 22:39
hoale20-Jul-05 22:39 

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.