Solved

API's

Posted on 1998-07-27
7
159 Views
Last Modified: 2010-05-03
Which .DLL file would have a function for copying a file from a to b?
0
Comment
Question by:timsick
7 Comments
 
LVL 18

Accepted Solution

by:
deighton earned 50 total points
ID: 1466803

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

0
 
LVL 1

Expert Comment

by:web_crusher
ID: 1466804
for what the hell u need dll for that easy action?
0
 
LVL 6

Expert Comment

by:alamo
ID: 1466805
You don't need an API - VB has a built in command to copy a file:

FileCopy sourcename,destinationname
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 18

Expert Comment

by:deighton
ID: 1466806
Thes comments are true but a dll was asked for.
0
 

Author Comment

by:timsick
ID: 1466807
To comments : I'm actually using PowerBuilder but There wasn'T any section for it....

I still got my answer!
0
 

Expert Comment

by:RUSTY
ID: 1466808
Now, all must be done is graded, sir timsick.
0
 

Author Comment

by:timsick
ID: 1466809
I decided to go with system32.dll with the filecopy function.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question