473,405 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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

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)
Nov 12 '05 #1
1 1230
I'm running office97 on xp pro...
your code works fine on my system
what is the error message ?

Kent Wolf <RE**************@comcast.net> wrote in message news:<ia********************************@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)

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Allcomp | last post by:
Hello, I have a problem with a VB6 program that command a mailmerge with word object. The database is a MSDE Database. In the two cases, the server is the same The file c:\res.odc is empty...
3
by: Kevin | last post by:
I just installed WinXP Pro SP1. I installed IIS 5.1. I have a project that was created in VB6 using webclasses (yuck!). It will not run. Here is the problem: If I do this: Set...
2
by: Shawn | last post by:
Hi, I have added a spell checker to my web application using the "Microsoft Word Document" DCOM. Everything works great in my development environment. When I move everything over to my...
7
by: rockocubs | last post by:
I am working on a table of contents page in html for an intranet, i want to click on links to documents and have them open up in word and not word in the browser, is there a way to do this.
31
by: darrel | last post by:
It's been a long day. I've upgraded to XP Pro, installed IIS, installed ASP.net 1.1, installed VisualBasic.net 2003 and all of the umpteen patches and fixes for everything. But I still can't get...
4
by: Jeff B | last post by:
I am having a very perplexing problem with setting the user's roles. I have tried to figure this out for 2 days now. When the user logs in to the site, I retrieve the roles from the database and...
3
by: Dave | last post by:
So I'm trying to write a CSS preprocessor. I want to add the ability to append a selector onto other selectors. So, given the following code: ========================================= #selector...
6
by: Mark Rae | last post by:
Hi, My client has asked me to provide a "quick and dirty" way to export the contents of a DataGrid to both Excel for analysis and Word for editing and printing, so I'm investigating client-side...
7
by: Wiebe Tijsma | last post by:
Hi, I'm running a web application application using the Microsoft.Interop.Security.AzRoles version 1.2.0.0 in the GAC. After an upgrade to Vista, I also have a version 2.0.0.0 in the GAC. I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.