Solved

API's

Posted on 1998-07-27
7
157 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
Comment Utility

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
Comment Utility
for what the hell u need dll for that easy action?
0
 
LVL 6

Expert Comment

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

FileCopy sourcename,destinationname
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 18

Expert Comment

by:deighton
Comment Utility
Thes comments are true but a dll was asked for.
0
 

Author Comment

by:timsick
Comment Utility
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
Comment Utility
Now, all must be done is graded, sir timsick.
0
 

Author Comment

by:timsick
Comment Utility
I decided to go with system32.dll with the filecopy function.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now