Found 20 threads
-
2 โหวต
ICollection.CopyTo() vs. ArrayList.ToArray()
Dear all, I want to convert a ICollection instance to a normal array. But then I realized these two ways will give me a Array object. Just curious, which one is better ...คำตอบ | 4 ตอบ | 9369 เข้าชม | Created by idos - 4 สิงหาคม 2550 16:08 | ตอบล่าสุด โดย cervedin - 13 ธันวาคม 2563 12:07 -
4 โหวต
Screen Saver notifications
I want to get notifications of various System Events in my C# app (Shut down, logoff, Session change, etc). So far I found that the SystemEvents class is very useful ...คำตอบ | 3 ตอบ | 13993 เข้าชม | Created by perlom - 10 ตุลาคม 2549 18:54 | ตอบล่าสุด โดย Hans Milling - 19 ตุลาคม 2563 9:39 -
0 โหวต
assembly load unload event
I have an assembly for which I need to increment/decrement the counter in registry when assembly load/unload. are there any events which tells assembly is loading or ...คำตอบ | 4 ตอบ | 10664 เข้าชม | Created by drew_p - 24 กรกฎาคม 2549 18:10 | ตอบล่าสุด โดย David Burg - 8 ตุลาคม 2563 5:55 -
1 โหวต
Is there a difference between capitalized types and non capitalized types?
I just noticed that often times types in C# are offered (via intellisense) in Capitalized and non-capitalized. I tried to do a search to find the answer, but couldn't find anything. Nothing ...คำตอบ | 6 ตอบ | 6358 เข้าชม | Created by MTech8 - 19 ตุลาคม 2552 22:31 | ตอบล่าสุด โดย Sama Mir - 21 กันยายน 2563 11:46 -
5 โหวต
Modify ConnectionString in App.Config
Okay so I've found various different forum posts on this, but none giving a viable solution with a code example in C#... so here goes... I've created a DataSet using the dataset ...คำตอบ | 16 ตอบ | 57283 เข้าชม | Created by MartinThwaites - 19 กรกฎาคม 2552 21:32 | ตอบล่าสุด โดย xuan tran - 18 กันยายน 2563 11:41 -
0 โหวต
SendMessage for keystroke is not working
Hi all could you please tell me why this code does not work? It should simulate the pression of TAB and then arrow DOWN, but ...คำถาม | 4 ตอบ | 5629 เข้าชม | Created by poirepoisson - 8 พฤษภาคม 2551 13:38 | ตอบล่าสุด โดย Pavel A - 30 สิงหาคม 2563 23:13 -
12 โหวต
IO.Directory.Delete - Read-only "Access Denied"
I'm in the middle of a major project converting a VB6 application to .NET and have a requirement to delete a folder and its contents, in this case a complete user profile folder from C:\Documents and ...คำตอบ | 20 ตอบ | 44341 เข้าชม | Created by Stuart J. Travers - 20 มีนาคม 2550 4:18 | ตอบล่าสุด โดย Daniel_CH - 30 กรกฎาคม 2563 16:31 -
0 โหวต
CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409
Hi all VC++ programmers, I am the following linking error when iam migrating my code from vs-2003 to vs-2008.i.e. CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, ...คำตอบ | 3 ตอบ | 9904 เข้าชม | Created by Raju,vetukuri - 9 กันยายน 2552 10:12 | ตอบล่าสุด โดย RD Holland - 19 มิถุนายน 2563 20:49 -
3 โหวต
How to get the last directory after open FileDialog
Set FileDialog.RestoreDirectory Property true. When reopenning the file dialog box, it locates the last directory. My question is "How can I get the last ...คำตอบ | 14 ตอบ | 39938 เข้าชม | Created by Andrew Huang - 2 กันยายน 2551 16:29 | ตอบล่าสุด โดย LeeC22 - 9 มิถุนายน 2563 13:28 -
3 โหวต
JIT
How does JIT work?คำตอบ | 3 ตอบ | 6555 เข้าชม | Created by Deepraj_Majumdar_35eaf1 - 23 มีนาคม 2550 8:08 | ตอบล่าสุด โดย Pragati Katiyar - 1 มิถุนายน 2563 13:42 -
9 โหวต
C# - Set Focus on TextBox - Which Event?
I have a Form and a Textbox control, once the Form loads up, and I want to set the cursor FOCUS on the TextBox, however, I cannot do this and I have no reason why, please ...คำตอบ | 18 ตอบ | 156700 เข้าชม | Created by iHandler - 16 กรกฎาคม 2552 8:59 | ตอบล่าสุด โดย Gabriel Marius Popescu - 2 พฤษภาคม 2563 19:48 -
0 โหวต
DAO Database functionality in C++ called from a 64 bit app.
Hello, I write 3rd party software in C++ that runs on top of an engineering program called AutoCAD. We have various applications that do this but one ...คำตอบ | 4 ตอบ | 9148 เข้าชม | Created by Roy Holmberg - 6 พฤษภาคม 2552 21:20 | ตอบล่าสุด โดย zhengzilu - 22 เมษายน 2563 20:31 -
1 โหวต
Windows Textbox property “SelectionLength” is not working in .Net 2.0
I am migrating following VB6.0 code to .Net 2.0 (Windows application). VB6.0 Code :- Private Sub ...คำตอบ | 7 ตอบ | 7081 เข้าชม | Created by Dinesh S - 5 มิถุนายน 2550 13:03 | ตอบล่าสุด โดย roger.breton - 9 เมษายน 2563 15:49 -
0 โหวต
Textbox Margin set by EM_SETMARGINS ignored?
Hi, I used EM_SETMARGINS to set 10px margin on the right hand of the textbox. It works fine when i am typing letters and exceeds the width of the ...คำตอบ | 9 ตอบ | 9349 เข้าชม | Created by Khronosx - 12 ตุลาคม 2551 1:59 | ตอบล่าสุด โดย Jonathan Potter - 9 เมษายน 2563 4:51 -
0 โหวต
How to set DateTimePicker (WinForms) control calendar automaticly on Today date
Hello, I have WinForms application with custom control based on DateTimePicker. In OnDropDown event I want to open calendar with automaticly selected today date in ...คำถาม | 8 ตอบ | 10838 เข้าชม | Created by tanyaz - 22 กันยายน 2552 15:21 | ตอบล่าสุด โดย Pete Walburn (2) - 3 มีนาคม 2563 13:42 -
9 โหวต
"Parameter is not valid" Arguement Exception when the DoubleBuffered Property is true
Hi, I am creating a Image button control. So, I have used three images for Up, Down and Over events. When I click on the button sometimes, it flickers. I read MSDN and a ...การสนทนาทั่วไป | 6 ตอบ | 11090 เข้าชม | Created by Lockhid - 19 มีนาคม 2552 22:21 | ตอบล่าสุด โดย ΔeltanK - 26 กุมภาพันธ์ 2563 0:47 -
9 โหวต
Removing the focus rectangle from a flat button when the form itself does not have focus
I have a windows forms app that has some flat, borderless buttons, and I noticed that while the focus rectangle does not appear when the window has focus, as soon as another window has focus, but my ...คำตอบ | 9 ตอบ | 31708 เข้าชม | Created by Chris Bardon - 16 เมษายน 2552 19:39 | ตอบล่าสุด โดย Ipepot - 25 กุมภาพันธ์ 2563 2:11 -
0 โหวต
Adding a Rectangle object to a Panel
I was able to add a button/label to a Panel like this; this.panel1.Controls.Add(this.button1);this.panel1.Controls.Add(this.label11); this works..OK!! But, what I ...คำตอบ | 7 ตอบ | 13545 เข้าชม | Created by ugp - 25 พฤษภาคม 2550 13:37 | ตอบล่าสุด โดย Maurin den Ouden - 23 มกราคม 2563 8:05 - รายการที่ 1 ถึง 20 ของ 27747 ถัดไป ›