You have to add a reference to ADODB to the project as well...
Want to know more? Check out the MSDN Library at
http://msdn.microsoft.com or the Microsoft Knowledge Base at
http://support.microsoft.com
Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email :
(E-Mail Removed) <Remove word online. from address>
This posting is provided “AS IS”, with no warranties, and confers no rights.
--------------------
>From: "Wayne Wengert" <(E-Mail Removed)>
>Subject: ADO Constants
>Date: Wed, 23 Jul 2003 13:37:49 -0600
>Lines: 10
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <(E-Mail Removed)>
>Newsgroups: microsoft.public.dotnet.framework.adonet
>NNTP-Posting-Host: dialup-64.156.37.16.dial1.denver1.level3.net 64.156.37.16
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.adonet:56559
>X-Tomcat-NG: microsoft.public.dotnet.framework.adonet
>
>I am trying to use some ADO subroutines within a new VB.NET project. I have
>included references to ADOX and adovbs but constants such as "adVarWChar"
>are still showing as undeclared. How do I get the system to recognize these?
>
>--
>------------------------------------
>Wayne Wengert
>(E-Mail Removed)
>
>
>