>Greetings. I am trying to create a self-running form. It has a PKZipping OCX on it and I'd like it to start, do its thing, and exit. I can put Keyboard O (for OK) in the Init of the form and it runs then exits correctly, but this seems hokey and requires the OK button to be enabled and visible. I'd like to hide the button since there is nothing for the user to do, which I can by moving it off the form (also hokey). Is there a standard way to do this? Thanks.
If you want to execute code in OK button Click event you coul use:
thisform.OKButton.Click()
But if you code as it should (Execute Method from Event) then you can just call this method:
thisform.MethodThatHandleClickEventOfTheOKButton()
:-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.