Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello

 

I was following an faq on this autocompletion of comboboxes from http://www.vbcity.com/forums/faq.asp?tid=29498

Now according to this, you can create a Visual Basic .NET Class Library Project and just create a new class which extends the combobox. Now when I create a new .NET Class, I am not able to import the System.Windows.Forms namespace. When I type -

Imports System.Windows.Forms

I get error

"Namespace or type 'forms' for the Imports 'System.windows.forms' cannot be found."

 

What may the problem.

 

Thanks in advance

 

Shireen

  • *Experts*
Posted
You need to add it to the project references: right click the 'References' item in the solution explorer and find System.Windows.Forms.dll, and add that to your project.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...