Click here to Skip to main content
11,713,845 members (85,289 online)
   

C#

 
QuestionBinary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization. Pin
kandel1519-Feb-13 14:25
memberkandel1519-Feb-13 14:25 
AnswerRe: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization. Pin
BobJanova20-Feb-13 0:04
memberBobJanova20-Feb-13 0:04 
AnswerRe: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization. Pin
Pete O'Hanlon20-Feb-13 0:11
protectorPete O'Hanlon20-Feb-13 0:11 
QuestionWindows Mobile Pin
aymen amri19-Feb-13 5:04
memberaymen amri19-Feb-13 5:04 
AnswerRe: Windows Mobile Pin
Abhinav S19-Feb-13 5:49
mvpAbhinav S19-Feb-13 5:49 
GeneralRe: Windows Mobile Pin
aymen amri19-Feb-13 22:44
memberaymen amri19-Feb-13 22:44 
AnswerRe: Windows Mobile Pin
Pete O'Hanlon19-Feb-13 6:00
protectorPete O'Hanlon19-Feb-13 6:00 
GeneralRe: Windows Mobile Pin
aymen amri19-Feb-13 22:42
memberaymen amri19-Feb-13 22:42 
AnswerRe: Windows Mobile Pin
Pete O'Hanlon20-Feb-13 2:12
protectorPete O'Hanlon20-Feb-13 2:12 
QuestionHow to create dynamic menu Pin
ebrahim kalteh19-Feb-13 1:36
memberebrahim kalteh19-Feb-13 1:36 
AnswerRe: How to create dynamic menu Pin
BobJanova19-Feb-13 3:06
memberBobJanova19-Feb-13 3:06 
GeneralRe: How to create dynamic menu Pin
ebrahim kalteh19-Feb-13 8:13
memberebrahim kalteh19-Feb-13 8:13 
GeneralRe: How to create dynamic menu Pin
Jibesh19-Feb-13 8:58
memberJibesh19-Feb-13 8:58 
QuestionCLOSING FORMS Pin
airmigjr19-Feb-13 0:29
memberairmigjr19-Feb-13 0:29 
Hi people,
I've a doubt:
Today I work with Java, but I started teaching C# to beginners.
I created two forms, each one has a button on the middle of the form. When I click the button of the first form, the second form appears and the first form disappears. When I click the button from second form, (the one that appeared), the first form appears and the second form disappears.
It's just to teach how the methods .Show() and .Hide() works. Now it's working, but I've a problem: When my software is running over Visual Studio, normally if I were, for example, working with just a form, clicking on (X) to close the app, the IDE came back to development mode. But on my app, after I show some punch of clicks to go to a form and to came back to the other, even if I had been on any of the forms (first or second), if I click to close the app, It does not happens.... I have to click Shift+Control+F5 to came back to development mode, and still doesn't happens again, the form appears, and I have to close it (again), so THEN I go to development mode... Weird.... Could someone help-me ?
I'm hiding the first form, and opening the other using
<pre lang="c#">
Form form2 = new Form();
form2.Show();
this.Hide();
and inside the Form2:
<pre lang="c#">
Form form1 = new Form();
form1.Show();
this.Hide();

