Hi
Im displaying a few command buttons on a document_Open event. I ve placed command buttons to open different documents. ONe of the cmd buttons is an exit button to quit the BO application.
i just have this code on Exit button's click
Application.Quit
Its throwing an , "Invalid Object" error !
The tricky part is that, if i open other documents first (by clicking the command buttons), the application objects that i have used in those documents are working well!
But if i click on the exit button, it throws this error.
it works fine ,the next time ONLY if i close the application itself and open it again.
its absolutely fine, asking me if i want to save the documents that i played with.. before quitting BO.
Is there anything that i should set to avoid this error?
Thanks
Kkay
Im displaying a few command buttons on a document_Open event. I ve placed command buttons to open different documents. ONe of the cmd buttons is an exit button to quit the BO application.
i just have this code on Exit button's click
Application.Quit
Its throwing an , "Invalid Object" error !
The tricky part is that, if i open other documents first (by clicking the command buttons), the application objects that i have used in those documents are working well!
But if i click on the exit button, it throws this error.
it works fine ,the next time ONLY if i close the application itself and open it again.
its absolutely fine, asking me if i want to save the documents that i played with.. before quitting BO.
Is there anything that i should set to avoid this error?
Thanks
Kkay