Ask Your Question

Handi Rusli's profile - activity

2014-04-04 23:27:43 +0200 received badge  Famous Question (source)
2014-04-04 23:27:43 +0200 received badge  Popular Question (source)
2014-04-04 23:27:43 +0200 received badge  Notable Question (source)
2013-02-18 04:39:55 +0200 commented answer Automation LibreOffice Calc 4.0 Examples for VB.NET

Thank you very much, really appreciated :-)

2013-02-18 03:42:44 +0200 received badge  Student (source)
2013-02-18 03:15:14 +0200 answered a question Automation LibreOffice Calc 4.0 Examples for VB.NET

Hi @qubit,

Here is my code for detecting LibO is Installed or not :

Public Shared Function IsInstalled() As Boolean
    Dim balik As Boolean
    Dim xContext As LibreOffice.uno.XComponentContext
    Dim MSFactory As LibreOffice.lang.XMultiServiceFactory

    Try
        xContext = uno.util.Bootstrap.bootstrap()
        MSFactory = DirectCast(xContext.getServiceManager(), LibreOffice.lang.XMultiServiceFactory)
        balik = True
    Catch oERROR As Exception
        balik = False
    End Try

    Return balik
End Function

This function is always failed to detect LibO 4.0, but it's work perfectly in LibO 3.6

Am I missing something ?

Thanks :-)

2013-02-14 09:10:28 +0200 asked a question Automation LibreOffice Calc 4.0 Examples for VB.NET

Hi All,

Anyone knows where I can get automation Calc 4.0 Examples for VB.NET ? Recently, I have been upgraded to Calc 4.0 but my code is no longer run. I was using Calc 3.6 previously and my code was running well.

Thanks in advance :-)