otherside Posted March 31, 2003 Posted March 31, 2003 Does anyone know the best way to create a wizard inside an application in vb ? I have some specific operations in my software that requires a specific way to enter some data. I found the best way to do it is to create wizards, (since the program must be able to be used by dummies). So i need to create a dozen wizards for several things. Every wizard will have about 4-10 sreens. All the data from all the screens will have to be collected at the end of the wizard and sent to a function (DB related). Also the wizards must have next and back buttons just like for example the installers of programs have. I've had several ideas... But my knowledge is not that wide, so i'm looking for a better one. Quote
Heiko Posted March 31, 2003 Posted March 31, 2003 How can we know if someone has a better idea when you don't present yours? :) I'd probably go for a generic wizard (UI), then a context-related business rules tier and specific data access classes. Quote .nerd
otherside Posted March 31, 2003 Author Posted March 31, 2003 Sure :) My ideas are plain, and not very easy to create 1st several forms, one form for each screen,then closing and showing the next one, which has a problem cause you can't go back. Not a very good one i vae to say 2nd several dialogs, dialog after dialog etc.., again the back is not the easyest thing to do. 3rd Most convinient but not at all practical in design several panels hidden, each step shows the next panel. But unless there is a way to use layers or something in the IDE of .NET that is not so pretty. Now shoot. :) Also Heiko -> What do you mean be Generic wizard, where do i find that ? Thanks Quote
Heiko Posted March 31, 2003 Posted March 31, 2003 Oh, you can't find that. You'll have to program that. Well maybe my idea was a bit over the top, I mean for 10 cases it will probably be more effective to arrange all forms manually. re: can't go back: Why not? You could have a wizard manager class, this class would (internally) know how many forms there will be altogether. This class would also be able to move forwards and backwards by hiding/showing forms and keeping the data in its several stages. Quote .nerd
*Gurus* divil Posted March 31, 2003 *Gurus* Posted March 31, 2003 I developed a Wizard control that removes all the pain from actually creating the wizard, you can step through the pages at design time and put controls on them. Full control is maintained through various events the control raises. You can get it from http://www.divil.co.uk/net/controls/wizardcontrol/ Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
otherside Posted March 31, 2003 Author Posted March 31, 2003 Fantastic job Divil .. A++ Is it hard to create a control like this one? Thanks a lot Heiko-> Also thanks. Quote
Heiko Posted March 31, 2003 Posted March 31, 2003 Yer welcome. Divil's playing in a different league, I know that. :) Quote .nerd
*Gurus* divil Posted March 31, 2003 *Gurus* Posted March 31, 2003 Hard when you don't know how, yeah :) Reading the articles I wrote on designers should help, if you want to learn. Go to Project -> Add UserControl and work from there! Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
*Experts* jfackler Posted March 31, 2003 *Experts* Posted March 31, 2003 noob question: This is way cool. I would like to add this to my toolbox for future use, but I havent added a custum control to my toolbox yet. Instructions on how to do this or a reference would be greatly appreciated. Jon Quote
*Gurus* divil Posted March 31, 2003 *Gurus* Posted March 31, 2003 Right click on your toolbox, and select Customize Toolbox. Jump to the .NET tab on the customize toolbox dialog. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.