Giving the focus to forms

04-12-2003, 11:03 AM
I'm not sure if this is what it is called, but I'll try to explain it anyway. I want to load a form in one of my programs so that the user cannot click on any other program until they either click OK or Cancel. One example of what I want to do is the Save As dialog box in Word. If anyone knows what I am talking about, or knows how to fix my problem, please let me know. Thanks

04-12-2003, 11:14 AM
Yes, you want to show the form using vbModal.
frmSaveAs.Show vbModal

04-12-2003, 12:03 PM
Thanks, solved my problem.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum