Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: Csquared on March 05, 2009, 07:18:21 PM

Title: calling a wizard wth a button
Post by: Csquared on March 05, 2009, 07:18:21 PM
Is it possible to select a specific wizard with a button as opposed selecting the wizard selection menu and choosing from the list of wizards?
I would like the button to load the specific wizard and see no drop down menu.
Thanks for any help.
Title: Re: calling a wizard wth a button
Post by: poppabear on March 06, 2009, 10:06:25 AM
Here is the code from Art himself,

LoadWizard( "MyWizName" )

scott
Title: Re: calling a wizard wth a button
Post by: Csquared on March 08, 2009, 02:00:12 PM
Hi Scott,

This looks like what I am looking for.
I tried it with a few of the wizards that I know work.
I was not able to get a specific wizard to come up.

The line of code that you gave was   LoadWizard("MyWizName").
I tried  LoadWizard("CutArc") as a test and could not get any results.
I used a script button and had the line - LoadWizard("CutArc")  in it.

What am I missing?
This is an important function in our machine from an operator stand point  and I am hoping that you can help.

Thanks,
Chuck
Title: Re: calling a wizard wth a button
Post by: ger21 on March 08, 2009, 02:22:11 PM
Try this:

LoadWizard("Cut Arc")

Note the space. :)
Title: Re: calling a wizard wth a button
Post by: Csquared on March 08, 2009, 02:30:49 PM
Gerry,

Thank you.
This is great, very happy!
Title: Re: calling a wizard wth a button
Post by: selim on September 20, 2009, 09:47:31 AM
Thank you.