Click here to Skip to main content
16,010,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A real challenge . . . customizing programs without the source code Pin
Alvaro Mendez20-Nov-01 11:41
Alvaro Mendez20-Nov-01 11:41 
GeneralRe: A real challenge . . . customizing programs without the source code Pin
chris196220-Nov-01 17:38
chris196220-Nov-01 17:38 
GeneralRe: Load the resource by the different DLL! Pin
Masaaki Onishi20-Nov-01 16:52
Masaaki Onishi20-Nov-01 16:52 
GeneralRe: A real challenge . . . customizing programs without the source code Pin
Rassman20-Nov-01 22:26
Rassman20-Nov-01 22:26 
GeneralOT : integrating a TCL command line into an MFC Application Pin
Stephane Routelous20-Nov-01 9:40
Stephane Routelous20-Nov-01 9:40 
Generalcompacting a database on-the-fly Pin
Sean McKinnon20-Nov-01 8:58
Sean McKinnon20-Nov-01 8:58 
GeneralRe: compacting a database on-the-fly Pin
Carlos Antollini20-Nov-01 9:52
Carlos Antollini20-Nov-01 9:52 
GeneralRe: compacting a database on-the-fly Pin
Sean McKinnon20-Nov-01 9:58
Sean McKinnon20-Nov-01 9:58 
This is a Visual C++ app, using a CDaoDatabase (and the Jet engine).

My current solution is to check the database size at startup, and prompt the user to see if they want to perform a compaction if the database is larger than a certain threshold. The user is also prompted to shut down other applications which may be accessing the database.

The problem with this solution, is that it forces the user to periodically shut down and re-start the application (as well as other applications).

To do the compaction, I use the CDaoWorkspace static member function CompactDatabase. This works, but I wish there was a better solution.

Thanks - Sean
GeneralRe: compacting a database on-the-fly Pin
Carlos Antollini20-Nov-01 10:06
Carlos Antollini20-Nov-01 10:06 
GeneralList columns question ! Pin
Hadi Rezaee20-Nov-01 8:28
Hadi Rezaee20-Nov-01 8:28 
GeneralRe: List columns question ! Pin
Joaquín M López Muñoz20-Nov-01 8:44
Joaquín M López Muñoz20-Nov-01 8:44 
GeneralRe: List columns question ! Pin
Hadi Rezaee20-Nov-01 14:59
Hadi Rezaee20-Nov-01 14:59 
GeneralClose Active Document Pin
Troy20-Nov-01 8:28
Troy20-Nov-01 8:28 
GeneralRe: Close Active Document Pin
Bill Wilson20-Nov-01 13:06
Bill Wilson20-Nov-01 13:06 
GeneralRe: Close Active Document Pin
Troy20-Nov-01 19:48
Troy20-Nov-01 19:48 
Generalproblem with CTreeCtrl::GetSelectedItem() Pin
Vu Nguyen20-Nov-01 8:21
Vu Nguyen20-Nov-01 8:21 
GeneralRe: problem with CTreeCtrl::GetSelectedItem() Pin
Mukkie21-Nov-01 7:15
Mukkie21-Nov-01 7:15 
GeneralRe: problem with CTreeCtrl::GetSelectedItem() Pin
Vu Nguyen21-Nov-01 9:07
Vu Nguyen21-Nov-01 9:07 
GeneralCompiler Errors! AHHHH! Pin
20-Nov-01 7:21
suss20-Nov-01 7:21 
GeneralRe: Compiler Errors! AHHHH! Pin
Joaquín M López Muñoz20-Nov-01 7:28
Joaquín M López Muñoz20-Nov-01 7:28 
GeneralRe: Compiler Errors! AHHHH! Pin
Alvaro Mendez20-Nov-01 7:49
Alvaro Mendez20-Nov-01 7:49 
GeneralRe: Compiler Errors! AHHHH! Pin
James Bird20-Nov-01 10:00
James Bird20-Nov-01 10:00 
GeneralRe: Compiler Errors! AHHHH! Pin
Alvaro Mendez20-Nov-01 12:17
Alvaro Mendez20-Nov-01 12:17 
Generaluse a timer to interrupt a background thread - help pleaseee:) Pin
20-Nov-01 3:08
suss20-Nov-01 3:08 
GeneralRe: use a timer to interrupt a background thread - help pleaseee:) Pin
Joaquín M López Muñoz20-Nov-01 5:54
Joaquín M López Muñoz20-Nov-01 5:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.