Click here to Skip to main content
15,844,903 members
Home / Discussions / C#
   

C#

 
QuestionDrop Down List Issue Pin
sebogawa1-Jun-09 12:47
sebogawa1-Jun-09 12:47 
AnswerRe: Drop Down List Issue Pin
Christian Graus1-Jun-09 13:24
protectorChristian Graus1-Jun-09 13:24 
QuestionMessage Removed Pin
1-Jun-09 12:29
professionalN_tro_P1-Jun-09 12:29 
AnswerRe: Active Directory Issues Pin
Luc Pattyn1-Jun-09 12:34
sitebuilderLuc Pattyn1-Jun-09 12:34 
QuestionMessage Removed Pin
1-Jun-09 12:47
professionalN_tro_P1-Jun-09 12:47 
AnswerRe: Active Directory Issues Pin
Luc Pattyn1-Jun-09 12:56
sitebuilderLuc Pattyn1-Jun-09 12:56 
GeneralMessage Removed Pin
2-Jun-09 4:10
professionalN_tro_P2-Jun-09 4:10 
GeneralRe: Active Directory Issues Pin
Luc Pattyn2-Jun-09 4:49
sitebuilderLuc Pattyn2-Jun-09 4:49 
Yeah, you confused me there. If you are not using OpenFileDialog, then read up on the documentation of the code you are using or contact its provider. Chances are they intended to mimick OpenFileDialog though.

When a relative path (or just a file name) is specified, .NET (and Windows) will rely on the "Current Directory" which by default starts out to be the folder holding your EXE file; however there are many ways to change it on the go (and even at app start), so it is not a recommended way of doing things.

Better set things explicitly; also have a look at the "special folders", see Environment.GetFolderPath()
with SpecialFolder.ApplicationData and CommonApplicationData (you should use a folder hierarchy in there, based on your company name and/or product name).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

QuestionMessage Removed Pin
2-Jun-09 4:56
professionalN_tro_P2-Jun-09 4:56 
AnswerRe: Active Directory Issues Pin
Luc Pattyn2-Jun-09 5:01
sitebuilderLuc Pattyn2-Jun-09 5:01 
QuestionEnable Disable Hardware of the BIOS from c# Pin
droo991-Jun-09 11:36
droo991-Jun-09 11:36 
AnswerRe: Enable Disable Hardware of the BIOS from c# Pin
Henry Minute1-Jun-09 11:45
Henry Minute1-Jun-09 11:45 
GeneralRe: Enable Disable Hardware of the BIOS from c# Pin
droo991-Jun-09 11:50
droo991-Jun-09 11:50 
GeneralRe: Enable Disable Hardware of the BIOS from c# Pin
Henry Minute1-Jun-09 11:53
Henry Minute1-Jun-09 11:53 
AnswerRe: Enable Disable Hardware of the BIOS from c# Pin
Henry Minute1-Jun-09 12:36
Henry Minute1-Jun-09 12:36 
GeneralRe: Enable Disable Hardware of the BIOS from c# Pin
droo992-Jun-09 5:12
droo992-Jun-09 5:12 
QuestionCustom controls and Design Mode Pin
Dan Neely1-Jun-09 10:07
Dan Neely1-Jun-09 10:07 
AnswerRe: Custom controls and Design Mode Pin
Luc Pattyn1-Jun-09 10:21
sitebuilderLuc Pattyn1-Jun-09 10:21 
GeneralRe: Custom controls and Design Mode Pin
Dan Neely1-Jun-09 10:53
Dan Neely1-Jun-09 10:53 
GeneralRe: Custom controls and Design Mode Pin
Luc Pattyn1-Jun-09 11:05
sitebuilderLuc Pattyn1-Jun-09 11:05 
AnswerRe: Custom controls and Design Mode Pin
Nicholas Butler1-Jun-09 10:52
sitebuilderNicholas Butler1-Jun-09 10:52 
GeneralRe: Custom controls and Design Mode Pin
Dan Neely1-Jun-09 10:55
Dan Neely1-Jun-09 10:55 
GeneralRe: Custom controls and Design Mode Pin
Nicholas Butler1-Jun-09 11:00
sitebuilderNicholas Butler1-Jun-09 11:00 
GeneralRe: Custom controls and Design Mode Pin
Dan Neely1-Jun-09 11:06
Dan Neely1-Jun-09 11:06 
GeneralRe: Custom controls and Design Mode Pin
Nicholas Butler1-Jun-09 11:10
sitebuilderNicholas Butler1-Jun-09 11:10 

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.