API's

Which .DLL file would have a function for copying a file from a to b?
timsickAsked:
Who is Participating?
 
deightonConnect With a Mentor progCommented:

Declare Function LZCopy Lib "lz32.dll" Alias "LZCopy" (ByVal hfSource As Long, ByVal hfDest As Long) As Long

0
 
web_crusherCommented:
for what the hell u need dll for that easy action?
0
 
alamoCommented:
You don't need an API - VB has a built in command to copy a file:

FileCopy sourcename,destinationname
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
deightonprogCommented:
Thes comments are true but a dll was asked for.
0
 
timsickAuthor Commented:
To comments : I'm actually using PowerBuilder but There wasn'T any section for it....

I still got my answer!
0
 
RUSTYCommented:
Now, all must be done is graded, sir timsick.
0
 
timsickAuthor Commented:
I decided to go with system32.dll with the filecopy function.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.