RE: [dev] starbasic variables and type declarations

2005-08-30 Thread Victoria, Sven
Dear Christian, > -Original Message- > From: Christian Junker [mailto:[EMAIL PROTECTED] > Sent: maandag 29 augustus 2005 21:22 > To: dev@openoffice.org > Subject: Re: [dev] starbasic variables and type declarations > > > Sven, > > 2005/8/29, Vi

RE: [dev] starbasic & strcmp function

2005-08-29 Thread Victoria, Sven
> > On Mon, 2005-08-29 at 13:35 +0200, Victoria, Sven wrote: > > Hi, > > > > Could someone point me to the correct usages of StrCmp in StarBasic? > > With: > > strcmp(s1,s2) > > > > I get the following error: > > > > "Ba

RE: [dev] starbasic variables and type declarations

2005-08-29 Thread Victoria, Sven
the Variant construction is the way to go :( > All of this is documented in the Developer's Guide by the > way. So have a look at > http://api.openoffice.org or download the SDK which has new objects - > presented in 2.0 beta - listed and to some extent documented in its > ID

RE: [dev] starbasic & strcmp function

2005-08-29 Thread Victoria, Sven
Dear Stephan, It did work for me as well until I compiled the code (by accident) instead of running right away. Now I get the error and cannot execute the macro anymore. I looked at the way Visual Basic uses StrComp and it uses 3 arguments (String s1, String s2, int CompareMode) where you can sp

[dev] starbasic & strcmp function

2005-08-29 Thread Victoria, Sven
Hi, Could someone point me to the correct usages of StrCmp in StarBasic? With: strcmp(s1,s2) I get the following error: "Basic syntax error. Symbol StrComp already defined differently." But where is it defined? Regards, Sven ---

[dev] starbasic variables and type declarations

2005-08-29 Thread Victoria, Sven
Hi, I would like to declare a control variable (reference) in StarBasic and assign an existing control to it from an existing dialog like: Dim textField As com.sun.star.text.TextField textField = dialog.getControl("txtKlantNr") Hoewever the error I get here is: "unknown data type com.sun.s

RE: [dev] openoffice NamingService (java)

2005-08-26 Thread Victoria, Sven
; => only [HOST-NAME] can connect. > > soffice -accept=socket,host=0,port=8101;urp; > => all clients can connect > > Hope that helps, > > Christoph > > Victoria, Sven schrieb: > > Hi, > > > > I am trying to use OpenOffice as a server to wich

[dev] openoffice NamingService (java)

2005-08-26 Thread Victoria, Sven
Hi, I am trying to use OpenOffice as a server to wich I connect to with a Java client. I start the openoffice server on my computer and can connect to it via the loopback interface but it fails when I use my ip address or hostname in the connection string. "uno:socket,host="+host+",port=8100;urp

RE: [dev] string based instancing == typesafe ?

2005-08-25 Thread Victoria, Sven
age- > From: Jürgen Schmidt [mailto:[EMAIL PROTECTED] > Sent: woensdag 24 augustus 2005 16:09 > To: dev@openoffice.org > Subject: Re: [dev] string based instancing == typesafe ? > > > Hi Sven, > > Victoria, Sven wrote: > > Hi, > > > &g

[dev] string based instancing == typesafe ?

2005-08-24 Thread Victoria, Sven
Hi, I tried (with success) the SDraw.java example /examples/java/Drawing/SDraw.java and for the sake of learning changed the call in Main() to draw a line from: oShapes.add(createShape(xDrawDoc,2000,1500,1000,1000,"Line",0)); to: oShapes.add(createShape(xDrawDoc,2000,1500,1000,1000,"Line2",0