Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
GeneralCrystal Report Work with C# Pin
Thaer Hamael18-Apr-08 23:05
Thaer Hamael18-Apr-08 23:05 
GeneralRe: Crystal Report Work with C# Pin
Bert delaVega19-Apr-08 0:38
Bert delaVega19-Apr-08 0:38 
GeneralPerformanceCounter Problem Pin
stancrm18-Apr-08 23:00
stancrm18-Apr-08 23:00 
GeneralRe: PerformanceCounter Problem Pin
Anthony Mushrow19-Apr-08 2:12
professionalAnthony Mushrow19-Apr-08 2:12 
GeneralRe: PerformanceCounter Problem Pin
stancrm19-Apr-08 11:15
stancrm19-Apr-08 11:15 
QuestionHow to get TaskFlow output as XML file from DSL tool Pin
Maddie from Dartford18-Apr-08 18:32
Maddie from Dartford18-Apr-08 18:32 
Questionwindows service using C# read from SQL database Pin
Knowledgestudent18-Apr-08 12:09
Knowledgestudent18-Apr-08 12:09 
GeneralRe: windows service using C# read from SQL database Pin
PIEBALDconsult18-Apr-08 13:41
mvePIEBALDconsult18-Apr-08 13:41 
GeneralRe: windows service using C# read from SQL database Pin
Knowledgestudent19-Apr-08 7:35
Knowledgestudent19-Apr-08 7:35 
GeneralRe: windows service using C# read from SQL database Pin
PIEBALDconsult20-Apr-08 16:31
mvePIEBALDconsult20-Apr-08 16:31 
Generallog4net and QueryHelper in .NET 1.1 stopped returing results Pin
.NET4Ever18-Apr-08 11:36
.NET4Ever18-Apr-08 11:36 
GeneralOpenFileDialog and SaveFileDialog [modified] Pin
cocoonwls18-Apr-08 8:59
cocoonwls18-Apr-08 8:59 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
Gareth H18-Apr-08 9:33
Gareth H18-Apr-08 9:33 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
cocoonwls18-Apr-08 10:16
cocoonwls18-Apr-08 10:16 
AnswerRe: OpenFileDialog and SaveFileDialog Pin
Spacix One18-Apr-08 9:55
Spacix One18-Apr-08 9:55 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
cocoonwls18-Apr-08 10:12
cocoonwls18-Apr-08 10:12 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
Dave Kreskowiak18-Apr-08 10:19
mveDave Kreskowiak18-Apr-08 10:19 
This is problably because you're not using fully qualified paths in your code or your using CurrentDirectory in it. You should ALWAYS build fully qualified paths to files in your code to avoid this very problem.

Also, using CurrentDirectory to build a path name is not a good idea because all of the File dialog's change what the current directory is and, therefore, can inadventantly change your file paths if they are not built properly.


A guide to posting questions on CodeProject[^]



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




AnswerRe: OpenFileDialog and SaveFileDialog Pin
Spacix One18-Apr-08 10:40
Spacix One18-Apr-08 10:40 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
Matthew Butler18-Apr-08 11:07
Matthew Butler18-Apr-08 11:07 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
Dave Kreskowiak18-Apr-08 15:26
mveDave Kreskowiak18-Apr-08 15:26 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
cocoonwls18-Apr-08 15:43
cocoonwls18-Apr-08 15:43 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
cocoonwls18-Apr-08 15:31
cocoonwls18-Apr-08 15:31 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
Dave Kreskowiak18-Apr-08 15:34
mveDave Kreskowiak18-Apr-08 15:34 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
cocoonwls18-Apr-08 15:45
cocoonwls18-Apr-08 15:45 
GeneralRe: OpenFileDialog and SaveFileDialog Pin
darkelv18-Apr-08 15:54
darkelv18-Apr-08 15:54 

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.