Using a .dll to display a form

  • Thread starter Thread starter Bernie Yaeger
  • Start date Start date
B

Bernie Yaeger

I have developed a .dll to display a form that controls a simple routine.
Oddly, you can't use
messagebox.show
unless you do one of two things:
either use an imports system.windows.forms
or
system.windows.forms.messagebox.show etc

Now this is strange, because the form inherits as below:
Inherits System.Windows.Forms.Form

Why is this and what other problems may I expect to encounter?

Thanks for any advice.

Bernie Yaeger
 
Hi Bernie,

I think you've confused namespaces and subclassing. Namespaces are a
convenient way to group related "concepts" subclassing one class in a
namespace won't give you access to all the classes in the namespace.

Tom
 
Back
Top