[英]deploy a windows form application which links to two excel files created on visual studio 2010 on another system
I have created a windows form application in visual studio 2010 which has 4 forms in it. 我在Visual Studio 2010中创建了一个Windows窗体应用程序,其中有4个窗体。 3 of these files are connected to 2 different excel files.
这些文件中的3个连接到2个不同的excel文件。 Now, I want this application to run on another system which has the same excel files.
现在,我希望此应用程序在具有相同excel文件的另一个系统上运行。 I have just made the application but I am clueless on what to do in order to run it as an application on the other system.
我刚刚制作了该应用程序,但是对于在其他系统上将其作为应用程序运行该怎么做一无所知。
I understand that you are relying on "Interop" to communicate with Excel. 我了解您依靠“ Interop”与Excel进行通信。 In that case, you have to make sure that Microsoft Office is installed on the target computer.
在这种情况下,您必须确保在目标计算机上安装了Microsoft Office。 In order to avoid problems, confirm that the version is equal to the one you used to create the application.
为了避免出现问题,请确认该版本与用于创建该应用程序的版本相同。
If the target version of Office is 2007 or older, the Redistributable Primary Interop Assemblies have to be installed on the given computer ( link to the 2007 version ). 如果Office的目标版本为2007或更早版本,则必须在给定的计算机上安装可重新分发的主互操作程序集( 链接到2007版本 )。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.