PC Review


Reply
Thread Tools Rate Thread

Application, IDataObject, Dataformats, Clipboard not declared/defined in a Class Library?

 
 
DraguVaso
Guest
Posts: n/a
 
      21st Oct 2004
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


 
Reply With Quote
 
 
 
Reply

« Combo Box's | Form »
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Return data structure defined in Class library from WCF Web Service AliR \(VC++ MVP\) Microsoft C# .NET 2 5th Nov 2008 07:21 AM
Trying to use the Clipboard class in the VB object library Conan Kelly Microsoft Access VBA Modules 2 30th Nov 2006 04:58 PM
Application, IDataObject, Dataformats, Clipboard not declared/defined in a Class Library? DraguVaso Microsoft Dot NET Framework 2 26th Oct 2004 08:58 AM
Application, IDataObject, Dataformats, Clipboard not declared/defined in a Class Library? DraguVaso Microsoft Dot NET Framework Forms 2 26th Oct 2004 08:58 AM
Application, IDataObject, Dataformats, Clipboard not declared/defined in a Class Library? DraguVaso Microsoft Dot NET 0 21st Oct 2004 12:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:35 PM.