Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Write to htm page?

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,424
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Write to htm page?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Write to htm page? - 10/8/2001 6:27:29 AM   
  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
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Write to htm page? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts