Click here to Skip to main content
15,891,864 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to clear MemoryStream ? Pin
Santhosh Thakur12-Oct-11 1:36
Santhosh Thakur12-Oct-11 1:36 
QuestionMy sound stops playing when the form loses focus Pin
DemonicDominic2-Sep-08 10:04
DemonicDominic2-Sep-08 10:04 
AnswerRe: My sound stops playing when the form loses focus Pin
leckey2-Sep-08 10:36
leckey2-Sep-08 10:36 
AnswerRe: My sound stops playing when the form loses focus Pin
oobimoo2-Sep-08 10:37
oobimoo2-Sep-08 10:37 
QuestionRun executable Pin
netDeveloper2-Sep-08 9:55
netDeveloper2-Sep-08 9:55 
QuestionSaving and Loading Information from a form Pin
Chris Kentlea2-Sep-08 9:44
Chris Kentlea2-Sep-08 9:44 
AnswerRe: Saving and Loading Information from a form Pin
Pete O'Hanlon2-Sep-08 10:13
mvePete O'Hanlon2-Sep-08 10:13 
AnswerRe: Saving and Loading Information from a form Pin
MarkB7772-Sep-08 12:58
MarkB7772-Sep-08 12:58 
A settings file would be the easiest way.

You can find it under the Properties tab in the solution explorer.

Add variables to it, and then you can save and load data using

<br />
// Load data<br />
*** = Properties.Settings.Default.***;<br />
<br />
//Save data<br />
Properties.Settings.Default.*** = ***<br />
Properties.Setting.Default.Save();<br />


This way your variables will be saved between sessions.

Mark Brock
"We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen
Click here to view my blog

GeneralRe: Saving and Loading Information from a form Pin
Chris Kentlea3-Sep-08 7:29
Chris Kentlea3-Sep-08 7:29 
GeneralRe: Saving and Loading Information from a form Pin
MarkB7773-Sep-08 12:58
MarkB7773-Sep-08 12:58 
GeneralRe: Saving and Loading Information from a form Pin
Chris Kentlea4-Sep-08 8:18
Chris Kentlea4-Sep-08 8:18 
GeneralRe: Saving and Loading Information from a form Pin
MarkB7774-Sep-08 12:17
MarkB7774-Sep-08 12:17 
Questionconnect to dataase Pin
NiloofarNoroozi2-Sep-08 7:46
NiloofarNoroozi2-Sep-08 7:46 
AnswerRe: connect to dataase Pin
Blue_Boy2-Sep-08 8:05
Blue_Boy2-Sep-08 8:05 
AnswerRe: connect to dataase Pin
Kevin Marois2-Sep-08 8:12
professionalKevin Marois2-Sep-08 8:12 
GeneralRe: connect to dataase Pin
NiloofarNoroozi2-Sep-08 9:36
NiloofarNoroozi2-Sep-08 9:36 
AnswerCP IGNORE Pin
leckey2-Sep-08 10:33
leckey2-Sep-08 10:33 
GeneralRe: CP DO NOT IGNORE Pin
Bassam Saoud2-Sep-08 11:55
Bassam Saoud2-Sep-08 11:55 
GeneralRe: CP DO NOT IGNORE Pin
leckey2-Sep-08 14:28
leckey2-Sep-08 14:28 
GeneralRe: CP DO NOT IGNORE Pin
Bassam Saoud2-Sep-08 17:20
Bassam Saoud2-Sep-08 17:20 
GeneralRe: CP DO NOT IGNORE Pin
leckey3-Sep-08 2:54
leckey3-Sep-08 2:54 
GeneralRe: CP DO NOT IGNORE Pin
chaiguy13373-Sep-08 17:37
chaiguy13373-Sep-08 17:37 
GeneralRe: CP DO NOT IGNORE Pin
Paul Conrad2-Sep-08 18:45
professionalPaul Conrad2-Sep-08 18:45 
AnswerRe: connect to dataase Pin
nelsonpaixao4-Sep-08 13:38
nelsonpaixao4-Sep-08 13:38 
QuestionSetting Brightness of DVI Display via API ? Pin
abiemann2-Sep-08 7:36
abiemann2-Sep-08 7:36 

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.