请解决这个问题....(紧急) [英] Please Settle This Issue....(URGENT)

查看:81
本文介绍了请解决这个问题....(紧急)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我脑海里......


我需要我的应用程序才能使用Office 97,2000,XP和2003版本的

MS Word和MS Excel。


为了完成这个我必须安装在不同的文件夹中:


1.删除我的Office 2003

2.安装Office 97 Word和Excel

3.安装Office 2000 Word和Excel

4.安装Office XP Word和Excel

5.重新安装我的Office 2003

6.打开我的项目并为Word和Excel库添加引用8?-11。

库将在那里对吗?

7.重建项目.......


上次我做了这样的事情,我花了几周时间试图解决这个问题

变成了。我试图在2003年之前安装OFfice XP,而不需要关闭2003




我非常想再次通过那个...... br />

再次感谢。

in my head......

I need my application to work with Office 97, 2000, XP and 2003 versions of
MS Word and MS Excel.

IN order to acomplish this I have to install in different folders:

1. remove my Office 2003
2. Install Office 97 Word and Excel
3. Install Office 2000 Word and Excel
4. Install Office XP Word and Excel
5. Reinstall my Office 2003
6. Open my project and add references for Word and Excel libraries 8?-11.
The libraries will be there then right?
7. REbuild project.......

Last time I did something like this I spent weeks trying to fix the mess it
turned into. I tried to install OFfice XP next to 2003 without taking 2003
off.

I so much do not want to go through that again....

Thanks again.

推荐答案

您应该在开发机器上安装Office 97,而你的

项目应该只引用Office 97类型库(版本8.0,我认为。
想想。)


应用程序将然后向前兼容Office的更高版本

