copy to a file ending with .VBS like:
CompName.VBS
these lines:
Dim WshNetwork
Set WshNetwork = CreateObject("WScript.Network")
ComputerName = WshNetwork.ComputerName
msgbox(computername)
just double click the filename to run it. VBScript is STILL runable on any
windows box
On Wednesday, August 19, 2020 at 3:41:35 PM UTC-4, Karen Tellef wrote:
>
> I need to do some security based on (CVAL('ComputerName')) for an app
> I'm converting from System V.
>
> I want to have my programming done up front, and obviously with System V I
> cannot have them look up the "ComputerName" of their computers for me
> (don't have 10.5 installed on all workstations yet)
>
>
> So is there another way I can tell them to "find" the ComputerName, which
> would return the same value that the RBase function would return?
>
>
> Karen
>
>
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/d945ffca-a4b0-4810-ad24-546e03200625o%40googlegroups.com.