Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: Capturing Trace messages Pin
S. Senthil Kumar9-Jun-05 6:17
S. Senthil Kumar9-Jun-05 6:17 
GeneralRe: Capturing Trace messages Pin
Marc Clifton9-Jun-05 12:25
mvaMarc Clifton9-Jun-05 12:25 
GeneralRe: Capturing Trace messages Pin
Michael P Butler9-Jun-05 9:25
Michael P Butler9-Jun-05 9:25 
GeneralRe: Capturing Trace messages Pin
Marc Clifton9-Jun-05 12:27
mvaMarc Clifton9-Jun-05 12:27 
Questionlocalization question -- maybe Heath knows???? Pin
LongRange.Shooter9-Jun-05 4:37
LongRange.Shooter9-Jun-05 4:37 
AnswerRe: localization question -- maybe Heath knows???? Pin
Anonymous9-Jun-05 5:05
Anonymous9-Jun-05 5:05 
GeneralData in DataTables Pin
exhaulted9-Jun-05 4:05
exhaulted9-Jun-05 4:05 
GeneralRe: Data in DataTables Pin
Robert Rohde9-Jun-05 8:42
Robert Rohde9-Jun-05 8:42 
GeneralGet IP Address Pin
Anonymous9-Jun-05 3:36
Anonymous9-Jun-05 3:36 
GeneralRe: Get IP Address Pin
leppie9-Jun-05 3:46
leppie9-Jun-05 3:46 
GeneralRe: Get IP Address Pin
Dave Kreskowiak9-Jun-05 8:16
mveDave Kreskowiak9-Jun-05 8:16 
QuestionConvert Hex strings to Long/Decimals? Pin
Chua Wen Ching9-Jun-05 3:33
Chua Wen Ching9-Jun-05 3:33 
AnswerRe: Convert Hex strings to Long/Decimals? Pin
S. Senthil Kumar9-Jun-05 6:32
S. Senthil Kumar9-Jun-05 6:32 
QuestionData grid clinet behavior? Pin
hassan azizi9-Jun-05 3:08
hassan azizi9-Jun-05 3:08 
Questionjava script? Pin
hassan azizi9-Jun-05 3:05
hassan azizi9-Jun-05 3:05 
Generalaxwebbrowser event not working on other machines Pin
Green Fuze9-Jun-05 3:03
Green Fuze9-Jun-05 3:03 
Questionjava script security? Pin
hassan azizi9-Jun-05 2:59
hassan azizi9-Jun-05 2:59 
Question200 files limited prolem with OpenFileDialog? Pin
Khoa Bui9-Jun-05 2:51
Khoa Bui9-Jun-05 2:51 
AnswerRe: 200 files limited prolem with OpenFileDialog? Pin
Dave Kreskowiak9-Jun-05 8:02
mveDave Kreskowiak9-Jun-05 8:02 
GeneralHow can I design my own OpenFileDialog? Pin
Khoa Bui11-Jun-05 17:26
Khoa Bui11-Jun-05 17:26 
GeneralRe: How can I design my own OpenFileDialog? Pin
Dave Kreskowiak12-Jun-05 4:06
mveDave Kreskowiak12-Jun-05 4:06 
Generaldrag a picturebox Pin
Anonymous9-Jun-05 1:34
Anonymous9-Jun-05 1:34 
GeneralSelectedPath() not working in FolderBrowserDialog Pin
Anonymous9-Jun-05 1:27
Anonymous9-Jun-05 1:27 
I have the following code:
//Create an FolderBrowserDialog
FolderBrowserDialog folderDlg = new FolderBrowserDialog();
folderDlg.RootFolder = Environment.SpecialFolder.MyComputer;
folderDlg.ShowNewFolderButton = false;
folderDlg.Description = "Select the folder"; 
folderDlg.SelectedPath = strPath;//which is defined earlier and is checked to be a valid path
			
DialogResult result = folderDlg.ShowDialog();
if( result == DialogResult.OK )
{
   //some code here
}

However, when the FolderBrowserDialog is shown, the initial folder is not set even though SelectedPath property is used as above. Similar experience is noticed by me in some other code on similar occasions as well. In fact, in this situation, there is some other abnormality as the OK button is shown enabled for My Computer folder also which is not so when this property is not set. On the other hand, if I set the SelectedPath property as something like @"C:\Program Files\", then it is correctly shown.

What can be the reason? Am I missing something?
GeneralRe: SelectedPath() not working in FolderBrowserDialog Pin
Robert Rohde12-Jun-05 4:19
Robert Rohde12-Jun-05 4:19 
Generalquestion in using matlab dll in c# Pin
hediii9-Jun-05 1:22
hediii9-Jun-05 1:22 

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.