Click here to Skip to main content
16,005,037 members
Home / Discussions / C#
   

C#

 
GeneralRe: Login Web Control not firing Validation on incorrect case Pin
mike montagne15-May-07 19:55
mike montagne15-May-07 19:55 
Questionwindows daemon Pin
spin vector15-May-07 12:42
spin vector15-May-07 12:42 
AnswerRe: windows daemon Pin
dotnetcdr15-May-07 23:49
dotnetcdr15-May-07 23:49 
GeneralRe: windows daemon Pin
spin vector16-May-07 16:08
spin vector16-May-07 16:08 
AnswerRe: windows daemon Pin
dotnetcdr17-May-07 4:48
dotnetcdr17-May-07 4:48 
QuestionImplementing Bitmap.FromResource() - Acquiring hinstance. Pin
mike montagne15-May-07 11:39
mike montagne15-May-07 11:39 
AnswerFOR INSTANCE... Pin
mike montagne15-May-07 13:45
mike montagne15-May-07 13:45 
QuestionProcess.GetCurrentProcess().Handle not working either... Pin
mike montagne15-May-07 20:28
mike montagne15-May-07 20:28 
This approach appears [?] to get a legitimate handle. The value is usually just over 1,000 -- 1,008, 1,032, etc. I've checked MyResourceName over and over again for case. I've tried all uppercase (which doesn't match the resource name), and I've tried odd syntax that I've seen in other examples (which resort to native C++ to get a handle) such as prefixing MyResourceName with "#" or including the file extension (which in my experience with resource files should be an error)... but still, all I get is a "Parameter is not valid" error:
IntPtr hInstance = Process.GetCurrentProcess().Handle;

if ( (IntPtr)0 != hInstance )
     myBitmap = Bitmap.FromResource( hInstance, "MyResourceName" );
Process.GetCurrentProcess().Handle is as close as I've come to succeding, in that the value is possibly a legitimate handle/IntPtr value. Does anybody know how to do this?
Questionhow to set focus on specified toolStripTextBox ? Pin
hdv21215-May-07 11:38
hdv21215-May-07 11:38 
AnswerRe: how to set focus on specified toolStripTextBox ? Pin
Alireza Loghmani22-May-07 22:06
Alireza Loghmani22-May-07 22:06 
QuestionDisplay different menus or pages within an application [modified] Pin
shultas15-May-07 9:45
shultas15-May-07 9:45 
AnswerRe: Display different menus or pages within an application Pin
Uwe Keim15-May-07 9:54
sitebuilderUwe Keim15-May-07 9:54 
GeneralRe: Display different menus or pages within an application Pin
shultas15-May-07 10:49
shultas15-May-07 10:49 
GeneralRe: Display different menus or pages within an application Pin
mike montagne15-May-07 15:07
mike montagne15-May-07 15:07 
GeneralRe: Display different menus or pages within an application Pin
shultas20-May-07 15:44
shultas20-May-07 15:44 
QuestionConvert .mdb for .cdb in c# Pin
Cleber Ramos15-May-07 9:22
Cleber Ramos15-May-07 9:22 
AnswerRe: Convert .mdb for .cdb in c# Pin
Uwe Keim15-May-07 9:58
sitebuilderUwe Keim15-May-07 9:58 
GeneralRe: Convert .mdb for .cdb in c# Pin
Cleber Ramos16-May-07 7:10
Cleber Ramos16-May-07 7:10 
GeneralRe: Convert .mdb for .cdb in c# Pin
er.ravindersinghsaini4-Jan-09 18:24
er.ravindersinghsaini4-Jan-09 18:24 
Questionsplit a jpg into 2 frame Pin
cmarmr15-May-07 8:25
cmarmr15-May-07 8:25 
AnswerRe: split a jpg into 2 frame Pin
Christian Graus15-May-07 12:17
protectorChristian Graus15-May-07 12:17 
GeneralRe: split a jpg into 2 frame Pin
cmarmr16-May-07 3:22
cmarmr16-May-07 3:22 
QuestionHow to set namespace to xmlDocument ? Pin
shay_he15-May-07 8:08
shay_he15-May-07 8:08 
QuestionFileSystemWatcher and two directories Pin
LCI15-May-07 8:05
LCI15-May-07 8:05 
AnswerRe: FileSystemWatcher and two directories Pin
Giorgi Dalakishvili15-May-07 8:13
mentorGiorgi Dalakishvili15-May-07 8:13 

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.