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 投票
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 回复 | 13987 浏览次数 | Created by perlom - 2006年10月10日 18:54 | 上次回复 : Hans Milling - 2020年10月19日 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 回复 | 10660 浏览次数 | Created by drew_p - 2006年7月24日 18:10 | 上次回复 : David Burg - 2020年10月8日 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 ... -
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 回复 | 57274 浏览次数 | Created by MartinThwaites - 2009年7月19日 21:32 | 上次回复 : xuan tran - 2020年9月18日 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 回复 | 5625 浏览次数 | Created by poirepoisson - 2008年5月8日 13:38 | 上次回复 : Pavel A - 2020年8月30日 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 回复 | 44330 浏览次数 | Created by Stuart J. Travers - 2007年3月20日 4:18 | 上次回复 : Daniel_CH - 2020年7月30日 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 回复 | 9896 浏览次数 | Created by Raju,vetukuri - 2009年9月9日 10:12 | 上次回复 : RD Holland - 2020年6月19日 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 回复 | 39927 浏览次数 | Created by Andrew Huang - 2008年9月2日 16:29 | 上次回复 : LeeC22 - 2020年6月9日 13:28 -
3 投票
JIT
How does JIT work?已答复 | 3 回复 | 6488 浏览次数 | Created by Deepraj_Majumdar_35eaf1 - 2007年3月23日 8:08 | 上次回复 : Pragati Katiyar - 2020年6月1日 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 回复 | 156695 浏览次数 | Created by iHandler - 2009年7月16日 8:59 | 上次回复 : Gabriel Marius Popescu - 2020年5月2日 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 回复 | 9146 浏览次数 | Created by Roy Holmberg - 2009年5月6日 21:20 | 上次回复 : zhengzilu - 2020年4月22日 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 回复 | 7079 浏览次数 | Created by Dinesh S - 2007年6月5日 13:03 | 上次回复 : roger.breton - 2020年4月9日 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 回复 | 9343 浏览次数 | Created by Khronosx - 2008年10月12日 1:59 | 上次回复 : Jonathan Potter - 2020年4月9日 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 回复 | 10834 浏览次数 | Created by tanyaz - 2009年9月22日 15:21 | 上次回复 : Pete Walburn (2) - 2020年3月3日 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 ... -
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 回复 | 31696 浏览次数 | Created by Chris Bardon - 2009年4月16日 19:39 | 上次回复 : Ipepot - 2020年2月25日 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 回复 | 13539 浏览次数 | Created by ugp - 2007年5月25日 13:37 | 上次回复 : Maurin den Ouden - 2020年1月23日 8:05 - 項目 1 到 20 的 27747 下一個 ›