。 (至少在理论上 - 有报告称Office对象模型中有一些微妙的变化可能会引入错误,因此请使用其他版本彻底测试您的应用程序

。你可以在你的机器上安装其他版本的Office

用于测试目的,但这并不是必须的。

" ; scorpion53061" <它的世界尽头我们知道 it@here.com >写在

消息新闻:************** @ TK2MSFTNGP11.phx.gbl ...
You should have Office 97 installed on your development machine, and your
project should only reference the Office 97 type libraries (version 8.0, I
think.)

The application will then be forward compatible to later versions of Office
as well. (In theory at least -- there are reports of a few subtle changes
in the Office object model that can introduce bugs, so test your application
thoroughly with other versions.) You can have other versions of Office
installed on your machine for testing purposes, but it isn''t strictly
necessary.
"scorpion53061" <Its the end of the world as we know it@here.com> wrote in
message news:Of**************@TK2MSFTNGP11.phx.gbl...
在我脑海里.. ....

我需要我的应用程序使用Office 97,2000,XP和2003版本的MS Word和MS Excel


为了我必须安装在不同的文件夹中:

1.删除我的Office 2003
2.安装Office 97 Word和Excel
3.安装Office 2000 Word和Excel
4.安装Office XP Word和Excel
5.重新安装我的Office 2003
6.打开我的项目并添加Word和Excel库的参考8?-11。
库将是那么对吗?
7.重建项目.......

上次我做了这样的事情,我花了几周时间试图解决它变成的混乱
。我试图在2003年之前安装OFfice XP,而没有关闭2003


我非常想再次通过那个....

谢谢再次。
in my head......

I need my application to work with Office 97, 2000, XP and 2003 versions of MS Word and MS Excel.

IN order to acomplish this I have to install in different folders:

1. remove my Office 2003
2. Install Office 97 Word and Excel
3. Install Office 2000 Word and Excel
4. Install Office XP Word and Excel
5. Reinstall my Office 2003
6. Open my project and add references for Word and Excel libraries 8?-11.
The libraries will be there then right?
7. REbuild project.......

Last time I did something like this I spent weeks trying to fix the mess it turned into. I tried to install OFfice XP next to 2003 without taking 2003
off.

I so much do not want to go through that again....

Thanks again.



感谢您的重新编码。 Plesae让我知道这里出了什么问题。


完成这项工作(投入8.0)后我所拥有的东西


Imports Word = Microsoft。 Office.Interop.Word

Imports Office = Microsoft.Office.Core


无效。它说:


C:\Documents and Settings \Administrator\My Documents\Visual Studio

Projects \ MS Word Assistant \ fmworddoc.vb(2):命名空间或类型''Word''为

导入''Microsoft.Office.Interop.Word''找不到。


C:\Documents and Settings \Administrator\My Documents\Visual Studio

Projects \ MS Word Assistant \fmworddoc.vb(3):导入别名''Office' '冲突

在根命名空间中声明了''Namespace Office'。

无法找到依赖项''Interop.VBIDE'。

Robert Jacobson < RJ ********************** @ nospam.com>在消息中写道

新闻:OW **************** @ TK2MSFTNGP11.phx.gbl ...
Thank you for respoding. Plesae let me know what went wrong here.

After doing this (putting in 8.0) what I had before

Imports Word = Microsoft.Office.Interop.Word
Imports Office = Microsoft.Office.Core

isnt working. IT is saying:

C:\Documents and Settings\Administrator\My Documents\Visual Studio
Projects\MS Word Assistant\fmworddoc.vb(2): Namespace or type ''Word'' for the
Imports ''Microsoft.Office.Interop.Word'' cannot be found.

C:\Documents and Settings\Administrator\My Documents\Visual Studio
Projects\MS Word Assistant\fmworddoc.vb(3): Imports alias ''Office'' conflicts
with ''Namespace Office'' declared in the root namespace.
The dependency ''Interop.VBIDE'' could not be found.
"Robert Jacobson" <rj**********************@nospam.com> wrote in message
news:OW****************@TK2MSFTNGP11.phx.gbl...
你应该有Office 97安装在你的开发机器上,你的
项目应该只引用Office 97类型的库(版本8.0,我认为。)

该应用程序将向前兼容到更高版本的
Office也是如此。 (至少在理论上 - 有报告称Office对象模型中存在一些可能会引入错误的细微更改,因此请使用其他版本彻底测试
应用程序。)您可以拥有其他版本的Office
安装在您的机器上用于测试目的,但并非严格必要。

" scorpion53061" <它的世界尽头我们知道 it@here.com >在
消息新闻中写道:************** @ TK2MSFTNGP11.phx.gbl ...
You should have Office 97 installed on your development machine, and your
project should only reference the Office 97 type libraries (version 8.0, I
think.)

The application will then be forward compatible to later versions of Office as well. (In theory at least -- there are reports of a few subtle changes
in the Office object model that can introduce bugs, so test your application thoroughly with other versions.) You can have other versions of Office
installed on your machine for testing purposes, but it isn''t strictly
necessary.
"scorpion53061" <Its the end of the world as we know it@here.com> wrote in
message news:Of**************@TK2MSFTNGP11.phx.gbl...
在我脑海里......

我需要我的应用程序使用Office 97,2000,XP和2003版本
in my head......

I need my application to work with Office 97, 2000, XP and 2003 versions


MS Word和MS Excel。

为了完成这个我必须安装在不同的文件夹中:

1.删除我的Office 2003
2.安装Office 97 Word和Excel
3。安装Office 2000 Word和Excel
4.安装Office XP Word和Excel
5.重新安装我的Office 2003
6.打开我的项目并添加Word和Excel库的参考
8 ?-11。那些图书馆会在那里吗?
7.重建项目.......

上次我做了这样的事情我花了几周试图解决这个烂摊子
MS Word and MS Excel.

IN order to acomplish this I have to install in different folders:

1. remove my Office 2003
2. Install Office 97 Word and Excel
3. Install Office 2000 Word and Excel
4. Install Office XP Word and Excel
5. Reinstall my Office 2003
6. Open my project and add references for Word and Excel libraries 8?-11. The libraries will be there then right?
7. REbuild project.......

Last time I did something like this I spent weeks trying to fix the mess


变成了。我试图在2003年之前安装OFfice XP,而没有花掉2003年的


我非常想再次通过那个....

谢谢再次。
turned into. I tried to install OFfice XP next to 2003 without taking 2003 off.

I so much do not want to go through that again....

Thanks again.




请原谅我的VB6,但仅举例说明。


如果您只是使用

CreateObject(

CreateObject)执行一个

的创建对象类型问题,那么Microsoft Office产品的设计方式是不是很好Word.Application)它根据regsitry定义自动返回相应的

