Hi there. I am anything but new to DesktopX, but I have never scripted with it, and have little knowledge about VB Script. I wanted to build a theme that would display the sizes of various folders on my hard disk. I tried to do so, but got some flagrant error. Below is the code.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dim FSO
Dim res
Dim varFldr, varFldrSize
Set FSO = CreateObject("Scripting.FileSystemObject")
Dim varFolder
Set varFolder = FSO.GetFolder(varFldr) <======Error happens here
varFldrSize = Round(varFolder.size/1048576, 2)
Archive Size Info.text=varFldrSize
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Any help? I would really appreciate anything that you guys have to offer.