FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 FastFieldSolvers
 FasterCap and FastCap2
 Automation - expansion order option not working

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Antispam question: What do MOONwalk and MOONdance have in common?
Answer:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON

 
   

T O P I C    R E V I E W
max79 Posted - Feb 07 2010 : 23:45:35
Hi all,

I'm trying to use automation with VBScript and cscript command on Windows Vista. Unfortunately, I cannot add the expansion order option to the command line. According to the help file of FastCap, it should work like this: FastCapObject.Run("-lspheres.lst -o3").
In my case:
-this works fine:
couldRun = FastCap2.Run("""-l" + path + "SpuleFC.lst""")

-this stops with an error:
couldRun = FastCap2.Run("""-o4 -l" + path + "SpuleFC.lst""")
or
couldRun = FastCap2.Run("""-l" + path + "SpuleFC.lst -o4""")
--> Microsoft VBScript runtime error: Subscript out of range: '[number: 0]'

Any ideas how to solve this? I appreciate any replies or hints.

Max79
1   L A T E S T    R E P L I E S    (Newest First)
Enrico Posted - Apr 05 2010 : 23:31:58
You misplaced the "

Try using

couldRun = FastCap2.Run("-l""" + path + "SpuleFC.lst"" -o4")


Best Regards,
Enrico

FastFieldSolvers Forum © 2020 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06