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

C#

 
GeneralRe: balloon tooltips in .net 2.0 Pin
Ravi Bhavnani24-Mar-06 1:53
professionalRavi Bhavnani24-Mar-06 1:53 
AnswerRe: balloon tooltips in .net 2.0 Pin
Luis Alonso Ramos24-Mar-06 5:39
Luis Alonso Ramos24-Mar-06 5:39 
QuestionUsing a C DLL in a C# Application... Pin
signbit23-Mar-06 6:04
signbit23-Mar-06 6:04 
AnswerRe: Using a C DLL in a C# Application... Pin
Judah Gabriel Himango23-Mar-06 6:13
sponsorJudah Gabriel Himango23-Mar-06 6:13 
GeneralRe: Using a C DLL in a C# Application... Pin
Mridang Agarwalla23-Mar-06 6:42
Mridang Agarwalla23-Mar-06 6:42 
GeneralRe: Using a C DLL in a C# Application... Pin
Judah Gabriel Himango23-Mar-06 7:08
sponsorJudah Gabriel Himango23-Mar-06 7:08 
Questionupload file to the server c# win form Pin
fady_sayegh23-Mar-06 5:57
fady_sayegh23-Mar-06 5:57 
QuestionUserSettings in VS 2005, how they serialize? Pin
TigerNinja_23-Mar-06 4:49
TigerNinja_23-Mar-06 4:49 
In VS 2005 (Winforms Project) you have the following class supplied for you :

class Settings : global::System.Configuration.ApplicationSettingsBase {

This class is actually created by the designer. With the designer you can define your settings (Expand properites folder, and select Settings file). It is nice grid with drop downs that allow you to easily add new settings. The grid columns are basically "Name", "Type", "Scope", "Default Value". Now I haven't had any problems, until I wanted to use a different type that was not in the drop down for the "Type" column.

Documentation says this relating to serialization (supplied by the LocalFileSettingsProvider class):

Serializes the property to disk. It first attempts to call the ConvertToString or ConvertFromString on the type's associated TypeConverter. If this does not succeed, it uses XML serialization instead.


So according to this I would think I could use a setting with the type being set to Hashtable, no? So when I add a setting and set type to Hashtable, I then investigate the xml where it gets persisted, and find a placeholder for the hashtable, with an attribute on the xml node stating "serializeas= xml", but NO values are saved. Doesn't a Hashtable serialize to Xml without any customizations?

I can not find any examples of code where people use Hashtable as a user setting, so any help or reference is greatly appreciated.

R.Bischoff

Tengas un buen dia


AnswerRe: UserSettings in VS 2005, how they serialize? Pin
TigerNinja_23-Mar-06 5:28
TigerNinja_23-Mar-06 5:28 
QuestionRelay information back to parent window. Pin
zaboboa23-Mar-06 4:01
zaboboa23-Mar-06 4:01 
AnswerRe: Relay information back to parent window. Pin
LongRange.Shooter23-Mar-06 4:22
LongRange.Shooter23-Mar-06 4:22 
GeneralRe: Relay information back to parent window. Pin
zaboboa23-Mar-06 4:32
zaboboa23-Mar-06 4:32 
Questioncasting an abstract class to a subclass Pin
gregbowe23-Mar-06 3:53
gregbowe23-Mar-06 3:53 
AnswerRe: casting an abstract class to a subclass Pin
Stefan Troschuetz23-Mar-06 4:04
Stefan Troschuetz23-Mar-06 4:04 
GeneralRe: casting an abstract class to a subclass Pin
gregbowe23-Mar-06 4:29
gregbowe23-Mar-06 4:29 
GeneralRe: casting an abstract class to a subclass Pin
J4amieC23-Mar-06 4:47
J4amieC23-Mar-06 4:47 
GeneralRe: casting an abstract class to a subclass Pin
gregbowe23-Mar-06 5:17
gregbowe23-Mar-06 5:17 
GeneralRe: casting an abstract class to a subclass Pin
Stefan Troschuetz23-Mar-06 4:59
Stefan Troschuetz23-Mar-06 4:59 
QuestionPLEASE HELP ME IN THIS PROBLEM Pin
snouto23-Mar-06 3:00
snouto23-Mar-06 3:00 
AnswerRe: PLEASE HELP ME IN THIS PROBLEM Pin
leppie23-Mar-06 9:41
leppie23-Mar-06 9:41 
QuestionOutlook Pin
Talktorajeev23-Mar-06 2:46
Talktorajeev23-Mar-06 2:46 
AnswerRe: Outlook Pin
Judah Gabriel Himango23-Mar-06 6:11
sponsorJudah Gabriel Himango23-Mar-06 6:11 
GeneralRe: Outlook Pin
Talktorajeev23-Mar-06 16:13
Talktorajeev23-Mar-06 16:13 
GeneralRe: Outlook Pin
Judah Gabriel Himango23-Mar-06 16:30
sponsorJudah Gabriel Himango23-Mar-06 16:30 
QuestionPlease see this problem..... Pin
sam_g123-Mar-06 1:08
sam_g123-Mar-06 1:08 

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.