Click here to Skip to main content
15,913,338 members
Home / Discussions / C#
   

C#

 
AnswerRe: DataGridView Size Pin
TheFoZ20-May-09 4:32
TheFoZ20-May-09 4:32 
GeneralRe: DataGridView Size Pin
m1220-May-09 4:39
m1220-May-09 4:39 
GeneralRe: DataGridView Size Pin
Alan N20-May-09 4:47
Alan N20-May-09 4:47 
AnswerRe: DataGridView Size Pin
musefan20-May-09 4:39
musefan20-May-09 4:39 
GeneralRe: DataGridView Size Pin
m1220-May-09 4:45
m1220-May-09 4:45 
AnswerRe: DataGridView Size Pin
Dave Kreskowiak20-May-09 6:00
mveDave Kreskowiak20-May-09 6:00 
QuestionRelative file path referencing problem Pin
Jacobus0120-May-09 4:09
Jacobus0120-May-09 4:09 
AnswerRe: Relative file path referencing problem Pin
Dave Kreskowiak20-May-09 5:58
mveDave Kreskowiak20-May-09 5:58 
Jacobus01 wrote:
my relative reference needs to look like this: "..\\RMS_IMCS\\RMS_IMCS_WIN\bin\DBconnection.sec"


I would highly recommend building a fully qualified path to the file. Using relative paths is problematic because the CurrentDirectory for you app can change without you knowing it. So, get the fully qualified path to your executable, then use the methods in the Path class to manipulate that path to give you the one you want.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Relative file path referencing problem Pin
Jacobus0120-May-09 21:17
Jacobus0120-May-09 21:17 
GeneralRe: Relative file path referencing problem Pin
Dave Kreskowiak21-May-09 1:49
mveDave Kreskowiak21-May-09 1:49 
GeneralRe: Relative file path referencing problem Pin
Jacobus0121-May-09 1:59
Jacobus0121-May-09 1:59 
GeneralRe: Relative file path referencing problem Pin
Dave Kreskowiak21-May-09 16:16
mveDave Kreskowiak21-May-09 16:16 
QuestionAccessViolationException when using the qapuiek.dll Pin
TheFoZ20-May-09 3:28
TheFoZ20-May-09 3:28 
AnswerRe: AccessViolationException when using the qapuiek.dll Pin
Luc Pattyn20-May-09 4:36
sitebuilderLuc Pattyn20-May-09 4:36 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
TheFoZ20-May-09 4:52
TheFoZ20-May-09 4:52 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Luc Pattyn20-May-09 4:56
sitebuilderLuc Pattyn20-May-09 4:56 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
TheFoZ20-May-09 5:04
TheFoZ20-May-09 5:04 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Luc Pattyn20-May-09 5:43
sitebuilderLuc Pattyn20-May-09 5:43 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Dave Kreskowiak20-May-09 5:53
mveDave Kreskowiak20-May-09 5:53 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Luc Pattyn20-May-09 6:05
sitebuilderLuc Pattyn20-May-09 6:05 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Dave Kreskowiak20-May-09 6:28
mveDave Kreskowiak20-May-09 6:28 
GeneralRe: AccessViolationException when using the qapuiek.dll Pin
Luc Pattyn20-May-09 6:42
sitebuilderLuc Pattyn20-May-09 6:42 
QuestionWindows service apps Pin
saeidfarahi20-May-09 3:11
saeidfarahi20-May-09 3:11 
AnswerRe: Windows service apps Pin
PIEBALDconsult20-May-09 3:25
mvePIEBALDconsult20-May-09 3:25 
QuestionRemoving AutoIncrement from Access database column Pin
Eduard Keilholz20-May-09 2:51
Eduard Keilholz20-May-09 2:51 

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.