版本?


我们可以在这里使用相同的想法吗?并且只与Excel 7.0(97)

库互操作以确保100%向后兼容性?


-CJ


罗伯特雅各布森 < RJ ********************** @ nospam.com>在消息中写道

新闻:OW **************** @ TK2MSFTNGP11.phx.gbl ...
Pardon my VB6 here, but using it purly for example.

Isn''t the way Microsoft Office products are designed that if you just do a
createobject type issue with

CreateObject("Word.Application") it automatically returns the appropriate
version as per the regsitry defintion?

Could we use the same idea here? And only interop the Excel 7.0 (97)
Library to ensure 100% backwards compatiblity?

-CJ

"Robert Jacobson" <rj**********************@nospam.com> wrote in message
news:OW****************@TK2MSFTNGP11.phx.gbl...
你应该有Office 97安装在你的开发机器上,你的
项目应该只引用Office 97类型的库(版本8.0,我认为。)

该应用程序将向前兼容到更高版本的
Office也是如此。 (至少在理论上 - 有报告称Office对象模型中存在一些可能会引入错误的细微更改,因此请使用其他版本彻底测试
应用程序。)您可以拥有其他版本的Office
安装在您的机器上用于测试目的,但并非严格必要。

" scorpion53061" <它的世界尽头我们知道 it@here.com >在
消息新闻中写道:************** @ TK2MSFTNGP11.phx.gbl ...
You should have Office 97 installed on your development machine, and your
project should only reference the Office 97 type libraries (version 8.0, I
think.)

The application will then be forward compatible to later versions of Office as well. (In theory at least -- there are reports of a few subtle changes
in the Office object model that can introduce bugs, so test your application thoroughly with other versions.) You can have other versions of Office
installed on your machine for testing purposes, but it isn''t strictly
necessary.
"scorpion53061" <Its the end of the world as we know it@here.com> wrote in
message news:Of**************@TK2MSFTNGP11.phx.gbl...
在我脑海里......

我需要我的应用程序使用Office 97,2000,XP和2003版本
in my head......

I need my application to work with Office 97, 2000, XP and 2003 versions


MS Word和MS Excel。

为了完成这个我必须安装在不同的文件夹中:

1.删除我的Office 2003
2.安装Office 97 Word和Excel
3。安装Office 2000 Word和Excel
4.安装Office XP Word和Excel
5.重新安装我的Office 2003
6.打开我的项目并添加Word和Excel库的参考
8 ?-11。那些图书馆会在那里吗?
7.重建项目.......

上次我做了这样的事情我花了几周试图解决这个烂摊子
MS Word and MS Excel.

IN order to acomplish this I have to install in different folders:

1. remove my Office 2003
2. Install Office 97 Word and Excel
3. Install Office 2000 Word and Excel
4. Install Office XP Word and Excel
5. Reinstall my Office 2003
6. Open my project and add references for Word and Excel libraries 8?-11. The libraries will be there then right?
7. REbuild project.......

Last time I did something like this I spent weeks trying to fix the mess


变成了。我试图在2003年之前安装OFfice XP,而没有花掉2003年的


我非常想再次通过那个....

谢谢再次。
turned into. I tried to install OFfice XP next to 2003 without taking 2003 off.

I so much do not want to go through that again....

Thanks again.




这篇关于请解决这个问题....(紧急)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