Click here to Skip to main content
15,902,938 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Map Area to onclick event Pin
asalyon13-Jun-05 16:23
asalyon13-Jun-05 16:23 
GeneralRe: Map Area to onclick event Pin
Christian Graus13-Jun-05 16:26
protectorChristian Graus13-Jun-05 16:26 
GeneralPassing ARGS to C++ DLL Pin
john john mackey13-Jun-05 12:15
john john mackey13-Jun-05 12:15 
GeneralRe: Passing ARGS to C++ DLL Pin
john john mackey13-Jun-05 13:53
john john mackey13-Jun-05 13:53 
GeneralDesign Help for Fast DB Access Pin
Rob57013-Jun-05 6:43
Rob57013-Jun-05 6:43 
GeneralRe: Design Help for Fast DB Access Pin
oykica13-Jun-05 19:12
oykica13-Jun-05 19:12 
GeneralHard disk free space Pin
johnjsm13-Jun-05 5:36
johnjsm13-Jun-05 5:36 
GeneralRe: Hard disk free space Pin
ccotton33313-Jun-05 6:25
ccotton33313-Jun-05 6:25 
hey here is a loop that will find the free space and save it as a variable:
'needs this
imports system.xml
'the loop that runs a test on 4 drive with specified drive letters but you can change that to where it uses all drives on the machine
Dim fso As New Scripting.FileSystemObject
Dim drv As Scripting.Drive
For Each drv In fso.Drives
If drv.IsReady Then
If drv.DriveLetter = strDrive1 Then
decDrive1 = drv.FreeSpace
FreeDriveSpace1 = ((decDrive1 / 1024) / 1024)
End If
If drv.DriveLetter = strDrive2 Then
decDrive2 = drv.FreeSpace
FreeDriveSpace2 = ((decDrive2 / 1024) / 1024)
End If
If drv.DriveLetter = strDrive3 Then
decDrive2 = drv.FreeSpace
FreeDriveSpace3 = ((decDrive2 / 1024) / 1024)
End If
If drv.DriveLetter = strDrive4 Then
decDrive4 = drv.FreeSpace
FreeDriveSpace4 = ((decDrive4 / 1024) / 1024)
End If
End If
Next drv

Hope this helps you out.
ccotton333

GeneralRe: Hard disk free space Pin
Ray Cassick13-Jun-05 6:30
Ray Cassick13-Jun-05 6:30 
Generallabel font size autoscaling Pin
Member 94878013-Jun-05 5:04
Member 94878013-Jun-05 5:04 
GeneralSorting in Datagrid Pin
NickCrea13-Jun-05 5:01
sussNickCrea13-Jun-05 5:01 
GeneralSockets checking if a file exists Pin
ccotton33313-Jun-05 3:35
ccotton33313-Jun-05 3:35 
GeneralRe: Sockets checking if a file exists Pin
ccotton33313-Jun-05 6:30
ccotton33313-Jun-05 6:30 
GeneralRe: Sockets checking if a file exists Pin
Dave Kreskowiak13-Jun-05 6:18
mveDave Kreskowiak13-Jun-05 6:18 
GeneralRe: Sockets checking if a file exists Pin
Dave Kreskowiak13-Jun-05 9:11
mveDave Kreskowiak13-Jun-05 9:11 
GeneralRe: Sockets checking if a file exists Pin
ccotton33313-Jun-05 9:49
ccotton33313-Jun-05 9:49 
GeneralRe: Sockets checking if a file exists Pin
Dave Kreskowiak13-Jun-05 16:34
mveDave Kreskowiak13-Jun-05 16:34 
GeneralRe: Sockets checking if a file exists Pin
ccotton33314-Jun-05 2:48
ccotton33314-Jun-05 2:48 
GeneralRe: Sockets checking if a file exists Pin
Dave Kreskowiak14-Jun-05 0:38
mveDave Kreskowiak14-Jun-05 0:38 
GeneralInsert Parameter Value to Query Builder Pin
LordLothar12-Jun-05 20:46
LordLothar12-Jun-05 20:46 
GeneralDataGridView problem :/ Pin
12-Jun-05 9:53
suss12-Jun-05 9:53 
Generaltextboxes Pin
Makniteasy12-Jun-05 9:21
Makniteasy12-Jun-05 9:21 
GeneralRe: textboxes Pin
Vijay V Anand12-Jun-05 19:40
Vijay V Anand12-Jun-05 19:40 
GeneralRe: textboxes Pin
toxcct12-Jun-05 20:36
toxcct12-Jun-05 20:36 
GeneralRe: textboxes Pin
Rizwan Bashir12-Jun-05 21:35
Rizwan Bashir12-Jun-05 21:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.