Bernard, thanks for your repli

Bernard Marcelly wrote:

Message de Fernand Vanrie  date 2007-10-03 17:12 :
Hallo,

Tery to play a emmbed sound file from with in a basic macro

first try =  xraying the object gives a nullobject ???

is this a xray problem or is the embedfile somthing more special ??


Please don't suspect Xray first.
I sertenly do not do that i found xray the most usefull tool i ever found to strugle with the complex API

We must raise a statue for the work you did !

I am not a professional coder and sometime i do not understood everything a come across

like "why is a embedded sound object a nullobject" do it means that it can not been handeled by the API our do i need to llook elsewhere for more info ?


In the IDE you can also use a watch on your variable.

Sub Main
dim obj
obj =  thisComponent.EmbeddedObjects(0)
End Sub

Put a watch on obj
Put a stop on End Sub
Unfold  the obj tree in the watch window
obj.EmbeddedObject is displayed as : Null object
Thanks for this advice i will use this tehnique in the future


______
Bernard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to