Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionClose MDI Child Window Fail ??? Pin
_skidrow_vn_2-Aug-03 8:45
_skidrow_vn_2-Aug-03 8:45 
Questionwhat files to distribute with my MFC app? Pin
mcguile2572-Aug-03 8:16
mcguile2572-Aug-03 8:16 
AnswerRe: what files to distribute with my MFC app? Pin
Michael Dunn2-Aug-03 9:19
sitebuilderMichael Dunn2-Aug-03 9:19 
Generalstill doesn't work Pin
mcguile2572-Aug-03 11:23
mcguile2572-Aug-03 11:23 
GeneralRe: still doesn't work Pin
Christian Graus2-Aug-03 13:03
protectorChristian Graus2-Aug-03 13:03 
GeneralRe: still doesn't work Pin
mcguile2572-Aug-03 14:49
mcguile2572-Aug-03 14:49 
GeneralRe: still doesn't work Pin
Anders Molin3-Aug-03 7:31
professionalAnders Molin3-Aug-03 7:31 
GeneralRe: still doesn't work Pin
Christian Graus3-Aug-03 11:55
protectorChristian Graus3-Aug-03 11:55 
GeneralRe: still doesn't work Pin
Anders Molin3-Aug-03 12:43
professionalAnders Molin3-Aug-03 12:43 
GeneralRe: still doesn't work Pin
Christian Graus3-Aug-03 13:00
protectorChristian Graus3-Aug-03 13:00 
GeneralRe: still doesn't work Pin
Anders Molin3-Aug-03 13:06
professionalAnders Molin3-Aug-03 13:06 
GeneralRe: still doesn't work Pin
Christian Graus3-Aug-03 13:11
protectorChristian Graus3-Aug-03 13:11 
GeneralRe: still doesn't work Pin
Anders Molin3-Aug-03 13:16
professionalAnders Molin3-Aug-03 13:16 
GeneralRe: still doesn't work Pin
Christian Graus3-Aug-03 13:22
protectorChristian Graus3-Aug-03 13:22 
GeneralRe: still doesn't work Pin
Anders Molin3-Aug-03 13:29
professionalAnders Molin3-Aug-03 13:29 
GeneralRe: still doesn't work Pin
Marc Clifton3-Aug-03 14:12
mvaMarc Clifton3-Aug-03 14:12 
AnswerRe: what files to distribute with my MFC app? Pin
vcplusplus3-Aug-03 5:31
vcplusplus3-Aug-03 5:31 
AnswerRe: what files to distribute with my MFC app? Pin
Marc Clifton3-Aug-03 14:13
mvaMarc Clifton3-Aug-03 14:13 
GeneralPreprocessor Question Pin
yashraj12152-Aug-03 7:52
yashraj12152-Aug-03 7:52 
GeneralRe: Preprocessor Question Pin
Michael Dunn2-Aug-03 9:23
sitebuilderMichael Dunn2-Aug-03 9:23 
GeneralDigital Watermarking in Visual C++ Pin
colormyiris2-Aug-03 7:15
colormyiris2-Aug-03 7:15 
GeneralRemoving foreign icons from the notification tray Pin
magnesium2-Aug-03 5:42
magnesium2-Aug-03 5:42 
QuestionActiveX ??? DataGrid ??? Pin
_skidrow_vn_2-Aug-03 3:45
_skidrow_vn_2-Aug-03 3:45 
Visual C++ 6.0 ----- WindowsXPpro ----- Access2000

I created a database by Access2000 ...... "QLBH.mdb"
CMy3View is CRecordView based class
I put MS ADO Data Control v6.0 and MS DataGrid v6.0 on my form (IDD_DB_FORM)

in design-time , I connect ADO control with "QLBH.mdb" and
MS DataGrid bound to ADO control
In Tab "Connection" when I push "TestConnection" button >>
it show "Test Connection Succeeded" Msgbox

My connection string look like this:
DBQ=F:\Project\QLBH.mdb;DefaultDir=F:\Project;Driver={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;FILEDSN=D:\Program Files\Common Files\ODBC\Data Sources\11111.dsn;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=5;SafeTransactions=0;Threads=3;UID=admin;UserCommitSync=Yes;

but in rum-time ADO control is disabled => no record in MS DataGrid.

>> I want MS DataGrid show all my records....then users can edit,add,delete ...
like Access


and the last question: can I connect to my database in runtime
...such as when I user push a other button... ADO control is
connected to "c:\QLBH2.mdb"

thanks
GeneralDialog initialization after DoModal() Pin
harmendejong2-Aug-03 3:04
harmendejong2-Aug-03 3:04 
GeneralRe: Dialog initialization after DoModal() Pin
Alexander M.,2-Aug-03 3:08
Alexander M.,2-Aug-03 3:08 

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.