dear jmarler ,
i remembered ... but unfortunatly also failed...
the button on a slide is added as an ActiveX control(Added as an OLE object)...
so i don't know why it does not respond to the events
.. any way i tryed to create a macro to add a button on the currect slide (as a test of my work)....
here is the code of the Macro
__________________________________________________________
Option Explicit
Public Cmd As New AddingButton
Sub addButton()
On Error GoTo ErrHandle:
With ActiveWindow.Selection.SlideRange.Shapes
Set Cmd.Control = .AddOLEObject _
(Left:=120#, _
Top:=110#, _
Width:=120#, _
Height:=60#, _
ClassName:="Forms.CommandButton.1", _
Link:=msoFalse).OLEFormat.Object
End With
Exit Sub
ErrHandle:
MsgBox "Error in AddButton"
End Sub
___________________________________________________________
and the code of the Class Module (called AddVoteButton)..
(Final Version..

______________________________________________
Option Explicit
Private WithEvents Cmd As MSForms.CommandButton
Private Sub Class_Initialize()
'' tryed this but failed (Cmd here always returned with create object false)
'' Set Cmd = CreateObject("Forms.CommandButton.1"

End Sub
Public Property Set Control _
(ByVal CmdControl As CommandButton)
Set Cmd = CmdControl
Cmd.Caption = " START VOTE "
Cmd.TakeFocusOnClick = True
End Property
_________________________________________________________
Private Sub Cmd_Click()
'Call CreateVoteSlide ''the method that should be called MsgBox "Correct" '' for test
End Sub
all this did not work....
oh... i found something you might be gone through such...
when i run the macro ... the first give button that doesn't work..
But when i run the macro twice...(following each other)
i give a button that works!!!!!!!!!!!!!!!!!!!
thanx again for ur time
and the