Found 20 threads
-
2 Votos
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 ...Respondida | 4 Respuestas | 9307 Vistas | Created by idos - sábado, 4 de agosto de 2007 16:08 | Última respuesta por cervedin - domingo, 13 de diciembre de 2020 12:07 -
4 Votos
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 ...Respondida | 3 Respuestas | 13835 Vistas | Created by perlom - martes, 10 de octubre de 2006 18:54 | Última respuesta por Hans Milling - lunes, 19 de octubre de 2020 9:39 -
0 Votos
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 ...Respondida | 4 Respuestas | 10592 Vistas | Created by drew_p - lunes, 24 de julio de 2006 18:10 | Última respuesta por David Burg - jueves, 8 de octubre de 2020 5:55 -
1 Votos
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 ...Respondida | 6 Respuestas | 6318 Vistas | Created by MTech8 - lunes, 19 de octubre de 2009 22:31 | Última respuesta por Sama Mir - lunes, 21 de septiembre de 2020 11:46 -
5 Votos
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 ...Respondida | 16 Respuestas | 57198 Vistas | Created by MartinThwaites - domingo, 19 de julio de 2009 21:32 | Última respuesta por xuan tran - viernes, 18 de septiembre de 2020 11:41 -
0 Votos
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 ...Pregunta | 4 Respuestas | 5588 Vistas | Created by poirepoisson - jueves, 8 de mayo de 2008 13:38 | Última respuesta por Pavel A - domingo, 30 de agosto de 2020 23:13 -
0 Votos
Print multi-page TIFF
Hi, I have a Windows Form that should print a multi-page TIFF. My ...Respondida | 8 Respuestas | 9724 Vistas | Created by Nazza - lunes, 4 de agosto de 2008 13:00 | Última respuesta por LpJp - viernes, 14 de agosto de 2020 14:05 -
12 Votos
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 ...Respondida | 20 Respuestas | 44280 Vistas | Created by Stuart J. Travers - martes, 20 de marzo de 2007 4:18 | Última respuesta por Daniel_CH - jueves, 30 de julio de 2020 16:31 -
0 Votos
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, ...Respondida | 3 Respuestas | 9818 Vistas | Created by Raju,vetukuri - miércoles, 9 de septiembre de 2009 10:12 | Última respuesta por RD Holland - viernes, 19 de junio de 2020 20:49 -
3 Votos
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 ...Respondida | 14 Respuestas | 39836 Vistas | Created by Andrew Huang - martes, 2 de septiembre de 2008 16:29 | Última respuesta por LeeC22 - martes, 9 de junio de 2020 13:28 -
3 Votos
JIT
How does JIT work?Respondida | 3 Respuestas | 6063 Vistas | Created by Deepraj_Majumdar_35eaf1 - viernes, 23 de marzo de 2007 8:08 | Última respuesta por Pragati Katiyar - lunes, 1 de junio de 2020 13:42 -
0 Votos
Exception from HRESULT: 0x8007007e
hi everybody; i when from toolbox usercontrol drag-drop to win-form i get the error message follows: Failed to create ...Respondida | 3 Respuestas | 11213 Vistas | Created by MGunes - jueves, 16 de noviembre de 2006 12:06 | Última respuesta por WarnerK - sábado, 30 de mayo de 2020 11:58 -
9 Votos
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 ...Respondida | 18 Respuestas | 156630 Vistas | Created by iHandler - jueves, 16 de julio de 2009 8:59 | Última respuesta por Gabriel Marius Popescu - sábado, 2 de mayo de 2020 19:48 -
0 Votos
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 ...Respondida | 4 Respuestas | 9119 Vistas | Created by Roy Holmberg - miércoles, 6 de mayo de 2009 21:20 | Última respuesta por zhengzilu - miércoles, 22 de abril de 2020 20:31 -
1 Votos
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 ...Respondida | 7 Respuestas | 7057 Vistas | Created by Dinesh S - martes, 5 de junio de 2007 13:03 | Última respuesta por roger.breton - jueves, 9 de abril de 2020 15:49 -
0 Votos
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 ...Respondida | 9 Respuestas | 9322 Vistas | Created by Khronosx - domingo, 12 de octubre de 2008 1:59 | Última respuesta por Jonathan Potter - jueves, 9 de abril de 2020 4:51 -
0 Votos
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 ...Pregunta | 8 Respuestas | 10775 Vistas | Created by tanyaz - martes, 22 de septiembre de 2009 15:21 | Última respuesta por Pete Walburn (2) - martes, 3 de marzo de 2020 13:42 -
9 Votos
"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 ...Debate general | 6 Respuestas | 11043 Vistas | Created by Lockhid - jueves, 19 de marzo de 2009 22:21 | Última respuesta por ΔeltanK - miércoles, 26 de febrero de 2020 0:47 -
9 Votos
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 ...Respondida | 9 Respuestas | 31475 Vistas | Created by Chris Bardon - jueves, 16 de abril de 2009 19:39 | Última respuesta por Ipepot - martes, 25 de febrero de 2020 2:11 -
0 Votos
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 ...Respondida | 7 Respuestas | 13499 Vistas | Created by ugp - viernes, 25 de mayo de 2007 13:37 | Última respuesta por Maurin den Ouden - jueves, 23 de enero de 2020 8:05 - Artículos 1 a 20 de 27747 Siguiente ›