Nope, that still didn't work.
I have an old copy of Visual Studio .NET 2002. Can I port the code from my
VB6 project right into that and continue to develop from there?
Thanks.
> Thanks for the reply. I did set the reference to the Excel object in VB6
> where I created the Automation object. Should I also set the reference in the
[quoted text clipped - 20 lines]
> > >
> > > Thanks.
> Nope, that still didn't work.
Just out of curiosity, you may want to try recompiling your original COM
project, in case there's some library incompatibility going on there or
something.
> I have an old copy of Visual Studio .NET 2002. Can I port the code from my
> VB6 project right into that and continue to develop from there?
In all honesty, I would say don't even try. The migration from VB6 to any
of the .NET versions of VB is most definitely non-trivial...in fact, in most
cases, I'd say it's anywhere between arduous to a nightmare. Most of the
people I know who've "converted" VB6 projects have found it easier simply to
start over from scratch, given then huge change in design philosophy under .NET.
Whether intentional or just through corporate blindness, Microsoft gives a
very misleading view of how "easy" it is to migrate to VB.NET...it's
anything but.
That said, .NET does have some very powerful features and the run-time
library is positively huge! If performance is a major concern for you,
however, you'll find that the performance of .NET is noticeably slower in
most instances compared to an equivalent VB6 project.
Rob
DavidY - 25 Apr 2008 22:01 GMT
I'll try recompiling it and see what happens. I don't have VB6 installed on
that computer so I have to do that first.
Thanks for the warning about migrating the project to VB.NET. That's what I
was afraid of.
> > Nope, that still didn't work.
>
[quoted text clipped - 21 lines]
>
> Rob