Re: A question about StarBasic

2013-09-03 Thread Andrew Douglas Pitonyak
Clarence, I assume that Jürgen was referring to objects that are part of AOO. In the example provided by Peter, creating an Excel.Sheet references an object that is not part of AOO, but it is known to Windows (if it works) and so AOO is able to find it. While you are running AOO, the objec

Re: A question about StarBasic

2013-09-02 Thread Clarence GUO
Juergen, Yes SAPGUI is not an AOO default object, it should be a SAP COMM object. Do you mean OpenOffice Basic doesn't support non-default objects? If so, what are the OpenOffice Basic default objects? Clarence 2013/9/2 Jürgen Schmidt > On 9/2/13 11:09 AM, Clarence GUO wrote: > > Thanks Peter,

Re: A question about StarBasic

2013-09-02 Thread Fernando Cassia
On Mon, Sep 2, 2013 at 2:47 AM, Clarence GUO wrote: > I'm totally green at StarBasic and VBA I suggest you read this. Since StarOffice was OpenOffice.org -w some addons- which is now AOO, it is totally relevant. http://toolkit.its.isu.edu/Documentation/StarOffice/StarOffice_Basic_Guide_en-US.PD

Re: A question about StarBasic

2013-09-02 Thread Fernand Vanrie
Hallo Peter , Hi Clarence, Am 02.09.2013 08:47, schrieb Clarence GUO: Hi~ I'm totally green at StarBasic and VBA. Now I have a question about CreateObject. I installed SAP and have below macros. Dim SapGuiAuto As Variant Set SapGuiAuto = CreateObject("SAPGUI") "SAPGUI" must be an ActiveXObje

Re: A question about StarBasic

2013-09-02 Thread Jürgen Schmidt
On 9/2/13 11:09 AM, Clarence GUO wrote: > Thanks Peter, > Yes Set SapGuiAuto = CreateObject("Excel.Sheet") works. > Why "SAPGUI" must be an ActiveXObject? Is it by design? > whatever it is in detail it is not part of AOO by default and probably comes from somewhere else. Juergen > Clarence >

Re: A question about StarBasic

2013-09-02 Thread Clarence GUO
Thanks Peter, Yes Set SapGuiAuto = CreateObject("Excel.Sheet") works. Why "SAPGUI" must be an ActiveXObject? Is it by design? Clarence 2013/9/2 Peter Eberlein > > Hi Clarence, > Am 02.09.2013 08:47, schrieb Clarence GUO: > > Hi~ >> I'm totally green at StarBasic and VBA. Now I have a question

Re: A question about StarBasic

2013-09-02 Thread Peter Eberlein
Hi Clarence, Am 02.09.2013 08:47, schrieb Clarence GUO: Hi~ I'm totally green at StarBasic and VBA. Now I have a question about CreateObject. I installed SAP and have below macros. Dim SapGuiAuto As Variant Set SapGuiAuto = CreateObject("SAPGUI") "SAPGUI" must be an ActiveXObject. Does Set S

A question about StarBasic

2013-09-01 Thread Clarence GUO
Hi~ I'm totally green at StarBasic and VBA. Now I have a question about CreateObject. I installed SAP and have below macros. Dim SapGuiAuto As Variant Set SapGuiAuto = CreateObject("SAPGUI") But I got error "BASIC runtime error. '91' Module cannot be loaded; invalid format" when executing CreateO