Interactive PowerBasic Forum

Legacy Software (PBWIN 9.0+/PBCC 5.0+) => Source Code => Scripting => Windows Script Host => Topic started by: José Roca on July 14, 2008, 08:08:31 AM

Title: IWshNetwork.UserProfile Property
Post by: José Roca on July 14, 2008, 08:08:31 AM


The following code illustrates the use of the UserProfile property:


#INCLUDE "WSHOM.INC"

DIM pWshNetwork AS IWshNetwork
pWshNetwork = NEWCOM "WScript.Network"
STDOUT ACODE$(pWshNetwork.UserProfile)