473,385 Members | 2,180 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,385 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 1126
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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...

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.