Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 755
  • Last Modified:

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
0
ISC
Asked:
ISC
  • 3
  • 3
1 Solution
 
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
 
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now