Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


COM object support in script?

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> COM object support in script?
  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 >>
 COM object support in script? - 5/24/2001 5:07:48 AM   
  dwheatley

 

Posts: 7
Score: 0
Joined: 5/23/2001
From: Algeria
Status: offline
Does anyone know if script supports COM objects, not ActiveX objects? If so, does anyone have an example?
 
 
Post #: 1
 
 Re: COM object support in script? - 5/24/2001 6:47:56 AM   
  hennykoe

 

Posts: 9
Score: 0
Joined: 5/23/2001
From:
Status: offline
Hi Dean,

Yes VBScript does support COM objects , you can even create your own COM objects in VBScript it is similiar to COM objects only that it is interpreted and not compiled.

Example of referencing another components:

Set oComponent= CreateComponent("COMObject1")

I know this example may be too simple for you. There is detailed explanation on this in VBScript programmer's reference

Cheers

(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 >> COM object support in script? 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