Click here to Skip to main content
15,896,726 members
Home / Discussions / C#
   

C#

 
GeneralRe: access data base Pin
PIEBALDconsult7-Apr-10 17:26
mvePIEBALDconsult7-Apr-10 17:26 
GeneralRe: access data base Pin
PIEBALDconsult7-Apr-10 17:23
mvePIEBALDconsult7-Apr-10 17:23 
GeneralRe: access data base Pin
Not Active8-Apr-10 1:37
mentorNot Active8-Apr-10 1:37 
Questionhow to load data from a xml file to sqlserver table? Pin
babak dev7-Apr-10 9:12
babak dev7-Apr-10 9:12 
AnswerRe: how to load data from a xml file to sqlserver table? Pin
OriginalGriff7-Apr-10 9:14
mveOriginalGriff7-Apr-10 9:14 
GeneralRe: how to load data from a xml file to sqlserver table? Pin
babak dev7-Apr-10 9:40
babak dev7-Apr-10 9:40 
GeneralRe: how to load data from a xml file to sqlserver table? Pin
Not Active7-Apr-10 10:07
mentorNot Active7-Apr-10 10:07 
GeneralRe: how to load data from a xml file to sqlserver table? Pin
babak dev7-Apr-10 19:59
babak dev7-Apr-10 19:59 
QuestionActivator.CreateInstance error [modified] Pin
Fayu7-Apr-10 9:00
Fayu7-Apr-10 9:00 
AnswerRe: Activator.CreateInstance error Pin
Fayu7-Apr-10 9:09
Fayu7-Apr-10 9:09 
QuestionAnyone worked with Microsoft.Office.Interop.MSProject? Pin
ziwez07-Apr-10 8:29
ziwez07-Apr-10 8:29 
AnswerRe: Anyone worked with Microsoft.Office.Interop.MSProject? Pin
William Winner7-Apr-10 12:27
William Winner7-Apr-10 12:27 
QuestionChanging the text properties of a text box. Pin
Darrall7-Apr-10 8:18
Darrall7-Apr-10 8:18 
AnswerRe: Changing the text properties of a text box. Pin
OriginalGriff7-Apr-10 8:30
mveOriginalGriff7-Apr-10 8:30 
GeneralRe: Changing the text properties of a text box. Pin
Darrall7-Apr-10 9:04
Darrall7-Apr-10 9:04 
GeneralRe: Changing the text properties of a text box. Pin
OriginalGriff7-Apr-10 9:35
mveOriginalGriff7-Apr-10 9:35 
GeneralRe: Changing the text properties of a text box. Pin
Darrall7-Apr-10 10:00
Darrall7-Apr-10 10:00 
GeneralRe: Changing the text properties of a text box. Pin
OriginalGriff7-Apr-10 22:02
mveOriginalGriff7-Apr-10 22:02 
GeneralRe: Changing the text properties of a text box. Pin
Darrall8-Apr-10 5:10
Darrall8-Apr-10 5:10 
GeneralRe: Changing the text properties of a text box. Pin
OriginalGriff8-Apr-10 5:23
mveOriginalGriff8-Apr-10 5:23 
Anywhere you like!
I would suggest loading the path into the TextBox on form load (and put it into the SelectedPath property of the FolderBrowserDialog as well).
Then when the user presses the OK button in the FolderBrowserDialog, load up the TextBox, and save the new path.

You can replace "MySetting" with your own name(s), and the same for "Defaulted value" and "My new setting value". So if you want a setting called "ThisIsThePathTheIdiotUserWantsMeToUse", you can, and access it via
string s = Properties.Settings.Default.ThisIsThePathTheIdiotUserWantsMeToUse;
However, I wouldn't recommend it as the settings file is in XML and is thus human readable... Laugh | :laugh:
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy

GeneralRe: Changing the text properties of a text box. Pin
Darrall8-Apr-10 7:22
Darrall8-Apr-10 7:22 
Questionproblem when running a delay signed assembly in another pc Pin
prasadbuddhika7-Apr-10 6:33
prasadbuddhika7-Apr-10 6:33 
QuestionWhile Loop sucking up all processor's cpu cycles Pin
BuggingMe7-Apr-10 6:17
BuggingMe7-Apr-10 6:17 
AnswerRe: While Loop sucking up all processor's cpu cycles Pin
Not Active7-Apr-10 6:41
mentorNot Active7-Apr-10 6:41 
GeneralRe: While Loop sucking up all processor's cpu cycles Pin
BuggingMe7-Apr-10 6:58
BuggingMe7-Apr-10 6:58 

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.