Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Collection Item

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Collection Item
  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 >>
 Collection Item - 8/21/2007 11:29:04 PM   
  Locke_

 

Posts: 1
Score: 0
Joined: 8/21/2007
Status: offline


Hi there,

I don't know why this isn't OK:


      

      

is running without problems, but


      

don't, the object isn't created and the message 424 occurs:


"424 - Objekt erforderlich"  (Object needed)

I thought it's the same, but obviously it does matter if I call by reference or by value? I'd like to call by reference...

Thank you very much
Locke_


< Message edited by Locke_ -- 8/21/2007 11:31:47 PM >
 
 
Post #: 1
 
 RE: Collection Item - 8/22/2007 1:33:43 PM   
  sheepz


Posts: 247
Score: 2
Joined: 3/17/2006
From: Riverside the 909s
Status: offline
maybe its just me but i dont know what your script is or trying to do, it looks like you only posted parts of it.  please post your entire script... i'm guessing it has something to do with printers..

also this line looks wrong:

Set objApp = GetObject(,"XYZ.Application")

shouldn't have the ,   should be:
Set objApp = GetObject("XYZ.Application")

(in reply to Locke_)
 
 
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 >> Collection Item 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