[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference abbott::visual_basic

Title:Microsoft Visual Basic
Moderator:TAMARA::DFEDOR::fedor
Created:Thu May 02 1991
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2565
Total number of notes:10453

2525.0. "Reusing a form's controls on another form?" by EASEW4::ABRAM () Wed Mar 26 1997 09:54

I am new to Visual Basic and I am trying to create a setup wizard similar to the
one used when installing Windows NT. 
	I want to know how to create a template form (with Back, Next, Exit
command buttons and so on) that I can use as a basis for all my other forms.
This would mean that I could change the look/format of all the forms by just
changing the template one. Is it possible to do this with Visual Basic? I have
read through previous notes which touch on this subject, but none of them say if
it definitely can/can't be done, and if it can, how to go about it. I would have
thought that this would be a common task in VB but I can't see it mentioned in
the manual. (I'm using VB v4 on an Alpha with NT)

Any help greatly appreciated,

Shaun
T.RTitleUserPersonal
Name
DateLines
2525.1EVTSG8::TOWERSTue Apr 01 1997 07:4812
    Two points:
    
    1) It sounds like what you want is inheritance. This isn't implemented
       in VB4. If you want this then you have to do it by hand.
    
    2) If all you really want to do is generate a setup kit then VB4 comes
       complete with a setup wizard for creating your own kits. It's not
       bad as far as it goes but you might, in the long run like to try
       something more sophisticated like InstallShield or Wise.
    
    Cheers,
    Brian