Click here to Skip to main content
15,914,357 members
Home / Discussions / C#
   

C#

 
QuestionIIS and Active directory Pin
engsrini22-Jun-06 4:52
engsrini22-Jun-06 4:52 
QuestionZip file creation in C# Pin
coolestCoder22-Jun-06 4:28
coolestCoder22-Jun-06 4:28 
AnswerRe: Zip file creation in C# Pin
Judah Gabriel Himango22-Jun-06 4:42
sponsorJudah Gabriel Himango22-Jun-06 4:42 
QuestionWIA and TakePicture Pin
(Steven Hicks)n+122-Jun-06 4:07
(Steven Hicks)n+122-Jun-06 4:07 
Questionhow to attach file using html file field Pin
ayyp22-Jun-06 3:43
ayyp22-Jun-06 3:43 
Questionserial port data read error ? help please ... Pin
cmpeng3422-Jun-06 3:33
cmpeng3422-Jun-06 3:33 
AnswerRe: serial port data read error ? help please ... [modified] Pin
Judah Gabriel Himango22-Jun-06 4:20
sponsorJudah Gabriel Himango22-Jun-06 4:20 
GeneralMessage Closed Pin
25-Jun-06 22:33
cmpeng3425-Jun-06 22:33 
GeneralRe: serial port data read error ? help please ... Pin
Judah Gabriel Himango26-Jun-06 4:17
sponsorJudah Gabriel Himango26-Jun-06 4:17 
QuestionHow to convert blocking socket to non blocking Pin
Shajeel22-Jun-06 3:17
Shajeel22-Jun-06 3:17 
AnswerRe: How to convert blocking socket to non blocking Pin
Judah Gabriel Himango22-Jun-06 4:19
sponsorJudah Gabriel Himango22-Jun-06 4:19 
QuestionCreating C# files Pin
tom groezer22-Jun-06 2:31
tom groezer22-Jun-06 2:31 
AnswerRe: Creating C# files Pin
Judah Gabriel Himango22-Jun-06 4:17
sponsorJudah Gabriel Himango22-Jun-06 4:17 
GeneralRe: Creating C# files Pin
tom groezer24-Jun-06 4:31
tom groezer24-Jun-06 4:31 
AnswerRe: Creating C# files Pin
atuldeore22-Jun-06 6:06
atuldeore22-Jun-06 6:06 
AnswerRe: Creating C# files Pin
BoneSoft22-Jun-06 6:36
BoneSoft22-Jun-06 6:36 
QuestionListBox and Sendmessage Pin
adamario22-Jun-06 2:29
adamario22-Jun-06 2:29 
AnswerRe: ListBox and Sendmessage Pin
Andrei Ungureanu22-Jun-06 2:51
Andrei Ungureanu22-Jun-06 2:51 
GeneralRe: ListBox and Sendmessage Pin
adamario22-Jun-06 3:13
adamario22-Jun-06 3:13 
that didnt help
here my test code:

int LB_ADDSTRING = 0x0180;
int LB_GETCOUNT = 0x018B;
int res = SendMessageString(listBox1.Handle, LB_ADDSTRING, 0, "test");
listBox1.Refresh();

int count = SendMessage(listBox1.Handle, LB_GETCOUNT, 0, 0);
int lcount = listBox1.Items.Count;

results are:
count = 1
lcount = 0

wonder why that is, why does the api say there is 1 item in listbox (which is actually correct), but the listbox itself says 0 items in it.
GeneralRe: ListBox and Sendmessage Pin
Judah Gabriel Himango22-Jun-06 4:54
sponsorJudah Gabriel Himango22-Jun-06 4:54 
QuestionDatabase Synchronisation Pin
Craig G Fraser22-Jun-06 2:18
Craig G Fraser22-Jun-06 2:18 
Questiondo's and dont's Pin
sund7wells22-Jun-06 2:18
sund7wells22-Jun-06 2:18 
AnswerRe: do's and dont's Pin
Paul Brower22-Jun-06 2:50
Paul Brower22-Jun-06 2:50 
GeneralRe: do's and dont's Pin
Not Active22-Jun-06 3:57
mentorNot Active22-Jun-06 3:57 
AnswerRe: do's and dont's Pin
Kevin McFarlane22-Jun-06 3:42
Kevin McFarlane22-Jun-06 3: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.