| |
Gabrielle Reid
Posts: 1
Score: 0
Joined: 10/8/2001
From:
Status: offline
|
Is it possible to tweak this script so that it writes the NWDir1.LoginName directly on to the htm page? ---------------------------- <HTML> <HEAD> <TITLE>Who Am I sample code</TITLE> <SCRIPT LANGUAGE="VBScript"> <!-- Sub WhoAmI_OnClick() msgbox NWDir1.LoginName End Sub --> </SCRIPT> </HEAD> <BODY BGCOLOR=#ccccff> <OBJECT CLASSID="CLSID:4F021AE3-9E98-11D0-A808-00C04FDCD94A" ID="NWDir1" WIDTH=32 HEIGHT=32 CODEBASE="http://developer.novell.com/ndk/doc/samplecode/ocx_sample/Browser/NWDIR.H.html" > </OBJECT> <p> <font face="Arial" size="+1" color="Red">Who Am I sample code</font> <p> To get full DS name of local NW user: <BR> <INPUT NAME = "WhoAmI" type="button" VALUE="Who Am I ?"> <p> </BODY> </HTML> ------------------------ I don't know any vbscript at all and would be very grateful for any help. Thanks, Gabrielle
|
|