Click here to Skip to main content
16,013,489 members
Home / Discussions / C#
   

C#

 
GeneralUsing the DAO pattern Pin
wweiss125828-Mar-05 7:55
wweiss125828-Mar-05 7:55 
GeneralGetting Size of a Process Pin
Peter Vertes28-Mar-05 6:13
Peter Vertes28-Mar-05 6:13 
GeneralRe: Getting Size of a Process Pin
Peter Vertes28-Mar-05 17:25
Peter Vertes28-Mar-05 17:25 
GeneralUsing WshShell to create shortcut - COMException Pin
DanielBr28-Mar-05 5:13
DanielBr28-Mar-05 5:13 
GeneralEvent Handler and ctrl.Update() questions... Pin
new_phoenix28-Mar-05 4:49
new_phoenix28-Mar-05 4:49 
Questionhow to make the area of desktop behind this area accesble by user from within this area ? Pin
Sabry190528-Mar-05 3:44
Sabry190528-Mar-05 3:44 
GeneralWindows configuration file Pin
Member 44721728-Mar-05 3:43
Member 44721728-Mar-05 3:43 
GeneralRe: Windows configuration file Pin
Dave Kreskowiak28-Mar-05 5:35
mveDave Kreskowiak28-Mar-05 5:35 
Because every time you do a complete rebuild of the application, the output directories get cleaned out. You might want to try putting the .INI file either in the application project folder or where the application can find it on the Path, like in the %WINDIR% folder, which, BTW, is not always C:\WINDOWS.

By putting it in the application project folder, this folder will not get cleaned out when you rebuild your project. If your code is written correctly, it will not assume that the current directory is whatever directory the app was launched from. Instead, your code should ask the system from what directory is was launched from, then look in the directory for the configuration file.

Check into storing Application.StartupPath and/or Environment.CurrentDirectory when your application starts and using it later to locate your configuration file.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Windows configuration file Pin
Member 44721728-Mar-05 20:37
Member 44721728-Mar-05 20:37 
GeneralRe: Windows configuration file Pin
Guinness4Strength29-Mar-05 3:17
Guinness4Strength29-Mar-05 3:17 
Questionhow to make an area in the form have an opacity less than the hole form? Pin
Sabry190528-Mar-05 3:42
Sabry190528-Mar-05 3:42 
Questionhow to make users have the ability to make manual resizing for a rectangular or nonrectangular form only from one side of its 4 sides ? Pin
Sabry190528-Mar-05 2:06
Sabry190528-Mar-05 2:06 
Question)how to make users have the ability to make manual resizing for a nonrectangular From ? Pin
Sabry190528-Mar-05 2:04
Sabry190528-Mar-05 2:04 
QuestionDetect the USB device by logical disk name? Pin
delemur28-Mar-05 1:24
delemur28-Mar-05 1:24 
GeneralC# code generation tool Pin
Rizal Alwin28-Mar-05 1:10
sussRizal Alwin28-Mar-05 1:10 
GeneralRe: C# code generation tool Pin
Dave Kreskowiak28-Mar-05 5:26
mveDave Kreskowiak28-Mar-05 5:26 
GeneralVB to C# Pin
abandito28-Mar-05 0:53
abandito28-Mar-05 0:53 
GeneralRe: VB to C# Pin
DavidNohejl28-Mar-05 1:02
DavidNohejl28-Mar-05 1:02 
GeneralRe: VB to C# Pin
abandito28-Mar-05 1:13
abandito28-Mar-05 1:13 
GeneralRe: VB to C# Pin
DavidNohejl28-Mar-05 1:22
DavidNohejl28-Mar-05 1:22 
GeneralRe: VB to C# Pin
abandito28-Mar-05 1:36
abandito28-Mar-05 1:36 
Generalequivalaent of the delphi WITH statement Pin
sephless28-Mar-05 0:46
sephless28-Mar-05 0:46 
GeneralRe: equivalaent of the delphi WITH statement Pin
Wraith228-Mar-05 1:02
Wraith228-Mar-05 1:02 
GeneralRe: equivalaent of the delphi WITH statement Pin
DavidNohejl28-Mar-05 1:07
DavidNohejl28-Mar-05 1:07 
GeneralRe: equivalaent of the delphi WITH statement Pin
Dave Doknjas28-Mar-05 8:27
Dave Doknjas28-Mar-05 8:27 

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.