>It's an ActiveX control
>
Ok Jim... the heck with that VB stuff... now that I know the problem, I can solve it the simple VFP way... Here is the code to put in your command click:
this.Enabled = .f.
Do While ThisForm.OleControl1.Busy
DoEvents()
enddo
ThisForm.Olecontrol1.ExecWB( 6, 0 )
this.Enabled = .t.
BOb