|
-
Apr 25th, 2000, 11:54 PM
#1
Thread Starter
Addicted Member
-
Apr 26th, 2000, 12:04 AM
#2
mhhh... use dde comunication to let you're program close if it is running, copy the file to the right folder, and run you're prog again.
or u use the RunOnce reg-key(s)
hope that helps
talon
btw: don't know why u use this lame font at the subject....
-
Apr 26th, 2000, 12:09 AM
#3
OK, it was funny once, but please dont use that ©R@ppY font every time. i know its not a font, but what the hell else would you call it! 
-
Apr 26th, 2000, 01:46 AM
#4
Thread Starter
Addicted Member
info: wer will kann mit mir auch deutsch reden.... *g*
ad font: it's simple fun! 
and it catches the readers eyes....
how to use the dde comm. ? (bidde nich mehr in engl wenn möglich...das is zu kompliziert...)
is it possible to add the .exe to the project and then write it to the hd with
open "" for output binary as .....
???
m€
-
Apr 26th, 2000, 07:19 AM
#5
Lively Member
here is a way to copy your prgoram while it is running:
just use the 'app.path+"\"+app.exename' for the input file, it does work while its runing, its the copy routine i used for my self Extracting EXE...
î Mäðè à §îMþ£Ê þ®óG®ÀM †HÁ† ðôÊš †HΧ, †HÏš îš è¤†ëñÐÊÐ ©HîÂç†ô®š, †HË ÇHä®Ç†Ö®š W̆H †Hë ã§ÇÎí Vå£Ûè G®ËÂ†è® †HÅÑ 127.
äÃÃÄéÊééêÈÏíÌÌìõÖÓÒÒûÙÚÚÙÚÛ
{
SUB copy (inputfile$, outputfile$)
DEFINT A-Z
FreFil1 = FREEFILE
OPEN inputfile$ FOR BINARY AS #4
FreFil2 = FREEFILE
OPEN outputfile$ FOR BINARY AS #5
DO
r = r + 1
IF r * 1024& > LOF(4) THEN t = LOF(4) - ((r - 1) * 1024&) ELSE t = 1024&
a$ = SPACE$(t)
GET #4, , a$
PUT #5, , a$
LOOP UNTIL LOF(4) = LOF(5)
CLOSE #4, #5
END SUB
}
Brandon D
B.A.D. Software
[email protected]
http://bad5887.homepage.com
[Edited by Bad5887 on 04-26-2000 at 08:22 PM]
[Edited by Bad5887 on 04-26-2000 at 08:23 PM]
-
Apr 27th, 2000, 10:22 PM
#6
Thread Starter
Addicted Member
thanx

now it worx
-
Apr 28th, 2000, 04:31 AM
#7
Junior Member
Hello this is VB!!!
It is VB! Not QB!
To ©opy a file:
Code:
dim Van as string
dim Naar as string
van = "c:\command.com"
naar = "c:\backup\command.com"
filecopy Van, Naar
-
Apr 28th, 2000, 10:34 PM
#8
Thread Starter
Addicted Member
it worx already....
and i dont know, if filecopy is able to copy the running program.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|