473,395 Members | 1,343 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,395 software developers and data experts.

.NET app is changing current directory

Our windows forms app appears to be changing its current directory without
any code performing this action. At some random time during the day, the
current directory will be switched to:
C:\Program Files\Common Files\System\Mapi\1033

There is no code in the app to do this. Any ideas what could be causing
this to occur?

Thanks,
John
Nov 22 '05 #1
1 1128
Just a guess...maybe it looking at an environment
variable, i.e. Temp or something, that is being reset by
another app.

Sounds like you may need to specify the path in an .ini
file.

Good luck.
-----Original Message-----
Our windows forms app appears to be changing its current directory withoutany code performing this action. At some random time during the day, thecurrent directory will be switched to:
C:\Program Files\Common Files\System\Mapi\1033

There is no code in the app to do this. Any ideas what could be causingthis to occur?

Thanks,
John
.

Nov 22 '05 #2

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

Similar topics

5
by: skip | last post by:
A simple script like the one below lets me jump through a directory structure. However, if I run it from /this/directory and within it to go to /a/totally/different/directory... I'm still...
1
by: John Bauer | last post by:
Our windows forms app appears to be changing its current directory without any code performing this action. At some random time during the day, the current directory will be switched to:...
4
by: John | last post by:
All: I'm using a Borland c++ compiler (v5.5) on a WinXP box and I'm interested in writing a routine that has the OS change to a specified directory and execute an application that resides there....
4
by: Greg Merideth | last post by:
Is it possible to change the default templates in VS 2003? Everytime I start a new web method project I have to include a ton of version control headers and region tags. It would be handy to be...
3
by: Alur | last post by:
Changing the current directory with the help of dialog window(MFC app) We can change directory with the help of the following code: CFileDialog m_ldFile(TRUE);...
2
by: j | last post by:
Hello everybody my problem is related to internet explorer. By default internet explorer can access my computer and all drive to save, download, open files. i want to restrict this access to...
2
by: Andy B. | last post by:
I've got a python utility that I want to change my shell's current directory based on criteria it finds. I've scoured google and the python cookbook and can't seem to figure out if this is even...
9
by: silverburgh.meryl | last post by:
i am trying to use python to walk thru each subdirectory from a top directory. Here is my script: savedPagesDirectory = "/home/meryl/saved_pages/data" dir=open(savedPagesDirectory, 'r') ...
3
by: tedpottel | last post by:
Hi, I'm trying to write a ftp in python to send files to my webserverr. Curtly I will change the directory to the folder name, down load the file, then do a chnag dir ..\ to go back to the root...
2
by: jehugaleahsa | last post by:
Hello: Correct me if I'm wrong, but it appears that saving a file with the SaveFileDialog changes the Environment.CurrentDirectory property. How can I prevent this? Thanks, Travis
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.