Click here to Skip to main content
15,886,518 members
Home / Discussions / C#
   

C#

 
QuestionComexception with addpicture Pin
Member 415407413-Aug-09 0:44
Member 415407413-Aug-09 0:44 
AnswerRe: Comexception with addpicture Pin
Luc Pattyn13-Aug-09 1:27
sitebuilderLuc Pattyn13-Aug-09 1:27 
GeneralRe: Comexception with addpicture Pin
Member 415407413-Aug-09 3:23
Member 415407413-Aug-09 3:23 
GeneralRe: Comexception with addpicture Pin
Luc Pattyn13-Aug-09 3:35
sitebuilderLuc Pattyn13-Aug-09 3:35 
GeneralRe: Comexception with addpicture Pin
Member 415407413-Aug-09 3:45
Member 415407413-Aug-09 3:45 
QuestionLoad Report Failed Pin
Milind Panchal13-Aug-09 0:07
Milind Panchal13-Aug-09 0:07 
AnswerRe: Load Report Failed Pin
Abhishek Sur13-Aug-09 2:41
professionalAbhishek Sur13-Aug-09 2:41 
QuestionGet Html Element Pin
Mohsen Esmailpour12-Aug-09 23:44
professionalMohsen Esmailpour12-Aug-09 23:44 
hi.
i have web page that contain a button. here is button's code:

<button type="submit" class="btn" style="width: 200; height: 22" onclick="setAction(method,'save');"><br />
            <img border="0" src="/evocher/html/image/blt_01.gif" width="13" height="11"<br />
                 align="absmiddle">Register</button>


i write this code to obtain button:
mshtml.HTMLDocument doc;
HTMLInputElement registerButton = (HTMLInputElement)doc.getElementsByTagName("button");


but it generate runtime error, Invalid TypeCasting.
how can obtain this button?
AnswerRe: Get Html Element Pin
0x3c012-Aug-09 23:50
0x3c012-Aug-09 23:50 
GeneralRe: Get Html Element Pin
kKamel12-Aug-09 23:51
kKamel12-Aug-09 23:51 
GeneralRe: Get Html Element Pin
0x3c012-Aug-09 23:56
0x3c012-Aug-09 23:56 
GeneralRe: Get Html Element Pin
kKamel13-Aug-09 0:14
kKamel13-Aug-09 0:14 
GeneralRe: Get Html Element Pin
Mohsen Esmailpour13-Aug-09 0:17
professionalMohsen Esmailpour13-Aug-09 0:17 
GeneralRe: Get Html Element Pin
0x3c013-Aug-09 0:31
0x3c013-Aug-09 0:31 
Question__doPostBack Event Pin
kKamel12-Aug-09 23:34
kKamel12-Aug-09 23:34 
AnswerRe: __doPostBack Event Pin
0x3c012-Aug-09 23:53
0x3c012-Aug-09 23:53 
QuestionHow to establish link between Textbox and Button using MVP architecture and C# Pin
Krishna Aditya12-Aug-09 23:22
Krishna Aditya12-Aug-09 23:22 
Questionwindows forms refresh, update??? Pin
dimo198212-Aug-09 23:05
dimo198212-Aug-09 23:05 
AnswerRe: windows forms refresh, update??? Pin
0x3c013-Aug-09 0:35
0x3c013-Aug-09 0:35 
GeneralRe: windows forms refresh, update??? Pin
dimo198213-Aug-09 0:55
dimo198213-Aug-09 0:55 
GeneralRe: windows forms refresh, update??? Pin
0x3c013-Aug-09 1:17
0x3c013-Aug-09 1:17 
GeneralRe: windows forms refresh, update??? Pin
dimo198213-Aug-09 1:28
dimo198213-Aug-09 1:28 
AnswerRe: windows forms refresh, update??? Pin
Luc Pattyn13-Aug-09 1:33
sitebuilderLuc Pattyn13-Aug-09 1:33 
QuestionHow to delay to open second instance of application Pin
himuskanhere12-Aug-09 22:31
himuskanhere12-Aug-09 22:31 
AnswerRe: How to delay to open second instance of application Pin
Rob Philpott12-Aug-09 22:42
Rob Philpott12-Aug-09 22:42 

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.