|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Creating Forms from a common routineVb 2003 I am working on a project which uses multiple forms (MDI). I am hoping to use a common routine to launch most of the forms. The problem I have is that I cannot get a BaseClass variable. Public Sub FormsLauncher(Byval fn as Form, Byval bc as ???) fn = New bc End Sub Is this possible or should I just get used to writing a new routine for each BaseClass. Thanks in advance -- DaveG ------------ If things don't change... They will stay the same. Isn't Form the base class?
T DaveG wrote: Show quoteHide quote >Hi All > >Vb 2003 > >I am working on a project which uses multiple forms (MDI). I am hoping >to use a common routine to launch most of the forms. > >The problem I have is that I cannot get a BaseClass variable. > >Public Sub FormsLauncher(Byval fn as Form, Byval bc as ???) > > fn = New bc > >End Sub > >Is this possible or should I just get used to writing a new routine for >each BaseClass. > >Thanks in advance > > >
You're good if you can answer this one.....
.NET 2 recommended books? Problem with access database, and VB .NET Office application object problem Microsoft Visual Studio 2005 Tools for Applications Changing Printer's default paper Extracting icon from file: most efficient method? How to convert code snipped from VB6 to Visual Studio 2005/VB (VB7?) test "file exists" on remote computer? Parse bookmarks in a word document |
|||||||||||||||||||||||