S
Sueffel
And here I thought I had a handle on things. Well, maybe not. Here's
my scenerio, I have a form I need to reuse, so I thought, let's throw the
sucker in a DLL. Well, running into a problem, I can't seem to cast my
form, Form1, as a form. Kinda strange. Here's the Function in the DLL:
Public Function ReturnForm as Form
Dim frm As Form
frm=New Form1
Return frm
End Function
I put it in a class within the app, and same thing... I'm starting to think
that I have to create the form from within the function all by hand, boy
that would suck. So, my question is, why is this cast invalid?
Thanks,
Sueffel
my scenerio, I have a form I need to reuse, so I thought, let's throw the
sucker in a DLL. Well, running into a problem, I can't seem to cast my
form, Form1, as a form. Kinda strange. Here's the Function in the DLL:
Public Function ReturnForm as Form
Dim frm As Form
frm=New Form1
Return frm
End Function
I put it in a class within the app, and same thing... I'm starting to think
that I have to create the form from within the function all by hand, boy
that would suck. So, my question is, why is this cast invalid?
Thanks,
Sueffel