MessageBox not defined???

moongodess

Active member
Joined
Dec 23, 2004
Messages
40
Ive made a module with some functions to show/handle messageboxes and their results.

Ive been using this module since I started Vb.Net, in all my projects.

Now I created a nes dll project and add this module, but every messagebox, messageboxbuttos or items says that they are not declared...

Am I missing something?
 
Have you added a reference to System.Windows.Forms.dll? Also yuo will need to add
Code:
Imports System.Windows.Forms
to the top of the code file.
 
Ive done "Imports System.Windows.Forms" and now it works...
I just dont understand is why didnt I need that until now...
But its ok :) Works! Is what matter...

Thanks a lot :)
 
Back
Top