Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


What is the element in vbscript?

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> What is the element in vbscript?
  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 >>
 What is the element in vbscript? - 5/23/2001 7:03:18 AM   
  dwheatley

 

Posts: 7
Score: 0
Joined: 5/23/2001
From: Algeria
Status: offline
I found an article on msdn that refers to the <component> element, but I can't find it specified anywhere in the docs. Has anyone out there actually used this? An example would be great.. and an example with <component> and <reference> would be a god send!

Dean.
 
 
Post #: 1
 
 Re: What is the element in vbscript? - 5/23/2001 7:28:53 AM   
  rhl150

 

Posts: 29
Score: 0
Joined: 5/23/2001
From: New Zealand
Status: offline
Hi Dean,

Hope this is what you are looking for

The <COMPONENT> element allow us to give a name to the HTML component that can be used to access properties and methods though scripting


<COMPONENT NAME="Crypted">
<PROPERTY NAME="CryptedKey" PUT="PutCK" GET="GetCK">

<SCRIPT LANGUAGE="VBScript">

Dim cKey

Function PutCK(ByVal newValue)
cKey = newValue Xor 43960
End Function

Function GetCK()
GetCK = cKey Xor 43960
End Function

</SCRIPT>
</COMPONENT>

(in reply to dwheatley)
 
 
Post #: 2
 
 
 
  

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 >> What is the element in vbscript? 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