delphi, file Directory problem!!

delphi, file Directory problem!! - Delphi/Pascal - Programmation

Marsh Posté le 23-02-2012 à 20:26:00    

Hello All,
well i just started Delphi programming and i kind have a problem:
I made a program which looks like this :
 
http://imageshack.us/photo/my-imag [...] re1fg.png/
 
if i click Exercice1 it shows this window :
 
http://imageshack.us/photo/my-imag [...] re2rq.png/
 
and if i click on source code it opens a txt file which contain the source code of Ex1 made by C++:
 
http://imageshack.us/photo/my-imag [...] re3tb.png/
 
and if i click on Exe it opens a program that i made using C++ :
 
http://imageshack.us/photo/my-imag [...] re4wo.png/
 
but here comes the problem, this program works only because i made a directory in Delphi code in Exercice1 and Source Code Buttons like this :http://imageshack.us/photo/my-imag [...] re5zl.png/
 
and if i go to that directory i find these 2 folders :
 
http://imageshack.us/photo/my-imag [...] ure6o.png/
 
which contain E1.txt(Sources) and E1.exe(Ex) but if i move these 2 folders,and click source or exe button nothing happens  
 
 
 
So my program lets u choose from 1to20 exercises t hen source code and exe for that exercise made by C++
and i want to keep the C++ Source and exe for each program that's my aim
so please how can i modify the program that even copy those 2 folders to let's say C:\ProgramFiles please help


Message édité par Esselami le 23-02-2012 à 20:33:34
Reply

Marsh Posté le 23-02-2012 à 20:26:00   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed