Re: Stumped, Desperate: Word 97 with Acc 97 on WinXP...

From: CSmith (NoEmailNeeded_at_none.com)
Date: 02/05/04


Date: Thu, 5 Feb 2004 03:37:22 -0500

Hi,

[Just a thought...] Perhaps an important registry key and/or subkey has
changed behind the scenes of your process after the upgrade from NT
[unbeknownst to you]. I remember from years ago that NT does not always have
the exact same registry keys and subkeys as Windows. Some of my old VB apps
had to confirm the environment (NT or Windows) during installations in order
to read from the correct registry locations, which MS Office apps might be
doing, as well. So, the Access and Word installations on the upgraded
machine may think that they are still running on NT and calling data from
[now] invalid registry locations. You might want to reinstall those apps on
a non-production machine after upgrading from NT to XP as a test to see if
it all works again.

--
Calvin Smith
http://www.CalvinSmithSoftware.com - Automation Code
http://www.SpanglesNY.com - Fendi, Prada, Von Dutch, etc - 60% off
"Kent Wolf" <REMOVEMEkentwolf@comcast.net> wrote in message
news:rdo320ln9h3lcjao0bnfmtbqv1pn5nqt6c@4ax.com...
> I have some code that worked just fine in Access 97 with Word 97 in
> Windows NT 4.0.
>
> We upgraded one of our OS's to Windows XP.
>
> Now, the code won't work.  I got an error that said something about
> not being able to find a path.  My path to MS Word is valid.  The code
> I am getting an error on is:
>
> Set objWord = CreateObject("Word.Application")
>
> I have searched and searched Google Groups for weeks to no avail.
>
> Could someone please tell me what this might be?  I did note that the
> code worked just fine on my Windows XP system here at home.
>
> I checked and I have no missing references.  All references lead to
> files physically located on my machine.
>
> I am absolutely stumped.
>
> The actual code is longer, but I believe if I could just invoke an
> instance of Word, all would be OK.
>
> The (simple) Word invoking code is listed below:
>
> Private Sub Command80_Click()
>
> Dim objWord As Object
>
> Set objWord = CreateObject("Word.Application")
>
> With objWord
>
> .Visible = True
>
> End With
>
> End Sub
>
> I have tried every known solution even remotely related to this issue
> to no avail.
>
> ...Thank you very, very much if you can help.
>
> Kent
> -----
> Kent Wolf
> Hammond, IN USA (Near Chicago, IL USA)


Relevant Pages

  • Re: upgrading to XP home from windows millenium
    ... original values in the following registry key: ... When you restore these values by using the Restore Startup Programs option, ... Missing Data or Program Settings After Upgrade to Windows XP ...
    (microsoft.public.windowsxp.general)
  • Re: XP Start Menu.....HELP!
    ... following registry key after an upgrade: ... original values in the following registry key: ... 2004 Windows MVP "Winny" Award ... > shortcuts without having to create a shortcut in the ...
    (microsoft.public.windowsxp.general)
  • Re: dial in properties not available
    ... I upgraded the server from Windows NT 4 to Windows ... The upgrade created this problem.... ... >Check the permissions of the following registry key. ...
    (microsoft.public.windows.server.general)
  • Re: Here is what MS says about MCE 2005 and XP Pro
    ... I'll NEVER buy another HP with any MCE software. ... MCE2004 to 2005 wuth the HP upgrade CD. ... downloads and Windows LIVE progammable updates. ... MS-MVP Windows Media Center\Windows Powered Smart Display\Security ...
    (microsoft.public.windows.mediacenter)
  • Re: Seeking upgrade advise for motherboard change with oem windows
    ... i only have oem windows xp with only a restart disc need to know if i ... need only an xp upgrade version to do it or will i need a full 98 ... Ken Blake - Microsoft MVP Windows: ...
    (microsoft.public.windowsxp.general)