dbTalk Databases Forums  

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

comp.database.ms-access comp.database.ms-access


Discuss Stumped, Desperate: Word 97 with Acc 97 on WinXP... in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kent Wolf
 
Posts: n/a

Default Stumped, Desperate: Word 97 with Acc 97 on WinXP... - 02-05-2004 , 12:22 AM






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)

Reply With Quote
  #2  
Old   
Bradley
 
Posts: n/a

Default Re: Stumped, Desperate: Word 97 with Acc 97 on WinXP... - 02-08-2004 , 06:41 PM






Worked for me on Office2000, WinXPPro

Is Word registered properly in Windows? Can you open a Word file by
double-clicking on it in Windows Explorer? Try a repair install of Office?

--
Bradley
Software Developer www.hrsystems.com.au
A Christian Response www.pastornet.net.au/response

"Kent Wolf" <REMOVEMEkentwolf (AT) comcast (DOT) net> wrote

Quote:
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)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.