Re: Ucase function - Compile error - Can't find project or library
From: jon stav (jonstav_at_discussions.microsoft.com)
Date: 09/20/04
- Next message: Wart: "Re: VB Business Application Framework?"
- Previous message: Jeff Johnson [MVP: VB]: "Re: total novice looking for helpful sites"
- In reply to: Andrew Faust: "Re: Ucase function - Compile error - Can't find project or library"
- Next in thread: Andrew Faust: "Re: Ucase function - Compile error - Can't find project or library"
- Reply: Andrew Faust: "Re: Ucase function - Compile error - Can't find project or library"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 20 Sep 2004 11:33:02 -0700
"Andrew Faust" wrote:
> "jon stav" <jonstav@discussions.microsoft.com> wrote in message
> news:2A9D5A4C-2D14-46AB-8C9C-34F26F165ACC@microsoft.com...
> > Migrating VB6.0 code frmo Windows 2000 to Windows XP.
> >
> > The Compile is failing on a Ucase statement.
> > Very Bizzar to me...
> >
> > Isee there is a Reference listed as : "MISSING: WordCtl Type
> > Library".
> > I cannot find a reference to the associated 'file' that needs
> > to be
> > registered.
>
> Don't waste your time trying to figure out why the UCase is
> failing, becuase it isn't. When there are errors caused by
> Missing libraries the compile will error out, however it often
> report the error on perfectly fine lines of code. I think it just
> throws an error as soon as the compiler figures out there are
> missing libraries, and it just so happens that the parser was
> working on the UCase statement, when the compiler realized it
> wouldn't be able to complete. Thus you get the exception right
> there, despite it having nothing to do with your error.
>
> It looks like the Missing Library probably has something to do
> with MS Word. If so then install the same version of Word on the
> XP machine as you were using on the 2000 machine and see if that
> fixes it. If this isn't an option, then you are going to have to
> remove the reference and then remove the usage of the objects
> from code. In general you don't want to use the Office Objects
> unless it's necessary to your app, as any user who uses your app
> will also have to have Office installed.
>
> Andrew Faust
>
>
>
I had a thought there was something missleading about this...
Hmmm, there are Word / Mail Merges here, but 'the plan is to move the
functionality to Word 2002 (where in Win2k it was working with Word97).
Thanks,
- Next message: Wart: "Re: VB Business Application Framework?"
- Previous message: Jeff Johnson [MVP: VB]: "Re: total novice looking for helpful sites"
- In reply to: Andrew Faust: "Re: Ucase function - Compile error - Can't find project or library"
- Next in thread: Andrew Faust: "Re: Ucase function - Compile error - Can't find project or library"
- Reply: Andrew Faust: "Re: Ucase function - Compile error - Can't find project or library"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|