Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: unresolved hashtable problem Pin
Jassim Rahma24-Apr-10 23:48
Jassim Rahma24-Apr-10 23:48 
GeneralRe: unresolved hashtable problem Pin
Som Shekhar24-Apr-10 23:56
Som Shekhar24-Apr-10 23:56 
GeneralRe: unresolved hashtable problem Pin
Jassim Rahma25-Apr-10 0:06
Jassim Rahma25-Apr-10 0:06 
GeneralRe: unresolved hashtable problem Pin
Som Shekhar25-Apr-10 0:17
Som Shekhar25-Apr-10 0:17 
GeneralRe: unresolved hashtable problem Pin
Jassim Rahma25-Apr-10 0:23
Jassim Rahma25-Apr-10 0:23 
GeneralRe: unresolved hashtable problem Pin
Som Shekhar25-Apr-10 0:33
Som Shekhar25-Apr-10 0:33 
GeneralRe: unresolved hashtable problem Pin
Jassim Rahma25-Apr-10 1:14
Jassim Rahma25-Apr-10 1:14 
GeneralRe: unresolved hashtable problem Pin
Som Shekhar25-Apr-10 1:25
Som Shekhar25-Apr-10 1:25 
jrahma wrote:
you might say because hashtable is not initilized or somkething similar.. but why? that's my question...


Well, this is the answer not the question. You need to go through your code step by step and find out where the hashtable was initialized.

I went through the complete discussion once again on MSDN. What i understand is that you are utilizing the same hashtable from different forms but you are initializing them separately.

I suggest making a small change of making the class and variable static and see if this solves your purpose:

static class public_class
    {
        public static Hashtable _sysem_parameters_hash;

        public static void get_system_parameters()
        {
            _sysem_parameters_hash = new Hashtable();
            _sysem_parameters_hash.Add("Name", "Jassim Rahma");
        }
    }

GeneralRe: unresolved hashtable problem [modified] Pin
Jassim Rahma26-Apr-10 3:48
Jassim Rahma26-Apr-10 3:48 
GeneralRe: unresolved hashtable problem Pin
Som Shekhar26-Apr-10 3:54
Som Shekhar26-Apr-10 3:54 
GeneralRe: unresolved hashtable problem Pin
Jassim Rahma26-Apr-10 12:35
Jassim Rahma26-Apr-10 12:35 
GeneralRe: unresolved hashtable problem Pin
Som Shekhar26-Apr-10 17:41
Som Shekhar26-Apr-10 17:41 
QuestionVariable of type Pin
jabbawok20-Apr-10 10:18
jabbawok20-Apr-10 10:18 
AnswerRe: Variable of type Pin
Anthony Mushrow20-Apr-10 10:31
professionalAnthony Mushrow20-Apr-10 10:31 
GeneralRe: Variable of type Pin
jabbawok20-Apr-10 10:37
jabbawok20-Apr-10 10:37 
AnswerRe: Variable of type Pin
Luc Pattyn20-Apr-10 10:34
sitebuilderLuc Pattyn20-Apr-10 10:34 
GeneralRe: Variable of type Pin
jabbawok20-Apr-10 10:54
jabbawok20-Apr-10 10:54 
GeneralRe: Variable of type Pin
jabbawok20-Apr-10 11:00
jabbawok20-Apr-10 11:00 
GeneralRe: Variable of type Pin
Luc Pattyn20-Apr-10 11:09
sitebuilderLuc Pattyn20-Apr-10 11:09 
GeneralRe: Variable of type Pin
jabbawok20-Apr-10 12:53
jabbawok20-Apr-10 12:53 
GeneralRe: Variable of type Pin
Luc Pattyn20-Apr-10 11:03
sitebuilderLuc Pattyn20-Apr-10 11:03 
GeneralRe: Variable of type Pin
jabbawok20-Apr-10 11:12
jabbawok20-Apr-10 11:12 
GeneralRe: Variable of type Pin
Luc Pattyn20-Apr-10 11:15
sitebuilderLuc Pattyn20-Apr-10 11:15 
GeneralRe: Variable of type Pin
jabbawok20-Apr-10 11:23
jabbawok20-Apr-10 11:23 
AnswerRe: Variable of type Pin
jabbawok20-Apr-10 12:56
jabbawok20-Apr-10 12:56 

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.