The Upgrade Wizard for most medium to large projects is not going to be
able to upgrade 100% of the Vb6 code. So when you read that the upgrade
tool isn't working I expect that most the time this is because it was
expected to upgrade the application perfectly.
Now I'm also not saying that the tool doesn't run into problems at times
because it does as in you've unfortunetly found out. I do believe that
using the tool is an excellent way to get most of your application upgraded
and in most cases this will be more cost effective then converting the
program manually.
I know you've worked around the ADODB problem but I would like to learn
more about the issue so that we can help others that might run into the
problem and fix it. Is it possible for you to send me a project that
reproduces it the problem? I haven't been able to reproduce it here.
If so you can send it to JohnHart@Microsoft.com
Thanks and I'm sorry you ran into problems.
--
John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view] > From: "Vic Spainhower" <vicNoSpam@perfected.com>
> References: <e$vzHTx$EHA.2552@TK2MSFTNGP09.phx.gbl>
<yFalKLCAFHA.644@cpmsftngxa10.phx.gbl>
> Subject: Re: ADODB Reference Required
> Date: Wed, 26 Jan 2005 12:39:49 -0800
> Lines: 92
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
> X-RFC2646: Format=Flowed; Original
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> Message-ID: <e5Vm9c#AFHA.2572@tk2msftngp13.phx.gbl>
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
> NNTP-Posting-Host: c-24-20-76-228.client.comcast.net 24.20.76.228
> Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
sfeed1.ip.tiscali.net!news.maxwell.syr.edu!logbridge.uoregon.edu!arclight.uo
regon.edu!enews.sgi.com!msrnewsc1!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
[quoted text, click to view] > Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:7183
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
> John,
>
> Thanks for the reply and sorry I didn't respond sooner but I decided to
> abandon the VB6 conversion tool and manually convert this program. But to
> answer your question the reference was automatically and was as you had
> stated. I didn't like all the "extra" stuff added by the conversion tool
and
> felt the time to weed out all of the problems it appears to have would be
> better spent on just manually converting the app.
>
> I've read a number of posts that the conversion tool most of the time
does
> not work, is this true? BTW I am using the standard version of vb.net.
>
> Thanks,
>
> Vic
>
>
> "John Hart [MSFT]" <JohnHart@Online.Microsoft.com.> wrote in message
> news:yFalKLCAFHA.644@cpmsftngxa10.phx.gbl...
> > Hi Vic,
> >
> > Which version of VB.Net are you using? Did the Upgrade Wizard add the
> > reference to ADODB for you or did you add it?
> >
> > If you expand the References in the Solution Explorer do the properties
> > for
> > ADODB look simular to:
> >
> > Description: Microsoft ActiveX Data Objects 2.8 Library
> > Identity: {2A75196C-D9EB-4129-B803-931327F72D5C}\2.8\0\tlbimp
> > Path: ...\obj\Interop.ADODB.dll
> >
> > If you reference is different I would try removing the reference and
> > adding
> > one manually through the Add Reference dialog
> >
> > --
> > John Hart, Microsoft VB Team
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> > --------------------
> >> From: "Vic Spainhower" <vicNoSpam@perfected.com>
> >> Subject: ADODB Reference Required
> >> Date: Thu, 20 Jan 2005 09:23:18 -0800
> >> Lines: 25
> >> X-Priority: 3
> >> X-MSMail-Priority: Normal
> >> X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
> >> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> >> X-RFC2646: Format=Flowed; Original
> >> Message-ID: <e$vzHTx$EHA.2552@TK2MSFTNGP09.phx.gbl>
> >> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
> >> NNTP-Posting-Host: c-24-20-76-228.client.comcast.net 24.20.76.228
> >> Path:
> >
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
> >
sfeed1.ip.tiscali.net!news.tele.dk!news.tele.dk!small.news.tele.dk!enews.sgi
> > com!msrnewsc1!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
> >> Xref: cpmsftngxa10.phx.gbl
> > microsoft.public.dotnet.languages.vb.upgrade:7172
> >> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
> >>
> >> Hello,
> >>
> >> OK - I'm trying to make the big jump from vb6 to vb.net. I took one of
> > my
> >> vb6 programs and ran it through the converter and I'm getting some ADO
> >> errors that indicate a reference is required. I have a reference set to
> > the
> >> 2.8 library.
> >>
> >> Here's some examples of the errors:
> >>
> >> Reference required to assembly 'ADODB' containing the type
> >> 'ADODB.CursorLocationEnum'. Add one to your project.
> >> Reference required to assembly 'ADODB' containing the type
> >> 'ADODB.LockTypeEnum'. Add one to your project.
> >> Reference required to assembly 'ADODB' containing the type
> >> 'ADODB.CommandTypeEnum'. Add one to your project.
> >>
> >> What reference do I need to add?
> >>
> >>
> >> TIA,
> >>
> >>
> >> Vic
> >>
> >>
> >>
> >
>
>
>