Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
QuestionHow to convert string to an int with operators? [modified] Pin
venomation22-Nov-10 12:14
venomation22-Nov-10 12:14 
AnswerRe: How to convert string to an int with operators? Pin
PIEBALDconsult22-Nov-10 15:50
mvePIEBALDconsult22-Nov-10 15:50 
GeneralRe: How to convert string to an int with operators? Pin
venomation22-Nov-10 23:52
venomation22-Nov-10 23:52 
AnswerRe: How to convert string to an int with operators? [modified] Pin
Luc Pattyn22-Nov-10 16:03
sitebuilderLuc Pattyn22-Nov-10 16:03 
GeneralRe: How to convert string to an int with operators? Pin
venomation22-Nov-10 23:54
venomation22-Nov-10 23:54 
AnswerRe: How to convert string to an int with operators? Pin
Luc Pattyn23-Nov-10 4:54
sitebuilderLuc Pattyn23-Nov-10 4:54 
QuestionNewbi Label question Pin
vegetable99922-Nov-10 9:34
vegetable99922-Nov-10 9:34 
AnswerRe: Newbi Label question Pin
OriginalGriff22-Nov-10 9:38
mveOriginalGriff22-Nov-10 9:38 
Difficult to tell - it shouldn't "just exit" for any reason - it should give an exception of some form.
Try wrapping your line in a try...catch block and see if any message comes up:
public void CreateFileWatcher(String file)
   {
   try
      {
      monitoringFile.Text = @"zzz";
      }
   catch (Exception ex)
      {
      MessageBox.Show(ex.ToString());
      }
   }
Then tell us what the exception says.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

GeneralRe: Newbi Label question Pin
vegetable99922-Nov-10 9:45
vegetable99922-Nov-10 9:45 
GeneralRe: Newbi Label question Pin
Pete O'Hanlon22-Nov-10 9:50
mvePete O'Hanlon22-Nov-10 9:50 
GeneralRe: Newbi Label question Pin
OriginalGriff22-Nov-10 9:51
mveOriginalGriff22-Nov-10 9:51 
GeneralRe: Newbi Label question Pin
vegetable99922-Nov-10 9:56
vegetable99922-Nov-10 9:56 
GeneralRe: Newbi Label question Pin
OriginalGriff22-Nov-10 10:09
mveOriginalGriff22-Nov-10 10:09 
GeneralRe: Newbi Label question Pin
vegetable99922-Nov-10 10:15
vegetable99922-Nov-10 10:15 
GeneralRe: Newbi Label question Pin
Luc Pattyn22-Nov-10 10:20
sitebuilderLuc Pattyn22-Nov-10 10:20 
GeneralRe: Newbi Label question Pin
OriginalGriff22-Nov-10 9:59
mveOriginalGriff22-Nov-10 9:59 
AnswerRe: Newbi Label question Pin
fjdiewornncalwe22-Nov-10 9:39
professionalfjdiewornncalwe22-Nov-10 9:39 
GeneralRe: Newbi Label question Pin
vegetable99922-Nov-10 9:54
vegetable99922-Nov-10 9:54 
AnswerRe: Newbi Label question Pin
Luc Pattyn22-Nov-10 10:10
sitebuilderLuc Pattyn22-Nov-10 10:10 
QuestionOk, now it's my turn to complain about C# Pin
Ray Cassick22-Nov-10 9:29
Ray Cassick22-Nov-10 9:29 
AnswerRe: Ok, now it's my turn to complain about C# Pin
Pete O'Hanlon22-Nov-10 9:34
mvePete O'Hanlon22-Nov-10 9:34 
GeneralRe: Ok, now it's my turn to complain about C# Pin
Ray Cassick22-Nov-10 12:11
Ray Cassick22-Nov-10 12:11 
AnswerRe: Ok, now it's my turn to complain about C# Pin
Giorgio Orizio22-Nov-10 12:01
Giorgio Orizio22-Nov-10 12:01 
AnswerRe: Ok, now it's my turn to complain about C# Pin
PIEBALDconsult22-Nov-10 15:55
mvePIEBALDconsult22-Nov-10 15:55 
GeneralRe: Ok, now it's my turn to complain about C# Pin
Luc Pattyn22-Nov-10 16:14
sitebuilderLuc Pattyn22-Nov-10 16:14 

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.