|
-
Mar 11th, 2002, 06:43 PM
#1
Thread Starter
Hyperactive Member
Duplicate yourself?
Is it possible to copy the app you are running to another directory? How?
Kind Regards,
Pieter
PS: If you found someone's answer helpful, please be so kind to rate that person.
Thanks.
-
Mar 11th, 2002, 07:00 PM
#2
You can programmatically copy your own programs .Exe to anywhere, essentially, that you wish.
What is your goal?
-
Mar 11th, 2002, 07:08 PM
#3
Frenzied Member
no... you can't copy a file thats in use...
Government is another way to say better…than…you.
It’s like ice but no pick, a murder charge that won’t stick,
it’s like a whole other world where you can smell the food,
but you can’t touch the silverware.
Huh, what luck. Fascism you can vote for.
Humph, isn’t that sweet?
And we’re all gonna die some day, because that’s the American way
-Stone Sour
-
Mar 12th, 2002, 07:25 AM
#4
I believe SKitchen8, that you are thinking about a database. You can't copy a database while it is open, but a running exe is another animal.
-
Mar 12th, 2002, 12:43 PM
#5
Thread Starter
Hyperactive Member
Thx fellow Belgian...
Too bad that I don't understand your code. Would it be possible to code an example for me pls? Need the code very badly.
Thx!
Kind Regards,
Pieter
PS: If you found someone's answer helpful, please be so kind to rate that person.
Thanks.
-
Mar 12th, 2002, 01:07 PM
#6
VB Code:
FileCopy App.Path & "\YourProg.Exe", "c:\backup\YourProg.Exe"
-
Mar 12th, 2002, 05:39 PM
#7
Frenzied Member
or of course, you can use the name statement provided within Visual Basic
Name ("C:\whater", "C:\whatever")
Government is another way to say better…than…you.
It’s like ice but no pick, a murder charge that won’t stick,
it’s like a whole other world where you can smell the food,
but you can’t touch the silverware.
Huh, what luck. Fascism you can vote for.
Humph, isn’t that sweet?
And we’re all gonna die some day, because that’s the American way
-Stone Sour
-
Mar 13th, 2002, 12:03 PM
#8
New Member
The Name statement renames a file and moves it to a different directory or folder, if necessary. Name can move a file across drives, but it can only rename an existing directory or folder when both newpathname and oldpathname are located on the same drive. Name cannot create a new file, directory, or folder.
Using Name on an open file produces an error. You must close an open file before renaming it. Name arguments cannot include multiple-character (*) and single-character (?) wildcards.
-
Mar 13th, 2002, 04:10 PM
#9
Frenzied Member
okay, im done w/ this thread... why can't i just be right for once??
Government is another way to say better…than…you.
It’s like ice but no pick, a murder charge that won’t stick,
it’s like a whole other world where you can smell the food,
but you can’t touch the silverware.
Huh, what luck. Fascism you can vote for.
Humph, isn’t that sweet?
And we’re all gonna die some day, because that’s the American way
-Stone Sour
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
|