Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I check a Novell USERLIST in VFP?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00209808
Message ID:
00209884
Views:
21
>I am trying to figure out a way for VFP 6.0 to RUN a Novell USERLIST command that shows me the current users on the Novell network.
>
>Then, I need to use VFP 6.0 to check the userlist to see who is or is not on-line. Has anyone done this? Is there an easy way to do this?
>
>I have used the RUN command to perform DOS commands before, but I am not sure about Novell commands with the RUN command.

At least under 3.12 and 3.20, the following worked when one of the server's SYS:PUBLIC directories was in the DOS search path under Win9x, using my API_APPRUN class:
IF FILE('TEMP.TXT')
   ERASE TEMP.TXT
ENDIF
SET CLASSLIB TO PROCESS
oProc = CREATEOBJ('API_APPRUN','USERLIST >>TEMP.TXT',FULLPATH(CURDIR()),'MIN')
oProc.LaunchAppAndWait()
oProc = ''
You can now read TEMP.TXT as a normal text file, without the annoying DOS box popping up, and waiting until the command finishes running.

>
>Any ideas? Thanks very much. I will keep looking in the meantime.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform