This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-02-04 14:00:26

Magmawulf
New Scratcher
Registered: 2012-01-14
Posts: 80

vbScript Help :S

Code:

Set dialog = CreateObject("script.FileSystemObject")
Dialogs.Addbuttons "Mods", Array("Clean", "SPC", "Wastelands")
Set Result = Dialog.Execute

Please help.  hmm

Offline

 

#2 2012-02-04 16:37:21

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: vbScript Help :S

I know vb.net so im not much help but the dialog.addbuttons bit looks wrong.  hmm
Should it be a function()? Or do you need to set it with an = sign?
Hope this helps.  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#3 2012-02-04 16:38:49

Magmawulf
New Scratcher
Registered: 2012-01-14
Posts: 80

Re: vbScript Help :S

Daffy22 wrote:

I know vb.net so im not much help but the dialog.addbuttons bit looks wrong.  hmm
Should it be a function()? Or do you need to set it with an = sign?
Hope this helps.  smile

it's the first line that's the problem  hmm   It says something about activeX.  hmm

Offline

 

#4 2012-02-04 16:42:18

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: vbScript Help :S

vbScrapt has no ;'s at the end?


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#5 2012-02-04 16:43:20

Magmawulf
New Scratcher
Registered: 2012-01-14
Posts: 80

Re: vbScript Help :S

poopo wrote:

vbScrapt has no ;'s at the end?

Nope  smile

Offline

 

#6 2012-02-04 17:34:11

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: vbScript Help :S

Magmawulf wrote:

Daffy22 wrote:

I know vb.net so im not much help but the dialog.addbuttons bit looks wrong.  hmm
Should it be a function()? Or do you need to set it with an = sign?
Hope this helps.  smile

it's the first line that's the problem  hmm   It says something about activeX.  hmm

Well I think script.FileSystemObject doesnt exist. Not sure what it is, you probally know more. But I'm guessing its and activex thing.  hmm  sorry cant help much.

Btw what are you trying to achieve? Could vb.net be better because it has a win form designer.  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

Board footer