Creating Forms from a common routine

  • Thread starter Thread starter DaveG
  • Start date Start date
D

DaveG

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
 
Back
Top