Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
GeneralRe: data binding Pin
Ista8-Aug-03 19:19
Ista8-Aug-03 19:19 
GeneralDetecting the Path. Please help! Pin
deanoA6-Aug-03 21:45
deanoA6-Aug-03 21:45 
GeneralRe: Detecting the Path. Please help! Pin
Alexander Kojevnikov6-Aug-03 21:52
Alexander Kojevnikov6-Aug-03 21:52 
GeneralRe: Detecting the Path. Please help! Pin
deanoA6-Aug-03 21:56
deanoA6-Aug-03 21:56 
GeneralRe: Detecting the Path. Please help! Pin
Alexander Kojevnikov6-Aug-03 22:04
Alexander Kojevnikov6-Aug-03 22:04 
GeneralRe: Detecting the Path. Please help! Pin
deanoA6-Aug-03 22:13
deanoA6-Aug-03 22:13 
GeneralRe: Detecting the Path. Please help! Pin
Alexander Kojevnikov6-Aug-03 22:08
Alexander Kojevnikov6-Aug-03 22:08 
GeneralRe: Detecting the Path. Please help! Pin
deanoA6-Aug-03 22:15
deanoA6-Aug-03 22:15 
Hi! I used the follwing code:


Assembly assembly = Assembly.GetEntryAssembly();
Stream stream = assembly.GetManifestResourceStream("WindowsApplication7.Form1.resx");
ResourceReader a = new ResourceReader(stream);


IDictionaryEnumerator en = a.GetEnumerator();
en.MoveNext();
MessageBox.Show(en.Key.ToString());
MessageBox.Show(en.Value.ToString());
a.Close();

But I get an exception stating that:
An unhandled exception of type 'System.ArgumentNullException' occurred in mscorlib.dll

Additional information: Value cannot be null.

Why is this?


"To teach is to learn twice"
GeneralRe: Detecting the Path. Please help! Pin
Alexander Kojevnikov6-Aug-03 22:56
Alexander Kojevnikov6-Aug-03 22:56 
GeneralRe: Detecting the Path. Please help! Pin
deanoA6-Aug-03 23:23
deanoA6-Aug-03 23:23 
GeneralRe: Detecting the Path. Please help! Pin
Alexander Kojevnikov7-Aug-03 0:29
Alexander Kojevnikov7-Aug-03 0:29 
GeneralChanging VS's Framework version Pin
eggie56-Aug-03 20:49
eggie56-Aug-03 20:49 
GeneralRe: Changing VS's Framework version Pin
James T. Johnson6-Aug-03 21:37
James T. Johnson6-Aug-03 21:37 
GeneralRe: Changing VS's Framework version Pin
eggie56-Aug-03 21:49
eggie56-Aug-03 21:49 
GeneralRe: Changing VS's Framework version Pin
James T. Johnson6-Aug-03 21:58
James T. Johnson6-Aug-03 21:58 
GeneralRe: Changing VS's Framework version Pin
Rein Hillmann6-Aug-03 22:04
Rein Hillmann6-Aug-03 22:04 
GeneralGetting the names of all printers installed on the computer. Pin
Nick Seng6-Aug-03 20:27
Nick Seng6-Aug-03 20:27 
GeneralRe: Getting the names of all printers installed on the computer. Pin
Nick Seng6-Aug-03 22:45
Nick Seng6-Aug-03 22:45 
GeneralRe: Getting the names of all printers installed on the computer. Pin
Nick Seng7-Aug-03 0:27
Nick Seng7-Aug-03 0:27 
GeneralChanging VS's Framework version Pin
eggie56-Aug-03 20:05
eggie56-Aug-03 20:05 
GeneralRe: Changing VS's Framework version Pin
apferreira7-Aug-03 6:20
apferreira7-Aug-03 6:20 
GeneralTab Size in RichTextBox Pin
don7cry6-Aug-03 16:49
don7cry6-Aug-03 16:49 
GeneralRe: Tab Size in RichTextBox Pin
Ista6-Aug-03 17:52
Ista6-Aug-03 17:52 
GeneralIterate through directories... Pin
Steve McLenithan6-Aug-03 15:23
Steve McLenithan6-Aug-03 15:23 
GeneralRe: Iterate through directories... Pin
Nish Nishant6-Aug-03 15:43
sitebuilderNish Nishant6-Aug-03 15:43 

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.