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

C#

 
GeneralRe: Help with this PieChart control Pin
leppie1-May-04 22:31
leppie1-May-04 22:31 
GeneralRe: Help with this PieChart control Pin
Alan Zhao2-May-04 13:19
Alan Zhao2-May-04 13:19 
GeneralDeployment to Quick Launch Toolbar Pin
betterc1-May-04 13:18
betterc1-May-04 13:18 
GeneralRe: Deployment to Quick Launch Toolbar Pin
gUrM33T1-May-04 18:07
gUrM33T1-May-04 18:07 
GeneralRe: Deployment to Quick Launch Toolbar Pin
betterc2-May-04 6:08
betterc2-May-04 6:08 
GeneralRe: Deployment to Quick Launch Toolbar Pin
Heath Stewart2-May-04 6:26
protectorHeath Stewart2-May-04 6:26 
GeneralRe: Deployment to Quick Launch Toolbar Pin
betterc2-May-04 6:36
betterc2-May-04 6:36 
GeneralRe: Deployment to Quick Launch Toolbar Pin
Heath Stewart2-May-04 6:56
protectorHeath Stewart2-May-04 6:56 
GeneralRe: Deployment to Quick Launch Toolbar Pin
betterc2-May-04 7:00
betterc2-May-04 7:00 
GeneralRe: Deployment to Quick Launch Toolbar Pin
Heath Stewart2-May-04 7:04
protectorHeath Stewart2-May-04 7:04 
GeneralRe: Deployment to Quick Launch Toolbar Pin
betterc2-May-04 7:16
betterc2-May-04 7:16 
GeneralRe: Deployment to Quick Launch Toolbar Pin
Heath Stewart2-May-04 6:20
protectorHeath Stewart2-May-04 6:20 
QuestionFull Screen / Change Reso? Pin
Acidon1-May-04 12:05
Acidon1-May-04 12:05 
AnswerRe: Full Screen / Change Reso? Pin
Meysam Mahfouzi1-May-04 16:37
Meysam Mahfouzi1-May-04 16:37 
GeneralRe: Full Screen / Change Reso? Pin
Acidon1-May-04 17:37
Acidon1-May-04 17:37 
GeneralRe: Full Screen / Change Reso? Pin
Heath Stewart2-May-04 6:19
protectorHeath Stewart2-May-04 6:19 
GeneralRe: Full Screen / Change Reso? Pin
Acidon2-May-04 9:35
Acidon2-May-04 9:35 
GeneralHandling a car in a 2d game Pin
Snowjim1-May-04 9:07
Snowjim1-May-04 9:07 
GeneralRe: Handling a car in a 2d game Pin
leppie1-May-04 9:17
leppie1-May-04 9:17 
GeneralRe: Handling a car in a 2d game Pin
leppie1-May-04 9:28
leppie1-May-04 9:28 
Generalfiles needed by application Pin
mookeroo1-May-04 4:00
mookeroo1-May-04 4:00 
GeneralRe: files needed by application Pin
leppie1-May-04 5:45
leppie1-May-04 5:45 
GeneralRe: files needed by application Pin
Heath Stewart2-May-04 6:14
protectorHeath Stewart2-May-04 6:14 
Actually, a better way is to use the Application.StartupPath. The current working directory (which you can get using Environment.CurrentDirectory) is not always the directory into which your application is installed. The Application.StartupPath is.

Also, you can use Environment.GetFolderPath with the various special folders defined in Environment.SpecialFolder to get the path of that folder as defined by the system. For example, while [ProgramFilesFolder] is a Windows Installer property for the "Program Files" older, you can use the Environment.SpecialFolder.ProgramFiles enum member to get the directory using Environment.GetFolderPath.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: files needed by application Pin
mookeroo2-May-04 12:30
mookeroo2-May-04 12:30 
GeneralLock the mouse to my application Pin
Member 8094091-May-04 2:08
Member 8094091-May-04 2:08 

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.