473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Application Startup Directory

Can anybody tell me how can I get application startup directory in C++?
Nov 16 '05 #1
2 11223
this is a C# newsgroup, but if your using C++.NET then it's the same

Application.ExecutablePath;
Application.StartupPath;

HTH
Sam

"David" <da*********@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Can anybody tell me how can I get application startup directory in C++?

Nov 16 '05 #2

"David" <da*********@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Can anybody tell me how can I get application startup directory in C++?


System::Windows::Forms::Application::ExecutablePat h

Willy.
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Yi | last post by:
Hello, I have a console application that is compiled with VB.NET 1.0. On a machine that has a .NET 1.1 framework, when I run the application, it gives an error message...
4
by: Thomas Koch | last post by:
Hi - I would like to load other files relative to the application config file. Do anyone know if this is possible? If I do Environment.CurrentDirectory it will work if the program is launched...
0
by: David | last post by:
Can anybody tell me how can I get application startup directory in C++?
10
by: appdevtech | last post by:
A little background… We have multiple web servers in a farm and are starting to upgrade some applications to 1.1 by re-compiling in VS2003. One of the things out of our direct control is the...
11
by: Steve Franks | last post by:
I'm using VS.NET 2005 Beta 2. I have a helper C# class I wrote that I placed in my /App_Code directory. Everything runs fine locally. However when I use the "Copy Web" function to upload the site...
3
by: Daniel Clark | last post by:
I have a Windows command line based application that only shuts down cleanly if it sees "CTRL-C" on the console. I need to automate the running of this application, but still allow the user sitting...
3
by: kimiraikkonen | last post by:
Hello experts, I want my external application run from the root folder where my project (.exe) resides. For example, my main project (.exe) should be in the same directory with my external file...
0
by: =?Utf-8?B?TmF0aGFuIEdsYXNzZXI=?= | last post by:
Hello, We have a program we are building with Visual Studio 2005 for x86. In the past we used Visual Studio 6, and there was no problem. With Visual Studio 2005, if we build the executable...
3
by: xMetalDetectorx | last post by:
I have a small application that reads and writes to flat files located in the same folder as the executable. This is the code I'm using to insert it into the registry: RegistryKey rkApp =...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.