Re: [Gambas-user] Strange error in Embedder

2008-10-17 Thread M0E Lnx
You can find the "WM_CLASS" property of a window by executing "xprop" and then clicking on the window you wish to look up do this xprop | grep WM_CLASS then click the running OO window that you wish to embed You can look at how I did it here to embed gparted into a linux installer I'm writing htt

Re: [Gambas-user] Strange error in Embedder

2008-10-16 Thread JB Skaggs
Could you give a brief example of searching by WM_CLASS? I tried before and could not get that to work. JB On Thu, 2008-10-16 at 16:18 -0500, M0E Lnx wrote: > Have you thought about finding the window by using it's WM_CLASS value? > > I've had better results that way than with the window title >

Re: [Gambas-user] Strange error in Embedder

2008-10-16 Thread M0E Lnx
Have you thought about finding the window by using it's WM_CLASS value? I've had better results that way than with the window title On Thu, Oct 16, 2008 at 3:46 PM, JB Skaggs <[EMAIL PROTECTED]> wrote: > Right here in the code: > > key = Desktop.Find(windowTitle) > > On Thu, 2008-10-16 at 20:06 +

Re: [Gambas-user] Strange error in Embedder

2008-10-16 Thread JB Skaggs
Right here in the code: key = Desktop.Find(windowTitle) On Thu, 2008-10-16 at 20:06 +0200, Benoit Minisini wrote: > On jeudi 16 octobre 2008, jbskaggs wrote: > > Okay I have an embedder working to embed Open Office- But a couple of users > > of the program get this error: > > > > Wanted Pointer [

Re: [Gambas-user] Strange error in Embedder

2008-10-16 Thread Benoit Minisini
On jeudi 16 octobre 2008, jbskaggs wrote: > Okay I have an embedder working to embed Open Office- But a couple of users > of the program get this error: > > Wanted Pointer [] got integer Where exactly? -- Benoit Minisini -

[Gambas-user] Strange error in Embedder

2008-10-16 Thread jbskaggs
Okay I have an embedder working to embed Open Office- But a couple of users of the program get this error: Wanted Pointer [] got integer I cannot duplicate this on my system and my other users don't get this error. Here is the code: PUBLIC SUB Presence_Embed(windowTitle AS String) DIM key