Re: COM object return

2006-04-29 Thread Philip K. Dunn
| I suspect you will not be able to use this COM object directly from CF, | unless it has alternative properties and methods that you can directly | address from within CF. Thanks Dave. All the "outbound" calls succeed using CF calls to this particular COM obj - it is a problem reading the "inbo

RE: COM object return

2006-04-29 Thread Dave Watts
> Reference fails with: "Failed attempting to find "W" > property/method on the object COM error 0x80020006. Unknown name." > > > ***other init stuff here > > > w = #g.w# > > If I fail to initialize w or h, then "Error resolving > parameter W" occurs. > > The docs use VB examples, so

RE: COM object return

2006-04-29 Thread Adrian Lynch
Maybe I'm looking at the code wrong, but are your own vars. You know what they are because you set them: What am I missing? -Original Message- From: Philip Dunn [mailto:[EMAIL PROTECTED] Sent: 29 April 2006 19:17 To: CF-Talk Subject: Re: COM object return >If w and h ar

Re: COM object return

2006-04-29 Thread Philip Dunn
>If w and h are public properties of the object, you should be able to >reference them >using the object name as a prefix (ex: g.w, g.h). Reference fails with: "Failed attempting to find "W" property/method on the object COM error 0x80020006. Unknown name." ***other init stuff here w =

RE: COM object return

2006-04-29 Thread Dave Watts
> I am trying to use a COM object (Shotgraph) function which > sets a parameter variable within the object. The question is: > can CF5 determine the return value of the function variable. > > Example: > > > > > w and h return pixel width and height of the string (its font > size already hav

COM object return

2006-04-29 Thread Philip K. Dunn
I am trying to use a COM object (Shotgraph) function which sets a parameter variable within the object. The question is: can CF5 determine the return value of the function variable. Example: w and h return pixel width and height of the string (its font size already having been specified).