Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Why ???

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Why ???
  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 >>
 Why ??? - 4/10/2005 12:19:40 AM   
  Pascal Asmussen

 

Posts: 1
Score: 0
Joined: 4/10/2005
From: France
Status: offline
Hello
Why this VBScipt doesnt' work ?
Sub essai()
for i = 1 to 10
button&i.disabled=true
next
end sub[?]
 
 
Post #: 1
 
 Re: Why ??? - 4/10/2005 6:18:40 AM   
  didorno

 

Posts: 361
Score: 0
Joined: 2/12/2005
From:
Status: offline
What error do you get ?

(in reply to Pascal Asmussen)
 
 
Post #: 2
 
 Re: Why ??? - 4/10/2005 10:59:35 AM   
  token

 

Posts: 1917
Score: 0
Joined: 1/14/2005
From:
Status: offline
Because "button & i.disabled=true" isn't a syntactically correct.

I assume you want to have botton1 to button10 to have .disable = true, it doesn't work that way.

You might want to post your script and the EXACT error message and at what line if you want to have more help.

(in reply to Pascal Asmussen)
 
 
Post #: 3
 
 
 
  

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 >> Why ??? 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