realbasic-nug
[Top] [All Lists]

Re: Excel imports without Excel installed

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Excel imports without Excel installed
From: Yves Vindevogel <yves dot vindevogel at implements dot be>
Date: Mon, 31 Jan 2005 18:37:34 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <64fb3b4a97c3eaa53e8de953d6154ac5 at implements dot be> <1e6774a3e91a453c1022fe8167049cdf at implements dot be>
Ok, surfed the web some more ....
This reply belongs in the "I feel f..cked by Ballmer" category.

Seems that the Viewer 2003 series no longer have the Automation capabilities. I downloaded the old 97 versions, and it works there .... well, for Powerpoint at least.
For excel is does not work.

On 31 Jan 2005, at 14:05, Yves Vindevogel wrote:

Hi,

I did some more testing with OpenOffice this time.
I downloaded the SDK, with a VBScript example.

It has a line     set obj = CreateObject("com.sun.star.ServiceManager")

When I retry this in RB with obj = New OLEObject ("....") it gives me an error that it cannot resolve the class string. I opened the registry with regedit and searched for this key. I then copied the clsid into it, and that works.

Does anybody have more information why the former did not work ?

I still have the same problem with the PowerpointViewer ....
It works from vbscript, but not from RB

Tnx


On 31 Jan 2005, at 11:40, Yves Vindevogel wrote:

Hi,

I use OpenOffice on my computer. I can do anything I need with it, so no need to install Office (read: Excel in this case) ...

However, I cannot start an import from RealBasic because I get an unhandled OLEException (Invalid class string). This seems normal, since Excel is not installed ...

I installed the Excel Viewer application, but this does not solve my problem.

Does anybody have an idea how I can fix this without installing Excel itself ?

Regards,
Yves

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>