Solved

API's

Posted on 1998-07-27
7
165 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

624 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