C# SendMessage to HTML document controls

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2007
Posts: 5
Reputation: reallm is an unknown quantity at this point 
Solved Threads: 0
reallm reallm is offline Offline
Newbie Poster

C# SendMessage to HTML document controls

 
0
  #1
Oct 13th, 2007
All hi,

Is it possible to send messages (SENDMESSAGE/PostMessage...) to HTML controls such as Input Type Text or lists? I am able to get/set the url,title but I can't get to the document. Can it be done? Would you show me how?

Your help would be appreciated.
reallm,
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: C# SendMessage to HTML document controls

 
0
  #2
Oct 13th, 2007
do you mean to assign html script to i.e. richtextbox on a web page from another web page
or sending html email to email address?
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 5
Reputation: reallm is an unknown quantity at this point 
Solved Threads: 0
reallm reallm is offline Offline
Newbie Poster

Re: C# SendMessage to HTML document controls

 
0
  #3
Oct 15th, 2007
Thanks for your response.
You know how you use "SendMessage" to send a particular message to an APP. Do you know if there away to "SendMessage" to a web page controls? like to a textbox or to a list? or to a button?
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: C# SendMessage to HTML document controls

 
0
  #4
Oct 15th, 2007
yes you can, in http request put your parameters like
  1. <a rel="nofollow" class="t" href="http://xyz.com?name=ramy" target="_blank">http://xyz.com?name=ramy</a>
in the page being requested and that has the control
  1. textbox1.Text = Request["name"];
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 5
Reputation: reallm is an unknown quantity at this point 
Solved Threads: 0
reallm reallm is offline Offline
Newbie Poster

Re: C# SendMessage to HTML document controls

 
0
  #5
Oct 15th, 2007
Thanks, but not cigar.

I wrote an application that reads and sends information from one application to another application.
Now I would like to have this application send information to a IE window too, any IE window.
I want to read information from it and write to it from the application, just like a user would.

Thanks for your replay.

HELP!!!
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,580
Reputation: Infarction has a spectacular aura about Infarction has a spectacular aura about Infarction has a spectacular aura about 
Solved Threads: 52
Infarction's Avatar
Infarction Infarction is offline Offline
Battle Programmer

Re: C# SendMessage to HTML document controls

 
0
  #6
Oct 18th, 2007
Interacting with IE through another app requires that you control it through a provided API. For most Microsoft products (e.g. IE), they support Microsft Active Accessibilty (MSAA) (and here is another link). I don't know how well it supports manipulating HTML controls inside of the browser though. I think it might be possible through an IHTMLDocument but I honestly don't know how to get or use one.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 1
Reputation: Crisboot is an unknown quantity at this point 
Solved Threads: 0
Crisboot Crisboot is offline Offline
Newbie Poster

Re: C# SendMessage to HTML document controls

 
0
  #7
Dec 26th, 2008
I know what are you asking i am looking for an spy++ code for infragistics controls like web controls, certanly i want to make a gui map like Ranorex Spy++, i don't know how but they did it... you know "i have to know", you can use ranorex an c# but that's not enought for me, i want to program it...

if you know something let me know

Bytes
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC