Click here to Skip to main content
15,884,388 members
Home / Discussions / C#
   

C#

 
GeneralRe: Click images with webcam using c# Pin
DaveyM697-Mar-09 11:20
professionalDaveyM697-Mar-09 11:20 
AnswerRe: Click images with webcam using c# Pin
Eddy Vluggen8-Mar-09 2:35
professionalEddy Vluggen8-Mar-09 2:35 
QuestionVista or .NET remember? Access to System32 Pin
NorbertKl177-Mar-09 6:48
NorbertKl177-Mar-09 6:48 
AnswerRe: Vista or .NET remember? Access to System32 Pin
harold aptroot7-Mar-09 7:22
harold aptroot7-Mar-09 7:22 
GeneralRe: Vista or .NET remember? Access to System32 Pin
NorbertKl177-Mar-09 8:31
NorbertKl177-Mar-09 8:31 
GeneralRe: Vista or .NET remember? Access to System32 Pin
harold aptroot7-Mar-09 8:53
harold aptroot7-Mar-09 8:53 
GeneralRe: Vista or .NET remember? Access to System32 Pin
NorbertKl177-Mar-09 9:22
NorbertKl177-Mar-09 9:22 
GeneralRe: Vista or .NET remember? Access to System32 Pin
Natza Mitzi8-Mar-09 9:46
Natza Mitzi8-Mar-09 9:46 
At the catch clause in order to show the error message use:

System.Diagnostics.Trace.Assert(false,"Error:" + err.ToString());

OR if running a debug version:

System.Diagnostics.Debug.Assert(false,"Error:" + err.ToString());

Do not attempt to show a message box window when running a service. Your exception line throws an exception.

When writing files especially in vista, you should use Environment.SpecialFolder and not a hard coded path:

string dirPath = Environment.GetFolderPath(
Environment.SpecialFolder.LocalApplicationData);

Natza Mitzi

QuestionColor of label Pin
mrithula87-Mar-09 5:33
mrithula87-Mar-09 5:33 
AnswerRe: Color of label Pin
Luc Pattyn7-Mar-09 5:43
sitebuilderLuc Pattyn7-Mar-09 5:43 
GeneralRe: Color of label Pin
mrithula87-Mar-09 6:50
mrithula87-Mar-09 6:50 
AnswerRe: Color of label Pin
Luc Pattyn7-Mar-09 7:01
sitebuilderLuc Pattyn7-Mar-09 7:01 
GeneralRe: Color of label Pin
Expert Coming7-Mar-09 7:25
Expert Coming7-Mar-09 7:25 
GeneralRe: Color of label Pin
Colin Angus Mackay8-Mar-09 4:13
Colin Angus Mackay8-Mar-09 4:13 
AnswerRe: Color of label Pin
Luc Pattyn7-Mar-09 9:36
sitebuilderLuc Pattyn7-Mar-09 9:36 
GeneralRe: Color of label Pin
mrithula88-Mar-09 6:58
mrithula88-Mar-09 6:58 
AnswerRe: Color of label Pin
Luc Pattyn8-Mar-09 9:50
sitebuilderLuc Pattyn8-Mar-09 9:50 
QuestionInstalling application that queries FoxPro tables Pin
dptalt7-Mar-09 5:12
dptalt7-Mar-09 5:12 
QuestionHow to get the .exe file run after coying from a location to another location Pin
tyrone01097-Mar-09 2:52
tyrone01097-Mar-09 2:52 
AnswerRe: How to get the .exe file run after coying from a location to another location Pin
DaveyM697-Mar-09 3:08
professionalDaveyM697-Mar-09 3:08 
AnswerRe: How to get the .exe file run after coying from a location to another location Pin
sohighthesky8-Mar-09 5:08
sohighthesky8-Mar-09 5:08 
QuestionGUI Problem Pin
anishkannan7-Mar-09 2:13
anishkannan7-Mar-09 2:13 
AnswerRe: GUI Problem Pin
DaveyM697-Mar-09 2:28
professionalDaveyM697-Mar-09 2:28 
AnswerRe: GUI Problem Pin
ABitSmart7-Mar-09 3:28
ABitSmart7-Mar-09 3:28 
AnswerRe: GUI Problem Pin
Natza Mitzi8-Mar-09 9:58
Natza Mitzi8-Mar-09 9:58 

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.