Combobox in a Class DLL

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Using .Net, in a Class to build a DLL.

When trying to execute "ByVal CBox As Combobox" combobox is NOT recognized. Added References defined are:
System
System.Data
System.Drawing
System.Windows.Forms
System.xml

I developed many class DLLs and this worked using version 2002. I can't get to recognize a Combobox or Listbox using version 2003. What do I have to define?

Tnx,
Ric
 
RicMarble said:
Using .Net, in a Class to build a DLL.

When trying to execute "ByVal CBox As Combobox" combobox is NOT
recognized. Added References defined are:
System
System.Data
System.Drawing
System.Windows.Forms
System.xml

I developed many class DLLs and this worked using version 2002. I
can't get to recognize a Combobox or Listbox using version 2003.
What do I have to define?

Use the full qualified name (System.Windows.Forms.ComboBox) or import the
namespace System.Windows.Forms.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Thank you very much. . . I knew there was some magic
somewhere, I just could find it. Living in rural Montana limits
my resources.
 
Back
Top