Click here to Skip to main content
16,013,082 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: lib + message map problem Pin
Frank K24-Jul-03 2:31
Frank K24-Jul-03 2:31 
GeneralDetect Internet Connection Pin
Abhi@Work24-Jul-03 0:15
Abhi@Work24-Jul-03 0:15 
GeneralRe: Detect Internet Connection Pin
Toni7824-Jul-03 0:51
Toni7824-Jul-03 0:51 
GeneralRe: Detect Internet Connection Pin
Abhi@Work24-Jul-03 15:30
Abhi@Work24-Jul-03 15:30 
GeneralRe: Detect Internet Connection Pin
Toni7825-Jul-03 12:07
Toni7825-Jul-03 12:07 
QuestionHow make CDatabase instance gobal Pin
ValliS24-Jul-03 0:06
ValliS24-Jul-03 0:06 
AnswerRe: How make CDatabase instance gobal Pin
Jonathan de Halleux24-Jul-03 0:28
Jonathan de Halleux24-Jul-03 0:28 
AnswerRe: How make CDatabase instance gobal Pin
Michael P Butler24-Jul-03 0:36
Michael P Butler24-Jul-03 0:36 
ValliS wrote:
After creating interface, User should login to application. This login user id and password at the value avaible in database(MSaccess). Here say on OK action i create CDatabase Instance and open the database.

Make your CDatabase instance a member of your CWinApp derived class. You can then access it anywhere in your project by using AfxGetApp.



Michael

'War is at best barbarism...Its glory is all moonshine. It is only those who have neither fired a shot nor heard the shrieks and groans of the wounded who cry aloud for blood, more vengeance, more desolation. War is hell.' - General William Sherman, 1879

GeneralRe: How make CDatabase instance gobal Pin
ValliS24-Jul-03 2:18
ValliS24-Jul-03 2:18 
GeneralShutdown PC Pin
Anonymous23-Jul-03 23:44
Anonymous23-Jul-03 23:44 
GeneralRe: Shutdown PC Pin
Toni7823-Jul-03 23:56
Toni7823-Jul-03 23:56 
GeneralRe: Shutdown PC Pin
Anonymous24-Jul-03 1:11
Anonymous24-Jul-03 1:11 
GeneralRe: Shutdown PC Pin
Ryan Binns24-Jul-03 1:25
Ryan Binns24-Jul-03 1:25 
GeneralRe: Shutdown PC Pin
Toni7824-Jul-03 1:53
Toni7824-Jul-03 1:53 
GeneralRe: Shutdown PC Pin
Anonymous24-Jul-03 3:19
Anonymous24-Jul-03 3:19 
GeneralRe: Shutdown PC Pin
Fistboy24-Jul-03 2:37
Fistboy24-Jul-03 2:37 
GeneralDifference Between DLL and Lib Pin
Anonymous23-Jul-03 23:25
Anonymous23-Jul-03 23:25 
GeneralRe: Difference Between DLL and Lib Pin
Cedric Moonen23-Jul-03 23:35
Cedric Moonen23-Jul-03 23:35 
GeneralRe: Difference Between DLL and Lib Pin
melwyn23-Jul-03 23:57
melwyn23-Jul-03 23:57 
GeneralRe: Difference Between DLL and Lib Pin
Anonymous24-Jul-03 0:38
Anonymous24-Jul-03 0:38 
GeneralRe: Difference Between DLL and Lib Pin
Dominik Reichl23-Jul-03 23:39
Dominik Reichl23-Jul-03 23:39 
Generalleft of a string Pin
si_6923-Jul-03 23:23
si_6923-Jul-03 23:23 
GeneralRe: left of a string Pin
Dominik Reichl23-Jul-03 23:29
Dominik Reichl23-Jul-03 23:29 
GeneralRe: left of a string Pin
User 665824-Jul-03 3:50
User 665824-Jul-03 3:50 
GeneralWIN32 & WIN32s Pin
vikramlinux23-Jul-03 23:11
vikramlinux23-Jul-03 23:11 

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.