Click here to Skip to main content
15,900,724 members
Home / Discussions / C#
   

C#

 
GeneralWeb browser control & printing Pin
Alex Korchemniy24-Nov-03 6:43
Alex Korchemniy24-Nov-03 6:43 
GeneralRe: Web browser control & printing Pin
Heath Stewart24-Nov-03 7:50
protectorHeath Stewart24-Nov-03 7:50 
GeneralRe: Web browser control & printing Pin
Alex Korchemniy24-Nov-03 8:20
Alex Korchemniy24-Nov-03 8:20 
GeneralRe: Web browser control & printing Pin
Heath Stewart24-Nov-03 8:48
protectorHeath Stewart24-Nov-03 8:48 
GeneralRe: Web browser control & printing Pin
Alex Korchemniy24-Nov-03 9:15
Alex Korchemniy24-Nov-03 9:15 
GeneralRe: Web browser control & printing Pin
Heath Stewart24-Nov-03 9:51
protectorHeath Stewart24-Nov-03 9:51 
GeneralRe: Web browser control & printing Pin
Alex Korchemniy24-Nov-03 10:59
Alex Korchemniy24-Nov-03 10:59 
GeneralExtending System.Collections.Hashtable Pin
Thomas Gondorf24-Nov-03 5:27
Thomas Gondorf24-Nov-03 5:27 
Hi,

I am new to C# and trying to create an extended Class Library that extends Hashtable.

I have created a new class like this:

'public class SerializeableHashtable: System.Collections.Hashtable'

In a method called Load i load a Hashtable object from file and try to set it to SerializeableHashtable like this:

public System.Collections.Hashtable LoadHashtableForSample()
{
System.Collections.Hashtable table = new System.Collections.Hashtable();
return table;
}

public void Load()
{
this = LoadHashtableForSample(); // fails because this is readonly
base = LoadHashtableForSample(); // fails because it is not the right context for base ?!?
}

Both of the things i try in Load fails. So the big question is: How can i assign the Hashtable object to SerializeableHashtable? (In C++ it works using the this pointer ...)

Thanks a lot in advance

Thomas
GeneralRe: Extending System.Collections.Hashtable Pin
jparsons24-Nov-03 6:00
jparsons24-Nov-03 6:00 
GeneralRe: Extending System.Collections.Hashtable Pin
Heath Stewart24-Nov-03 7:07
protectorHeath Stewart24-Nov-03 7:07 
GeneralRe: Extending System.Collections.Hashtable Pin
jparsons24-Nov-03 12:20
jparsons24-Nov-03 12:20 
GeneralRe: Extending System.Collections.Hashtable Pin
Heath Stewart24-Nov-03 15:52
protectorHeath Stewart24-Nov-03 15:52 
GeneralRe: Extending System.Collections.Hashtable Pin
Thomas Gondorf24-Nov-03 21:51
Thomas Gondorf24-Nov-03 21:51 
GeneralInterface? Abstract? DLL? Component? please help Pin
sammyh24-Nov-03 5:23
sammyh24-Nov-03 5:23 
GeneralRe: Interface? Abstract? DLL? Component? please help Pin
Heath Stewart24-Nov-03 7:25
protectorHeath Stewart24-Nov-03 7:25 
Generalwww.itbooksearch.com.Huge IT ebook resources,You need not amazon any more. Each $4. Pin
Anonymous24-Nov-03 2:04
Anonymous24-Nov-03 2:04 
Generaldrag & drop image from IE Pin
trythat24-Nov-03 1:48
trythat24-Nov-03 1:48 
GeneralRe: drag & drop image from IE Pin
Heath Stewart24-Nov-03 4:47
protectorHeath Stewart24-Nov-03 4:47 
GeneralRe: drag & drop image from IE Pin
trythat24-Nov-03 6:47
trythat24-Nov-03 6:47 
GeneralUsing custom controls in Windows Forms Pin
Radoslav Bielik24-Nov-03 0:20
Radoslav Bielik24-Nov-03 0:20 
GeneralRe: Using custom controls in Windows Forms Pin
Heath Stewart24-Nov-03 5:12
protectorHeath Stewart24-Nov-03 5:12 
GeneralRe: Using custom controls in Windows Forms Pin
Radoslav Bielik24-Nov-03 5:17
Radoslav Bielik24-Nov-03 5:17 
GeneralRe: Using custom controls in Windows Forms Pin
Barry Lapthorn24-Nov-03 10:07
protectorBarry Lapthorn24-Nov-03 10:07 
GeneralRe: Using custom controls in Windows Forms Pin
Heath Stewart24-Nov-03 10:11
protectorHeath Stewart24-Nov-03 10:11 
GeneralRe: Using custom controls in Windows Forms Pin
Barry Lapthorn24-Nov-03 11:25
protectorBarry Lapthorn24-Nov-03 11:25 

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.