Click here to Skip to main content
15,886,362 members
Home / Discussions / C#
   

C#

 
QuestionDrop Down List Issue Pin
sebogawa1-Jun-09 11:47
sebogawa1-Jun-09 11:47 
AnswerRe: Drop Down List Issue Pin
Christian Graus1-Jun-09 12:24
protectorChristian Graus1-Jun-09 12:24 
QuestionMessage Removed Pin
1-Jun-09 11:29
professionalN_tro_P1-Jun-09 11:29 
AnswerRe: Active Directory Issues Pin
Luc Pattyn1-Jun-09 11:34
sitebuilderLuc Pattyn1-Jun-09 11:34 
QuestionMessage Removed Pin
1-Jun-09 11:47
professionalN_tro_P1-Jun-09 11:47 
AnswerRe: Active Directory Issues Pin
Luc Pattyn1-Jun-09 11:56
sitebuilderLuc Pattyn1-Jun-09 11:56 
GeneralMessage Removed Pin
2-Jun-09 3:10
professionalN_tro_P2-Jun-09 3:10 
GeneralRe: Active Directory Issues Pin
Luc Pattyn2-Jun-09 3:49
sitebuilderLuc Pattyn2-Jun-09 3: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 3:56
professionalN_tro_P2-Jun-09 3:56 
AnswerRe: Active Directory Issues Pin
Luc Pattyn2-Jun-09 4:01
sitebuilderLuc Pattyn2-Jun-09 4:01 
QuestionEnable Disable Hardware of the BIOS from c# Pin
droo991-Jun-09 10:36
droo991-Jun-09 10:36 
AnswerRe: Enable Disable Hardware of the BIOS from c# Pin
Henry Minute1-Jun-09 10:45
Henry Minute1-Jun-09 10:45 
GeneralRe: Enable Disable Hardware of the BIOS from c# Pin
droo991-Jun-09 10:50
droo991-Jun-09 10:50 
GeneralRe: Enable Disable Hardware of the BIOS from c# Pin
Henry Minute1-Jun-09 10:53
Henry Minute1-Jun-09 10:53 
AnswerRe: Enable Disable Hardware of the BIOS from c# Pin
Henry Minute1-Jun-09 11:36
Henry Minute1-Jun-09 11:36 
GeneralRe: Enable Disable Hardware of the BIOS from c# Pin
droo992-Jun-09 4:12
droo992-Jun-09 4:12 
QuestionCustom controls and Design Mode Pin
Dan Neely1-Jun-09 9:07
Dan Neely1-Jun-09 9:07 
AnswerRe: Custom controls and Design Mode Pin
Luc Pattyn1-Jun-09 9:21
sitebuilderLuc Pattyn1-Jun-09 9:21 
GeneralRe: Custom controls and Design Mode Pin
Dan Neely1-Jun-09 9:53
Dan Neely1-Jun-09 9:53 
GeneralRe: Custom controls and Design Mode Pin
Luc Pattyn1-Jun-09 10:05
sitebuilderLuc Pattyn1-Jun-09 10:05 
AnswerRe: Custom controls and Design Mode Pin
Nicholas Butler1-Jun-09 9:52
sitebuilderNicholas Butler1-Jun-09 9:52 
GeneralRe: Custom controls and Design Mode Pin
Dan Neely1-Jun-09 9:55
Dan Neely1-Jun-09 9:55 
GeneralRe: Custom controls and Design Mode Pin
Nicholas Butler1-Jun-09 10:00
sitebuilderNicholas Butler1-Jun-09 10:00 
GeneralRe: Custom controls and Design Mode Pin
Dan Neely1-Jun-09 10:06
Dan Neely1-Jun-09 10:06 
GeneralRe: Custom controls and Design Mode Pin
Nicholas Butler1-Jun-09 10:10
sitebuilderNicholas Butler1-Jun-09 10: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.