September 08 2010 07:52:23
Navigation
· Home
· Online Store
· Course Outlines (PDF Files)
· Sample Videos
· Contact Info
· Web Links
· Articles (Sample Code)

Other Videos
· WordPress (CMS)
· Joomla (CMS)
· Sharepoint

Other
· FAQ
· Search
Contribute to This Site
· Submit Link
· Get Benefitted Sites
No Competition
One of our so-called competitors offers under 6 hours of video training for a whopping $219 (choke, gasp, spew - you could hire a private tutor for that price). Did I mention that they ship their training on VHS tapes (remember those?). Check out our 'Course Outlines' link above. We offer a 2-days of training (15 hours) for $54 (2 CDs at $29 each). You watch our videos from a CD/ROM on your computer. We also include real-world lab/assignments in each course.
Articles: ObjectOrientedIntro.vbs
ObjectOrientedIntro.vbs
'==========================================================================
' NAME: ObjectOrientedIntro.vbs
' AUTHOR: Neal Walters , Amerisoft Inc
' http://VBScript-Training.com 
' DATE  : 3/26/2005
'==========================================================================
Option Explicit 
Dim myfilename 

myfilename = "C:\test\abc.txt"
Call ShowDriveInfo(myfilename) 
myfilename = "D:\test\abc.txt"
Call ShowDriveInfo(myfilename) 

Sub ShowDriveInfo(drvPath)
   Dim fso, drv, s, drvname 
   Set fso = WScript.CreateObject("Scripting.FileSystemObject")

   drvname = fso.GetDriveName(drvPath)
   
   Set drv = fso.GetDrive(drvname)
   
   If drv.IsReady Then 

   
	   s = "Drive " & UCase(drvName) & " - "
	   s = s & drv.VolumeName & VbCrLf
	   s = s & "Total Space: " & FormatNumber(drv.TotalSize / 1024, 0)
	   s = s & " Kb" & VbCrLf
	   s = s & "Free Space: " & FormatNumber(drv.FreeSpace / 1024, 0)
	   s = s & " Kb" & VbCrLf
	   s = s & "Available Space: " & FormatNumber(drv.AvailableSpace / 1024, 0)
	   s = s & " Kb" & VbCrLf
	   s = s & "Serial Number: " & drv.SerialNumber
	   s = s & VbCrLf
	   WScript.Echo s
   
   Else 
     WScript.Echo "Drive " & drvname & " is not ready " 
   End If 
   
End Sub
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Order Now - View Products


Default Shipping:
Phone: 214-403-6006
Our Sites
Software Training
XML-Online-Training.com
Biztalk-Training.com
SharePoint-Training.com
DotNet-AddOns-Training.com
CMSTrainingVideos.com

Language
LanguageLovers.com
Render time: 0.10 seconds 432,182 unique visits