Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

API's

Posted on 1998-07-27
7
Medium Priority
?
167 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 150 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

886 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