This came from the GwToolkit Manual.
Can somebody tell me what is wrong with this section of code.
 
' This example creates a details object containing name, version, 
' and stopprompt properties.
 
Set WEPMInfo =
SharedObjects("com.GWMicro.GWToolkit.WEPMInfo").NewDetails
Set WEPMDetails = WEPMInfo.GetDetails("h:\Scripts\ScriptTemplate.wepm")
If Not WEPMDetails Is Nothing then 
speak "nothing here"  
else
MsgBox WEPMDetails.Name
MsgBox WEPMDetails.Version
MSGBox WEPMDetails.StopPrompt
End If
 
' Retrieving WEPMDetails.Name would return the internal name of the
script
' Retrieving WEPMDetails.Version would return the script version number
' Retrieving WEPMDetails.StopPrompt indicates whether the script 
' will prompt the user to stop all running scripts before installing

Reply via email to