Solved

API's

Posted on 1998-07-27
7
160 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

809 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