Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

One Last Question ( I promise )

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
OHM \( Terry Burns \) - 23 Dec 2004 20:31 GMT
On a user form, how can I trap the close X in the top right hand corner to
prevent it from closing unless I have processed my validation function ?

Signature

OHM ( Terry Burns )   * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
    ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--

Joost Verdaasdonk - 23 Dec 2004 20:39 GMT
Hi,

Look up QueryClose event of you're form! (F1)
And use it's Cancel property

Enjoy,
Joost Verdaasdonk
OHM \( Terry Burns \) - 24 Dec 2004 12:28 GMT
Sh1t, I missed that I was looking for Close

Cheers

Signature

OHM ( Terry Burns )   * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
    ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--

> Hi,
>
[quoted text clipped - 3 lines]
> Enjoy,
> Joost Verdaasdonk
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.