Click here to Skip to main content
14,773,818 members
Home » Discussions » C#
   

C#

 
GeneralRe: how to display Form2 by click button in Form1 Pin
musefan17-Jun-09 7:42
Membermusefan17-Jun-09 7:42 
GeneralRe: how to display Form2 by click button in Form1 Pin
xingselex17-Jun-09 7:52
Memberxingselex17-Jun-09 7:52 
GeneralRe: how to display Form2 by click button in Form1 Pin
musefan17-Jun-09 8:37
Membermusefan17-Jun-09 8:37 
GeneralRe: how to display Form2 by click button in Form1 Pin
Christian Graus17-Jun-09 14:43
protectorChristian Graus17-Jun-09 14:43 
QuestionVerifying SSL Certificate for https Link Pin
singhdurgesh17-Jun-09 6:38
Membersinghdurgesh17-Jun-09 6:38 
AnswerRe: Verifying SSL Certificate for https Link Pin
singhdurgesh18-Jun-09 2:24
Membersinghdurgesh18-Jun-09 2:24 
QuestionMultiple Object Type Serialization Pin
David Muir17-Jun-09 6:34
MemberDavid Muir17-Jun-09 6:34 
AnswerRe: Multiple Object Type Serialization Pin
I Believe In GOD17-Jun-09 9:41
MemberI Believe In GOD17-Jun-09 9:41 
string ConfigFile = @"c:\MyConfig.cfg";

// Save 
int a = 10;

string b = "hi";

DataTable c = new DataTable();

Stream StreamFile = File.Open(ConfigFile, FileMode.CreateNew);
BinaryFormatter binformat = new BinaryFormatter();
binformat.Serialize(StreamFile, a);
binformat.Serialize(StreamFile, b);
binformat.Serialize(StreamFile, c);
StreamFile.Close();



// Read 
 Stream StreamFile = File.Open(ConfigFile, FileMode.Open);
 BinaryFormatter binformat = new BinaryFormatter();

int a1 = (int)binformat.Deserialize(StreamFile);
string b1 = (string)binformat.Deserialize(StreamFile);
DataTable c1 = (DataTable)binformat.Deserialize(StreamFile);
StreamFile.Close();


I know nothing , I know nothing ...

GeneralRe: Multiple Object Type Serialization Pin
David Muir17-Jun-09 23:46
MemberDavid Muir17-Jun-09 23:46 
GeneralRe: Multiple Object Type Serialization Pin
I Believe In GOD18-Jun-09 5:28
MemberI Believe In GOD18-Jun-09 5:28 
QuestionWindows service. Mobile service? Pin
Yosh_17-Jun-09 5:41
professionalYosh_17-Jun-09 5:41 
AnswerRe: Windows service. Mobile service? Pin
Matt Cavanagh17-Jun-09 6:21
MemberMatt Cavanagh17-Jun-09 6:21 
GeneralRe: Windows service. Mobile service? Pin
Yosh_17-Jun-09 6:37
professionalYosh_17-Jun-09 6:37 
GeneralRe: Windows service. Mobile service? Pin
Matt Cavanagh17-Jun-09 6:44
MemberMatt Cavanagh17-Jun-09 6:44 
Questioncreating crystal report by passing multiple parameter in store procedure Pin
pupilstuff17-Jun-09 5:12
Memberpupilstuff17-Jun-09 5:12 
AnswerRe: creating crystal report by passing multiple parameter in store procedure Pin
Michael Bookatz17-Jun-09 5:23
MemberMichael Bookatz17-Jun-09 5:23 
QuestionReading from resource file in C# through access violation exception sometimes Pin
cancerion17-Jun-09 4:54
Membercancerion17-Jun-09 4:54 
AnswerRe: Reading from resource file in C# through access violation exception sometimes Pin
Michael Bookatz17-Jun-09 5:09
MemberMichael Bookatz17-Jun-09 5:09 
GeneralRe: Reading from resource file in C# through access violation exception sometimes Pin
Luc Pattyn17-Jun-09 5:24
sitebuilderLuc Pattyn17-Jun-09 5:24 
JokeRe: Reading from resource file in C# through access violation exception sometimes Pin
Michael Bookatz17-Jun-09 5:28
MemberMichael Bookatz17-Jun-09 5:28 
GeneralRe: Reading from resource file in C# through access violation exception sometimes Pin
molesworth17-Jun-09 5:29
Membermolesworth17-Jun-09 5:29 
AnswerRe: Reading from resource file in C# through access violation exception sometimes Pin
OriginalGriff17-Jun-09 5:48
mveOriginalGriff17-Jun-09 5:48 
GeneralI object Pin
Luc Pattyn17-Jun-09 6:13
sitebuilderLuc Pattyn17-Jun-09 6:13 
GeneralRe: I object Pin
OriginalGriff17-Jun-09 6:18
mveOriginalGriff17-Jun-09 6:18 
QuestionPDF virtual printer in c# Pin
JurieBurie17-Jun-09 4:19
MemberJurieBurie17-Jun-09 4:19 

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.