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

C#

 
GeneralRe: problem with threading Pin
Shy Agam7-May-06 0:54
Shy Agam7-May-06 0:54 
GeneralRe: problem with threading Pin
Tahsin Sayeeda7-May-06 8:49
Tahsin Sayeeda7-May-06 8:49 
GeneralRe: problem with threading Pin
S. Senthil Kumar7-May-06 2:45
S. Senthil Kumar7-May-06 2:45 
GeneralRe: problem with threading Pin
Tahsin Sayeeda7-May-06 8:33
Tahsin Sayeeda7-May-06 8:33 
GeneralRe: problem with threading Pin
Guffa7-May-06 5:35
Guffa7-May-06 5:35 
AnswerRe: problem with threading Pin
stbaker9-May-06 4:12
stbaker9-May-06 4:12 
QuestionPorting web navigator from VB6 to VS2005 C# Pin
cweeks786816-May-06 14:12
cweeks786816-May-06 14:12 
AnswerRe: Porting web navigator from VB6 to VS2005 C# Pin
cweeks786818-May-06 8:26
cweeks786818-May-06 8:26 
I don't have access to my development system at the moment to try this out. So, I would appreciate some input as to whether or not this might work:

IHTMLDocument3 iDoc3 = (IHTMLDocument3)wb1.Document.DomDocument;
IHTMLSelectElement eltCountryList = iDoc3.getElementById("countryList");
eltCountryList.selectedIndex = 25;

For now, just ignore the absence of error checking for null pointer values. Is this about the right approach? Will I be able to modify the <SELECT> element's 'selectedIndex' property without any kind of initialization or setup code (sometimes it looks like the HTMLDocument contained in the webbrowser control is read-only)? Do I need to iterate through each <OPTION> element in the list using the IHTMLOptionElement interface and set the 'selected' property to false?

GeneralRe: Porting web navigator from VB6 to VS2005 C# Pin
cweeks786818-May-06 14:22
cweeks786818-May-06 14:22 
Questionnewbie seeks guidance on how use IDE Pin
wheels4me6-May-06 13:16
wheels4me6-May-06 13:16 
AnswerRe: newbie seeks guidance on how use IDE Pin
led mike6-May-06 13:51
led mike6-May-06 13:51 
AnswerRe: newbie seeks guidance on how use IDE Pin
Josh Smith7-May-06 4:51
Josh Smith7-May-06 4:51 
Questionhow to use progressbar ? Pin
hdv2126-May-06 12:22
hdv2126-May-06 12:22 
AnswerRe: how to use progressbar ? Pin
ekynox6-May-06 14:28
ekynox6-May-06 14:28 
QuestionBeginReceive problem (Sockets question) Pin
tmp06-May-06 10:56
tmp06-May-06 10:56 
AnswerRe: BeginReceive problem (Sockets question) Pin
led mike6-May-06 13:45
led mike6-May-06 13:45 
AnswerRe: BeginReceive problem (Sockets question) Pin
Shy Agam6-May-06 22:44
Shy Agam6-May-06 22:44 
GeneralRe: BeginReceive problem (Sockets question) Pin
tmp07-May-06 2:53
tmp07-May-06 2:53 
QuestionTime stamp in applications Pin
_tasleem6-May-06 10:49
_tasleem6-May-06 10:49 
AnswerRe: Time stamp in applications Pin
led mike6-May-06 13:33
led mike6-May-06 13:33 
QuestionListBox Event Pin
Sean896-May-06 10:48
Sean896-May-06 10:48 
AnswerRe: ListBox Event Pin
led mike6-May-06 13:30
led mike6-May-06 13:30 
GeneralRe: ListBox Event Pin
Sean896-May-06 17:26
Sean896-May-06 17:26 
QuestionDragDrop() Event Handler assistance needed... Pin
new_phoenix6-May-06 10:33
new_phoenix6-May-06 10:33 
AnswerRe: DragDrop() Event Handler assistance needed... Pin
rudy.net7-May-06 4:11
rudy.net7-May-06 4:11 

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.