F
Franck
Hi
Know how to get Environment paramaters through vbscript
Set WshShell = WScript.CreateObject("WScript.Shell")
strHomeshare = WshShell.ExpandEnvironmentStrings("%HOMESHARE%")
I'm trying to get the same value in VB using the following function but
can't figure out how to use it :
Private Declare Function ExpandEnvironmentStrings Lib "kernel32" Alias
"ExpandEnvironmentStringsA" (ByVal lpSrc As String, ByVal lpDst As
String, ByVal nSize As Long) As Long
Help please.
Know how to get Environment paramaters through vbscript
Set WshShell = WScript.CreateObject("WScript.Shell")
strHomeshare = WshShell.ExpandEnvironmentStrings("%HOMESHARE%")
I'm trying to get the same value in VB using the following function but
can't figure out how to use it :
Private Declare Function ExpandEnvironmentStrings Lib "kernel32" Alias
"ExpandEnvironmentStringsA" (ByVal lpSrc As String, ByVal lpDst As
String, ByVal nSize As Long) As Long
Help please.