>Hi all
>I got somme trouble with some user using CTRL-ALT-DEL when my .exe is runing. After the computer restart this message pop up Validate Database. I use Validate database in a small .exe in the computer
>but i got a message telleing me that some Index is missing.
>
>My question is
>C'an I trap the CTRL-ALT-DEL and close the database before the computer shut down ?
>
>Or how can i build a .exe recreating the table,index and database with out losing the data.
>
>My .exe is on 15 Laptop runing around the Quebec. is use PCAnywhere to connect with the laptop and fix the databse but is a time consuming operation.
>
>This why I look for a good app to solve this trouble.
>
>Thank,s
>Ben.
It's not a good idea to trap for Ctrl-Alt-Delete. There are some measures you can take to prevent data corruption...buffering and views are a good place to start. There is some more information on my company's web page. Click my company name above.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer