D
DraguVaso
Hi,
I made some application (VB.NET 2005) based on classes in Windows Forms. I
made a new Class Library Project and copied all of my classes and modules in
it, to make a DLL that I could import afterwarths in Windows Forms
applciations.
The problem is that I get several errors indication that some methods aren't
declared or defined when I try to build the project...
some exemples:
- Application.StartupPath doesn't work anymore (it doesn't recognize
Application): does this have another name in a Class Library?
- Dim IData as IDataObject: Type 'IDataObject' is not defined
- Clipboard.SetDataObject(DataObject): Name 'Clipboard' is not declared
Does anybody know a solution for this?
Thanks a lot in advance!
Pieter
I made some application (VB.NET 2005) based on classes in Windows Forms. I
made a new Class Library Project and copied all of my classes and modules in
it, to make a DLL that I could import afterwarths in Windows Forms
applciations.
The problem is that I get several errors indication that some methods aren't
declared or defined when I try to build the project...
some exemples:
- Application.StartupPath doesn't work anymore (it doesn't recognize
Application): does this have another name in a Class Library?
- Dim IData as IDataObject: Type 'IDataObject' is not defined
- Clipboard.SetDataObject(DataObject): Name 'Clipboard' is not declared
Does anybody know a solution for this?
Thanks a lot in advance!
Pieter