无法创建对象 [英] can't create a object

查看:95
本文介绍了无法创建对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果系统没有Microsoft excel安装,则在使用vb6创建Microsoft excel对象时出错.

我不希望将Microsoft excel安装在PC上.

Error in creating an microsoft excel object using vb6 if a system does not have a microsoft excel install.

i don''t want microsoft excel to be install on a PC.

推荐答案

如果要在应用程序中使用excel对象,则需要具有在要使用您的应用程序的PC上安装了excel.没办法解决这个问题.
If you want to use an excel object in your application, then you will need to have excel installed on the PC that wants to use your application. There isn''t any way around that.


当然可以在不安装Office的情况下做到这一点,但是VB6…我对此表示怀疑.谁会为您做?这个想法是:您可以继续使用VB.NET吗?我从来没有理由遭受过VB6的困扰.使用.NET,您可以使用许多解决方案.您甚至可以使用一些免费产品:免费的Visual Studio Express或开源SharpDevelop( http://en.wikipedia.org/wiki/Visual_Studio_Express [ ^ ],http://en.wikipedia.org/wiki/SharpDevelop [ http://sharpdevelop.com/ [ ^ ]).

请参见不使用Microsoft Excel生成Excel文件 [
Of course it''s possible to do it without Office installed, but VB6… I doubt to. Who would do it for you? The idea is: could you go forward to VB.NET? I see no reasoned to suffer from VB6, ever. With .NET, you can use many solutions. You can even use some free products: free of charge Visual Studio Express or Open-Source SharpDevelop (http://en.wikipedia.org/wiki/Visual_Studio_Express[^], http://en.wikipedia.org/wiki/SharpDevelop[^], http://sharpdevelop.com/[^]).

See Generate Excel files without using Microsoft Excel[^].

—SA


这篇关于无法创建对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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