run application

jutiyi

Member
Joined
Feb 16, 2005
Messages
14
Programming Experience
1-3
i want to run second application that stored in the d:\ drive from my first application that stored in the C:\Documents and Settings\ipcl\Desktop\ShuJuan Project\Downloading\


But i use System.Diagnostics.Process.Start("D:\Project\bin\myfile.exe") .

The second application still't can't work.

I think because of they stored in different location.So,it can't find the image file that stored in the D:\Project\Icon_Image folder.


So,The error message appear("System.IO.FileNotFoundException: C:\Documents and Settings\ipcl\Desktop\ShuJuan Project\Downloading\Icon_image\baby_girl.gif

So,i think i need to do the ChangeDirectory function.

Can anyone teach me how???
urgent!!

Really thanks a lot.
 
Back
Top