AnswerRe: CLOSING FORMS Pin
N a v a n e e t h19-Feb-13 1:05
memberN a v a n e e t h19-Feb-13 1:05 
AnswerRe: CLOSING FORMS Pin
V.19-Feb-13 1:23
memberV.19-Feb-13 1:23 
GeneralRe: CLOSING FORMS Pin
Jegan Thiyagesan19-Feb-13 3:26
memberJegan Thiyagesan19-Feb-13 3:26 
AnswerRe: CLOSING FORMS Pin
Dave Kreskowiak19-Feb-13 2:11
mvpDave Kreskowiak19-Feb-13 2:11 
GeneralRe: CLOSING FORMS Pin
airmigjr19-Feb-13 3:25
memberairmigjr19-Feb-13 3:25 
GeneralRe: CLOSING FORMS Pin
Dave Kreskowiak19-Feb-13 10:25
mvpDave Kreskowiak19-Feb-13 10:25 
AnswerRe: CLOSING FORMS Pin
BobJanova19-Feb-13 3:03
memberBobJanova19-Feb-13 3:03 
AnswerRe: CLOSING FORMS Pin
Shameel20-Feb-13 4:47
memberShameel20-Feb-13 4:47 
QuestionSetup Package for C# Windows application Pin
zead18-Feb-13 23:02
memberzead18-Feb-13 23:02 
AnswerRe: Setup Package for C# Windows application Pin
N a v a n e e t h19-Feb-13 1:08
memberN a v a n e e t h19-Feb-13 1:08 
Questionc# 64 bit .net c++ dll reference problem Pin
peter46218-Feb-13 22:54
memberpeter46218-Feb-13 22:54 
AnswerRe: c# 64 bit .net c++ dll reference problem Pin
N a v a n e e t h19-Feb-13 1:02
memberN a v a n e e t h19-Feb-13 1:02 
AnswerRe: c# 64 bit .net c++ dll reference problem Pin
Dave Kreskowiak19-Feb-13 2:16
mvpDave Kreskowiak19-Feb-13 2:16 
GeneralRe: c# 64 bit .net c++ dll reference problem Pin
harold aptroot19-Feb-13 3:19
memberharold aptroot19-Feb-13 3:19 
QuestionHow to read out whole static text present on external application's Input boxes or message boxes in C# Pin
sham bhand18-Feb-13 20:51
membersham bhand18-Feb-13 20:51 
AnswerRe: How to read out whole static text present on external application's Input boxes or message boxes in C# Pin
N a v a n e e t h18-Feb-13 22:27
memberN a v a n e e t h18-Feb-13 22:27 
AnswerRe: How to read out whole static text present on external application's Input boxes or message boxes in C# Pin
Gerry Schmitz19-Feb-13 20:27
memberGerry Schmitz19-Feb-13 20:27 
GeneralRe: How to read out whole static text present on external application's Input boxes or message boxes in C# Pin
sham bhand21-Feb-13 4:48
membersham bhand21-Feb-13 4:48 
GeneralRe: How to read out whole static text present on external application's Input boxes or message boxes in C# Pin
Gerry Schmitz21-Feb-13 8:40
memberGerry Schmitz21-Feb-13 8:40 
Question[SOLVED] Not Getting CPU Usage Pin
AmbiguousName18-Feb-13 18:51
memberAmbiguousName18-Feb-13 18:51 
QuestionC# run a process Pin
classy_dog18-Feb-13 7:02
memberclassy_dog18-Feb-13 7:02 
AnswerRe: C# run a process Pin
Eddy Vluggen18-Feb-13 7:48
mvpEddy Vluggen18-Feb-13 7:48 
GeneralRe: C# run a process Pin
classy_dog18-Feb-13 8:22
memberclassy_dog18-Feb-13 8:22 
GeneralRe: C# run a process Pin
Eddy Vluggen18-Feb-13 8:30
mvpEddy Vluggen18-Feb-13 8:30 
GeneralRe: C# run a process Pin
classy_dog18-Feb-13 14:04
memberclassy_dog18-Feb-13 14:04 
GeneralRe: C# run a process Pin
Eddy Vluggen18-Feb-13 22:31
mvpEddy Vluggen18-Feb-13 22:31 
GeneralRe: C# run a process Pin
classy_dog19-Feb-13 5:38
memberclassy_dog19-Feb-13 5:38 
GeneralRe: C# run a process Pin
Eddy Vluggen19-Feb-13 9:34
mvpEddy Vluggen19-Feb-13 9:34 
QuestionThread.Sleep is NOT evil Pin
devvvy18-Feb-13 5:55
memberdevvvy18-Feb-13 5:55 
AnswerRe: Thread.Sleep is NOT evil Pin
Pete O'Hanlon18-Feb-13 6:15
protectorPete O'Hanlon18-Feb-13 6:15 
GeneralRe: Thread.Sleep is NOT evil Pin
devvvy18-Feb-13 13:29
memberdevvvy18-Feb-13 13:29 
GeneralRe: Thread.Sleep is NOT evil Pin
N a v a n e e t h18-Feb-13 16:12
memberN a v a n e e t h18-Feb-13 16:12 
GeneralTHANK YOU - this is the answer I was looking for. Pin
devvvy19-Feb-13 12:53
memberdevvvy19-Feb-13 12:53 
GeneralRe: Thread.Sleep is NOT evil Pin
Pete O'Hanlon18-Feb-13 20:43
protectorPete O'Hanlon18-Feb-13 20:43 
GeneralApplication Exit vs Thread.Abort? Pin
devvvy19-Feb-13 13:12
memberdevvvy19-Feb-13 13:12 
GeneralRe: Thread.Sleep is NOT evil Pin
Simon_Whale18-Feb-13 13:41
memberSimon_Whale18-Feb-13 13:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 2 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid