Click here to Skip to main content
15,887,361 members
Home / Discussions / C#
   

C#

 
AnswerRe: Convert a file to stream Pin
S. Senthil Kumar6-May-06 7:28
S. Senthil Kumar6-May-06 7:28 
Questiontree view represantation of string Pin
majid4u6-May-06 6:39
majid4u6-May-06 6:39 
AnswerRe: tree view represantation of string Pin
S. Senthil Kumar6-May-06 7:31
S. Senthil Kumar6-May-06 7:31 
Questionrepresentation of string in treeview Pin
majid4u6-May-06 6:06
majid4u6-May-06 6:06 
AnswerRe: representation of string in treeview Pin
Josh Smith6-May-06 6:18
Josh Smith6-May-06 6:18 
QuestionCheck box Databinding problems Pin
malikjhangirahmed@hotmail.com6-May-06 3:23
malikjhangirahmed@hotmail.com6-May-06 3:23 
QuestionHow to use IHTMLDocument2 with .NET 2.0 Webbrowser Pin
cweeks786816-May-06 3:20
cweeks786816-May-06 3:20 
AnswerRe: How to use IHTMLDocument2 with .NET 2.0 Webbrowser Pin
led mike6-May-06 6:40
led mike6-May-06 6:40 
cweeks78681 wrote:
I am trying to programmatically select an element (OPTION) in a web page listbox (SELECT) the way a user would with the left mouse button.


What does that have to do with setting designMode to ON? Confused | :confused:

Would you know how to do that in a javascript running in the HTML page? If not you should learn how to do that first because it is the same thing. The DOM in WebBrowser is the same DHTML DOM you use in javascript.

You want to get a reference to the DHTML listbox element and set it's .selectedIndex property to the desired index.





"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum

led mike
GeneralRe: How to use IHTMLDocument2 with .NET 2.0 Webbrowser Pin
cweeks786816-May-06 8:13
cweeks786816-May-06 8:13 
QuestionDynamic Events (C#)... Pin
Shy Agam6-May-06 2:34
Shy Agam6-May-06 2:34 
AnswerRe: Dynamic Events (C#)... Pin
mav.northwind6-May-06 3:38
mav.northwind6-May-06 3:38 
AnswerRe: Dynamic Events (C#)... Pin
Guffa6-May-06 3:40
Guffa6-May-06 3:40 
GeneralRe: Dynamic Events (C#)... Pin
Shy Agam6-May-06 4:00
Shy Agam6-May-06 4:00 
QuestionProperty that is an array, bound to a PropertyGrid Pin
-Dy6-May-06 2:31
-Dy6-May-06 2:31 
AnswerRe: Property that is an array, bound to a PropertyGrid Pin
Josh Smith6-May-06 6:13
Josh Smith6-May-06 6:13 
QuestionHow can I determine number of references to an object ? Pin
_awatts6-May-06 2:10
_awatts6-May-06 2:10 
AnswerRe: How can I determine number of references to an object ? Pin
S. Senthil Kumar6-May-06 7:34
S. Senthil Kumar6-May-06 7:34 
QuestionSelecting more than one file types in GetFiles method Pin
Rizwan Rathore6-May-06 0:49
Rizwan Rathore6-May-06 0:49 
AnswerRe: Selecting more than one file types in GetFiles method Pin
alexey N6-May-06 1:37
alexey N6-May-06 1:37 
GeneralRe: Selecting more than one file types in GetFiles method Pin
Rizwan Rathore6-May-06 2:03
Rizwan Rathore6-May-06 2:03 
GeneralRe: Selecting more than one file types in GetFiles method Pin
leppie6-May-06 3:25
leppie6-May-06 3:25 
Questionhow to create dataset programmativally ? Pin
hdv2126-May-06 0:24
hdv2126-May-06 0:24 
AnswerRe: how to create dataset programmativally ? Pin
Josh Smith6-May-06 6:26
Josh Smith6-May-06 6:26 
Questionusing API Pin
RimiAsh5-May-06 23:31
RimiAsh5-May-06 23:31 
AnswerRe: using API Pin
hdv2126-May-06 0:27
hdv2126-May-06 0:27 

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.