Click here to Skip to main content
15,896,111 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: OpenFileDialog and SaveFileDialog [modified] Pin
Spacix One19-Apr-08 3:59
Spacix One19-Apr-08 3:59 
GeneralRetrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 Pin
random418-Apr-08 8:46
random418-Apr-08 8:46 
QuestionBiztalk Developers/Architects? Pin
sksassociates18-Apr-08 8:37
sksassociates18-Apr-08 8:37 
QuestionWhat happoned to System.Uri(string, bool)?? [modified] Pin
Spacix One18-Apr-08 8:36
Spacix One18-Apr-08 8:36 
AnswerRe: What happoned to System.Uri(string, bool)?? Pin
Spacix One18-Apr-08 9:40
Spacix One18-Apr-08 9:40 
QuestionC# SQL Exception Error Pin
hobbsieoz18-Apr-08 8:32
hobbsieoz18-Apr-08 8:32 
AnswerRe: C# SQL Exception Error Pin
Jimmanuel18-Apr-08 9:10
Jimmanuel18-Apr-08 9:10 
GeneralRe: C# SQL Exception Error Pin
hobbsieoz18-Apr-08 20:48
hobbsieoz18-Apr-08 20:48 
GeneralRe: C# SQL Exception Error Pin
Jimmanuel19-Apr-08 2:30
Jimmanuel19-Apr-08 2:30 

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.