05-27-2008 07:51 PM
hi need help
let say the 1st time it open it should b in default folder
later the user choose the path and close it
the next time the user run it , it should b show the path the user choosen
not the default path
hoe to do this........
05-28-2008 01:24 AM
Hi jeyanthi,
here is an example for you.
Hope it helps.
Mike
05-28-2008 01:37 AM
05-28-2008 01:40 AM
05-28-2008 01:47 AM - edited 05-28-2008 01:49 AM
05-28-2008 02:11 AM - edited 05-28-2008 02:14 AM
im sry ... i also confused edy
this method my senior teached me b4
actually i have to read the text file frm default folder and pass to the dest select by user..
wen the second time the user open .exe the choose the text file is must b the one the user choose before and so do the destination path.
plz help
thk u
05-28-2008 02:40 AM
Hi jeyanthi,
in this case you can read the ini file, which exists beside the executable. At the first time you write your default path in. If your program run you can first read the pathes, then copy your file, and after that update the pathes in the ini file.
Mike
05-28-2008 02:48 AM
05-28-2008 04:00 AM
Hi jeyanthi,
here is a start how you can do it. You have to insert the read and write function.
Hope it helps.
Mike