Solved

API Call Doesn't Work After Deployment

Posted on 2004-04-25
3
284 Views
Last Modified: 2012-05-04
I'm using an API call to get Volume Size and Free Disk space (GetFreeDiskSpaceEX) on a windows 2000 machine. When I run the EXe it works. When I complie and move to another Win 2k machine all values come back blank.

What am I forgetting.

Thanx

PO
0
Comment
Question by:povern
  • 2
3 Comments
 
LVL 11

Expert Comment

by:bingie
ID: 10914238
Is VB SP5 installed on the other machine? It is possible that the computer is missing other components that is required to make the app work.

Download it here:

http://www.cityofangels.com/Experts/vbrun60sp5.exe

You might need to package your app with some of the required .dlls to make it work.

Bingie

0
 

Author Comment

by:povern
ID: 10920687
The other machine does not have VB installed on it. The development machine is running VB6 with SP5 on it.

Any other ideas?


Thanx

PO
0
 
LVL 11

Accepted Solution

by:
bingie earned 125 total points
ID: 10923521
The other machine might require some of the .dlls that is included in VB Sp5.0.

Try installing that to rule it out.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

758 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

17 Experts available now in Live!

Get 1:1 Help Now