Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot used DriveInfo() on UNC drive
Message
From
02/11/2006 02:13:18
 
 
To
01/11/2006 18:51:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01166071
Message ID:
01166512
Views:
14
>Designer complaining! Oh well I didn't use designer and UInt64 compiled w/o errors.

Presently, this is defined as follow:
        Public nAvailableByte As Double = 0
        Public nFreeSpace As Double = 0
        Public nFreeSpaceToCaller As Double = 0
I do not have any error nor any warning at the designer level. However, if I change all those three lines to Int64, GetDiskFreeSpaceEx() complains that:

Implicit conversion from 'Double' to 'Long' in copying the value of 'ByRef' parameter 'lpTotalNumberOfBytes' back to the matching argument.

I see also that the GetDiskFreeSpaceEx() line does require a double. This is what the intellisense is showing. So, it seems that everything is properly defined. The problem seems to reside somewhere else.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform