Click here to Skip to main content
15,892,927 members
Home / Discussions / C#
   

C#

 
GeneralRe: sending xml Pin
Nick Parker24-Apr-04 7:30
protectorNick Parker24-Apr-04 7:30 
GeneralResourceManager Question Pin
hammackj23-Apr-04 19:16
hammackj23-Apr-04 19:16 
GeneralRe: ResourceManager Question Pin
Heath Stewart24-Apr-04 10:34
protectorHeath Stewart24-Apr-04 10:34 
GeneralRe: ResourceManager Question Pin
hammackj24-Apr-04 11:02
hammackj24-Apr-04 11:02 
GeneralRe: ResourceManager Question Pin
Heath Stewart25-Apr-04 4:14
protectorHeath Stewart25-Apr-04 4:14 
Generalchat program Pin
azhar_engineers23-Apr-04 19:00
azhar_engineers23-Apr-04 19:00 
GeneralRe: chat program Pin
Tomas Petricek24-Apr-04 5:10
Tomas Petricek24-Apr-04 5:10 
GeneralRe: chat program Pin
Heath Stewart24-Apr-04 10:28
protectorHeath Stewart24-Apr-04 10:28 
GeneralRe: chat program Pin
Tomas Petricek24-Apr-04 10:39
Tomas Petricek24-Apr-04 10:39 
GeneralRe: chat program Pin
Heath Stewart25-Apr-04 4:09
protectorHeath Stewart25-Apr-04 4:09 
QuestionHow to capture IE output of displaying an XML file? Pin
forgiven4u23-Apr-04 14:28
forgiven4u23-Apr-04 14:28 
AnswerRe: How to capture IE output of displaying an XML file? Pin
Heath Stewart23-Apr-04 16:07
protectorHeath Stewart23-Apr-04 16:07 
GeneralRe: How to capture IE output of displaying an XML file? Pin
forgiven4u24-Apr-04 14:59
forgiven4u24-Apr-04 14:59 
GeneralRe: How to capture IE output of displaying an XML file? Pin
Heath Stewart25-Apr-04 4:19
protectorHeath Stewart25-Apr-04 4:19 
GeneralRe: How to capture IE output of displaying an XML file? Pin
forgiven4u25-Apr-04 5:07
forgiven4u25-Apr-04 5:07 
Generaldynamically add/remove reference for a specific configuration Pin
Glaxo23-Apr-04 13:49
Glaxo23-Apr-04 13:49 
GeneralRe: dynamically add/remove reference for a specific configuration Pin
Daniel Turini23-Apr-04 14:21
Daniel Turini23-Apr-04 14:21 
GeneralRe: dynamically add/remove reference for a specific configuration Pin
leppie23-Apr-04 20:55
leppie23-Apr-04 20:55 
Questionclicking an anchor (link) with AxWebBrowser? Pin
synthmusic23-Apr-04 12:22
synthmusic23-Apr-04 12:22 
I'm trying to automate some web tasks using an AxWebBrowser in a C# application. The browser is working, and I can modify text box text, etc. The thing I can't figure out is how to "click" an anchor. This works:

IHTMLElement link = (IHTMLElement)doc2.links.item(i,0);
if ( link.innerHTML.Equals("Log Out") )
{
IHTMLAnchorElement a = (IHTMLAnchorElement)link;

object flags = 0;
object targetFrame = "";
object postData = "";;
object headers = "";
this.Cursor = Cursors.WaitCursor;
this.wbMint.Navigate(a.href, ref flags, ref targetFrame, ref postData, ref headers);
}

But what if there is onclick scripting in the Anchor? Tried casting it as (IHTMLLinkElement) as well, but don't see any way to "click".

Any ideas?Confused | :confused:

AnswerRe: clicking an anchor (link) with AxWebBrowser? Pin
Heath Stewart23-Apr-04 15:59
protectorHeath Stewart23-Apr-04 15:59 
GeneralRe: clicking an anchor (link) with AxWebBrowser? Pin
Anonymous26-Apr-04 8:58
Anonymous26-Apr-04 8:58 
GeneralRe: clicking an anchor (link) with AxWebBrowser? Pin
Heath Stewart26-Apr-04 9:24
protectorHeath Stewart26-Apr-04 9:24 
GeneralRe: clicking an anchor (link) with AxWebBrowser? Pin
Anonymous26-Apr-04 10:04
Anonymous26-Apr-04 10:04 
GeneralRe: clicking an anchor (link) with AxWebBrowser? Pin
Heath Stewart26-Apr-04 10:08
protectorHeath Stewart26-Apr-04 10:08 
GeneralCreating a database manager Pin
showboat202323-Apr-04 12:00
showboat202323-Apr-04 12:00 

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.