Colin Leahey
Guest
n/a Posts November 12th, 2005
01:40 PM
#3
Re: Insert Ole Object Error 2793
--------------------------------------------------------------------------------
Having looked at the rest of the code in this module I can see the
problem was me using dodgey coding. The idea was the the user never
sees the ole control and just clicks on a button to insert or veiw
objects. So I hid the ole control on the form and didn't let it have
focus.
Private Sub oleBlob_GotFocu s()
cmdActivateOLE. SetFocus
End Sub
This was my mistake, the control must have focus in order display the
Insert object dialog.
If anyone comes across this an a MDSN article please could you attach
it as I couldn't find it anywhere and had to work this out for myself.
Colin.
Guest
n/a Posts November 12th, 2005
01:40 PM
#3
Re: Insert Ole Object Error 2793
--------------------------------------------------------------------------------
Having looked at the rest of the code in this module I can see the
problem was me using dodgey coding. The idea was the the user never
sees the ole control and just clicks on a button to insert or veiw
objects. So I hid the ole control on the form and didn't let it have
focus.
Private Sub oleBlob_GotFocu s()
cmdActivateOLE. SetFocus
End Sub
This was my mistake, the control must have focus in order display the
Insert object dialog.
If anyone comes across this an a MDSN article please could you attach
it as I couldn't find it anywhere and had to work this out for myself.
Colin.
Thanks again!
Specterman