VB6 and VB Wizard Manager

I have written an application using VB6 and I want to add the following functionality.

When the user selects a menu option a form/dialog is displayed that takes the user through a series of steps/screens (by the user press a next button). Each screen should display a piece of information such as a date or a list, the user would then need to set the information on each screen before being given the  option to move on using the next button. (the user should be able to go backwards and forwards using the ‘next’ and ‘previous’ buttons in order to modify the selections).

I have been looking at the ‘VB Wizard Manager’ this does exactly what I want, but it produces a lot of code I don’t really need and it can only be created as a separate project.

1) Can I integrate the ‘VB Wizard Manager’ functionality into my current project.

2 ) Is there a cleaner way of achieving the above…?


Thanks Ian
Ian
LVL 1
ISCAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Carl TawnSystems and Integration DeveloperCommented:
We usually create our own wizards consisting of a single form with a Frame representing each step in the wizard. Putting the frames into a controls collection makes it easy to navigate backwards and forward.

You have a standard set of navigation buttons at the bottom. The you simply need to code the logic to validate each frames contents and show/hide the frames.

Hope this helps.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ISCAuthor Commented:
carl tawn,

I think this is exactly what I need to do. I will give it a try.

Thanks Ian
0
cubixSoftwareCommented:
I agree with carl, however rather than use a Frame I always specify a tab control with each page representing a step within the wizard.

Good luck :)
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Carl TawnSystems and Integration DeveloperCommented:
I do sometimes. But if i'm thinking of the same tab control as you are then the controls you draw on a tab don't actually belong th the tab. So as you change tabs the first set of controls remain visible and you still have to show and hide them manually.
0
ISCAuthor Commented:
carl_tawn,

Do you have the code where you put the frames into the controls collection...?

Thanks Ian
0
Carl TawnSystems and Integration DeveloperCommented:
I normally just create a control array for the frames. You do this by giving each frame the same name. Do this in design view and the IDE will ask if you want to create a control array.
0
ISCAuthor Commented:
Many thanks I understand...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fonts Typography

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.