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 الردود | 13507 طرق العرض | Created by idos - 21/رجب/1428 04:08 م | آخر رد بواسطة cervedin - 28/ربيع الثاني/1442 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 الردود | 17923 طرق العرض | Created by perlom - 17/رمضان/1427 06:54 م | آخر رد بواسطة Hans Milling - 02/ربيع الأول/1442 09: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 الردود | 13832 طرق العرض | Created by drew_p - 28/جمادى الثانية/1427 06:10 م | آخر رد بواسطة David Burg - 21/صفر/1442 05: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 الردود | 9755 طرق العرض | Created by MTech8 - 30/شوال/1430 10:31 م | آخر رد بواسطة Sama Mir - 04/صفر/1442 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 الردود | 61486 طرق العرض | Created by MartinThwaites - 26/رجب/1430 09:32 م | آخر رد بواسطة xuan tran - 01/صفر/1442 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 الردود | 9416 طرق العرض | Created by poirepoisson - 03/جمادى الأولى/1429 01:38 م | آخر رد بواسطة Pavel A - 11/محرم/1442 11: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 الردود | 49776 طرق العرض | Created by Stuart J. Travers - 01/ربيع الأول/1428 04:18 ص | آخر رد بواسطة Daniel_CH - 09/ذو الحجة/1441 04: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 الردود | 13861 طرق العرض | Created by Raju,vetukuri - 19/رمضان/1430 10:12 ص | آخر رد بواسطة RD Holland - 27/شوال/1441 08: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 الردود | 46681 طرق العرض | Created by Andrew Huang - 02/رمضان/1429 04:29 م | آخر رد بواسطة LeeC22 - 17/شوال/1441 01:28 م -
3 أصوات
JIT
How does JIT work?الإجابة | 3 الردود | 9801 طرق العرض | Created by Deepraj_Majumdar_35eaf1 - 04/ربيع الأول/1428 08:08 ص | آخر رد بواسطة Pragati Katiyar - 09/شوال/1441 01: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 الردود | 161001 طرق العرض | Created by iHandler - 23/رجب/1430 08:59 ص | آخر رد بواسطة Gabriel Marius Popescu - 09/رمضان/1441 07: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 الردود | 12151 طرق العرض | Created by Roy Holmberg - 11/جمادى الأولى/1430 09:20 م | آخر رد بواسطة zhengzilu - 29/شعبان/1441 08: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 الردود | 10065 طرق العرض | Created by Dinesh S - 19/جمادى الأولى/1428 01:03 م | آخر رد بواسطة roger.breton - 16/شعبان/1441 03: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 الردود | 12379 طرق العرض | Created by Khronosx - 12/شوال/1429 01:59 ص | آخر رد بواسطة Jonathan Potter - 16/شعبان/1441 04: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 الردود | 13926 طرق العرض | Created by tanyaz - 03/شوال/1430 03:21 م | آخر رد بواسطة Pete Walburn (2) - 08/رجب/1441 01: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 الردود | 15197 طرق العرض | Created by Lockhid - 22/ربيع الأول/1430 10:21 م | آخر رد بواسطة ΔeltanK - 02/رجب/1441 12: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 الردود | 36513 طرق العرض | Created by Chris Bardon - 20/ربيع الثاني/1430 07:39 م | آخر رد بواسطة Ipepot - 01/رجب/1441 02: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 الردود | 17233 طرق العرض | Created by ugp - 08/جمادى الأولى/1428 01:37 م | آخر رد بواسطة Maurin den Ouden - 28/جمادى الأولى/1441 08:05 ص - Items 1 to 20 of 27747 التالي ›