Hello,
I started using :
W = Windows
M = Management
I = Instrumentation
inside my application with SCRIPTING-HOST.
I don't know, if this special kind of programming could be interesting
for FWH-users.
Remote control of computers, Hardware-Informations and more ....
Just a working test :
Windows-Serial-No.
-----------------------

Regards
Uwe
I started using :
W = Windows
M = Management
I = Instrumentation
inside my application with SCRIPTING-HOST.
I don't know, if this special kind of programming could be interesting
for FWH-users.
Remote control of computers, Hardware-Informations and more ....
Just a working test :
Windows-Serial-No.
-----------------------

FUNCTION GET_SERIAL()
IF FILE ( "VBFUNC.VBS" )
DELETE FILE "VBFUNC.VBS"
ENDIF
oText := TTxtFile():New( "VBFUNC.VBS" )
IF oText:Open()
oText:Add(' set collection = _')
oText:Add(' GetObject("winmgmts:").InstancesOf("Win32_OperatingSystem") ')
oText:Add(' for each os in collection ')
oText:Add(' MsgBox "Seriennummer: " & os.SerialNumber ')
oText:Add(' next ')
oText:Close()
ENDIF
Winexec('WSCRIPT.exe VBFUNC.VBS')
RETURN NILRegards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.