3
Contributors
7
Replies
8
Views
8 Years
Discussion Span
Last Post by vb5prgrmr
0

What mode? 16 or 32? If 16 on 32 bit machine it just might be your problem but it has been such a long time since I worked on 4 that I am just grasping at straws.

Good Luck

0

If I had been correct...brain gone dead, meant disc space not memory..I have 1 x 500Gig 2 x 400 gig and 1 x 250 gig. When you are installing an application produced by VB4 mine reports negative disc space, but if you ignore it, it installs anyway.

0

VB4 produced application setup..Correct me if I am wrong...In the setup program, the variable 'lAvail' is used to store available disc space. This is defined as type 'long' which I presume means it can only store numbers between -2.147billion and +2.147 billion, so having 500 billion or so of disc space would cause it to choke, so to speak..Any ideas on sorting this?

0

To tell you the truth, I don't know but in later versions of VB, the setup.exe that the user would start to install the program is a project that you can modify. See if there is a setup project where your version of VB is installed and if so make a copy of it before you even open it for modification. Then modify the copy to handle the potential larger disk sizes. I'm betting that if there is a project it uses the old version of GetDiskFreeSpace and should be replaced with GetDiskFreeSpaceEx.

Good Luck

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.