Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


CreateObject

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

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> CreateObject
  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 >>
 CreateObject - 12/25/2005 9:45:23 PM   
  SuryaReddy

 

Posts: 1
Score: 0
Joined: 12/25/2005
Status: offline
Hi All,

I created a object using CreateObject function....... I could not use more than one instance of this object....... If i use second time I am getting object is not

found message...... just go though following snippet


Function hi()

Public x

x= CreateObject("something")

End function

I called like trhis:

hi 'Calling function

x.set "10" 'First instance of object

x.Set "20" ////Here I am getting eror


Any One Can!!!!!!!!!!!!!!

Regards,

Surya
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> CreateObject 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