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. 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

______
Bernard

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

Reply via email to