Click here to Skip to main content
15,892,517 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reading a remote mp3 file for file size and length Pin
Judah Gabriel Himango3-Jul-07 5:20
sponsorJudah Gabriel Himango3-Jul-07 5:20 
GeneralRe: Reading a remote mp3 file for file size and length Pin
mfmaneef3-Jul-07 5:31
mfmaneef3-Jul-07 5:31 
GeneralRe: Reading a remote mp3 file for file size and length Pin
Judah Gabriel Himango3-Jul-07 5:47
sponsorJudah Gabriel Himango3-Jul-07 5:47 
GeneralRe: Reading a remote mp3 file for file size and length Pin
mfmaneef3-Jul-07 6:28
mfmaneef3-Jul-07 6:28 
GeneralRe: Reading a remote mp3 file for file size and length Pin
Judah Gabriel Himango3-Jul-07 9:05
sponsorJudah Gabriel Himango3-Jul-07 9:05 
QuestionCompilation Error with Resource strings Pin
jayart3-Jul-07 3:46
jayart3-Jul-07 3:46 
AnswerRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 4:33
sponsorJudah Gabriel Himango3-Jul-07 4:33 
GeneralRe: Compilation Error with Resource strings Pin
jayart3-Jul-07 4:40
jayart3-Jul-07 4:40 
Thanks.
Actually I need to use the string in a switch statement as one of the case.
<br />
class MyClass<br />
{<br />
   private const string MY_NAME = Resources.MyResourceName; // gives error<br />
   void Myfunction(string str)<br />
   {<br />
       switch(str)<br />
       {<br />
           case MY_NAME: // expects a contant here<br />
           break;<br />
       }<br />
   }<br />
}<br />


About the naming convention, this code is just sample code.
GeneralRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 5:19
sponsorJudah Gabriel Himango3-Jul-07 5:19 
GeneralRe: Compilation Error with Resource strings Pin
jayart3-Jul-07 5:29
jayart3-Jul-07 5:29 
GeneralRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 5:48
sponsorJudah Gabriel Himango3-Jul-07 5:48 
QuestionCan I create a continoues database form Pin
Muhammad Gouda3-Jul-07 3:39
Muhammad Gouda3-Jul-07 3:39 
QuestionC# Threading Gurus input needed (FileSystemWatcher ) Pin
mejax3-Jul-07 3:38
mejax3-Jul-07 3:38 
AnswerRe: C# Threading Gurus input needed (FileSystemWatcher ) Pin
Judah Gabriel Himango3-Jul-07 4:30
sponsorJudah Gabriel Himango3-Jul-07 4:30 
AnswerRe: C# Threading Gurus input needed (FileSystemWatcher ) Pin
pbraun3-Jul-07 5:56
pbraun3-Jul-07 5:56 
QuestionHow to update a class property with a timer Pin
pusch3-Jul-07 3:03
pusch3-Jul-07 3:03 
AnswerRe: How to update a class property with a timer Pin
Luc Pattyn3-Jul-07 3:06
sitebuilderLuc Pattyn3-Jul-07 3:06 
GeneralRe: How to update a class property with a timer Pin
pusch3-Jul-07 5:13
pusch3-Jul-07 5:13 
GeneralRe: How to update a class property with a timer Pin
Luc Pattyn3-Jul-07 5:30
sitebuilderLuc Pattyn3-Jul-07 5:30 
GeneralRe: How to update a class property with a timer Pin
pusch3-Jul-07 6:04
pusch3-Jul-07 6:04 
AnswerRe: How to update a class property with a timer Pin
Jimmanuel3-Jul-07 5:47
Jimmanuel3-Jul-07 5:47 
GeneralRe: How to update a class property with a timer Pin
pusch3-Jul-07 6:15
pusch3-Jul-07 6:15 
QuestionText Disappear From MessageBox Pin
Himanshu_ITDevloper3-Jul-07 2:37
Himanshu_ITDevloper3-Jul-07 2:37 
AnswerRe: Text Disappear From MessageBox Pin
Dave Sexton3-Jul-07 2:58
Dave Sexton3-Jul-07 2:58 
AnswerRe: Text Disappear From MessageBox Pin
mfmaneef3-Jul-07 9:45
mfmaneef3-Jul-07 9:45 

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.