hi:everyone: tell you i have some model ,but some of them is written using ODBC,but others is written using ADO,now i want to integrate them into a big project,i want to know whether it is ok? thank you
vividtang
Posts
-
can ADO and ODBC be mixed to use in a database application program? -
how to write install program?i have finished my program i want to write a install program to let other people use mine ,but before i have never written ,please give me some instructions .
-
how to include a AVI player into my program?oh,just now i found a way ,click ALT+F7,Then in link tab sheet ,add VFW32.lib ,it is ok if you have another way ,please tell me,thankyou very much
-
when import a bitmap resoursesometimes i need import a bitmap resource to be used the flash screen and so on,but to my disappointed ,many beautful bitmap i want to import ,but program warn :the bitmap's color value is more than 256,so it cant not been import,about the question ,do you meet?my display set i have adjusted most scale 1024*768,32 colors.
-
is easy transfer ODBC to ADO about database development using vc?hi: i used to use odbc to do some database application development,now i want to know whether it is easy to transfer into ADO?which one is better between them according your developing experience? i want to learn more detail ,thank you very much you give me instruction
-
how to include a AVI player into my program?hi: how do you do?i met a trouble i am doing a mp3 player,how to include a AVI player into my dialog? thx all
-
how to realize after my login dialog end and follow a image coming out for a while?i see some program when login dialog end and follow a image that is fit for the application program content coming out for a while,but i dont know how to realize it,please give me some instruction ?thx all
-
if i do not write special class to realize hyperlink,is there a more simpler way to solve it?in my dialog there is a net address i want to realize hyperlinker when clicking it,if i dont write class specially for it,is there a more simpler way to solve it?
-
in a function can i use ExecuteSQL using the same database connection more than two times not using CRecordset object?such as :extern CDatabase db; CString sql1,sql2; .... sql1=" ...."; db.ExecuteSQL(sql); ..... sql2="..."; db.ExecuteSQL(sql); ....
-
what is the difference between sscanf and atof in cast cstring into float?when i need cast cstring into float , i always use sscanf(mystr,"%f",ftype)//float ftype fype=atof(mystr) but which is better ,what is the difference between them?
-
about dialog color?hi:i create a dialog such as CMyDlg, i define a variable :CBrush m_brush, then i in onInitDialog :m_brush.CreateSolidBrush(RGB(255,255,0)) then HBRUSH CMyDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); if (pWnd->GetDlgCtrlID() == IDC_STATIC) {// Set the text color to red pDC->SetTextColor(RGB(255, 0, 0)); // Set the background mode for text to transparent pDC->SetBkMode(TRANSPARENT); // Return handle to our CBrush object hbr = m_brush; } return hbr; } but the text color is not i expected,and at the back of the text ,always exist white ?how to modify?but if i do these work in main dialog ,all is ok.
-
about dialog color?hi:
-
how to cast cstring into long?how to cast cstring into long,double?
-
how to add menu on dialog?hi: all my program is based on dialog,but i want to add menu for it, i insert a menu resource and with the instruction of classwizard select associate the menu with my dialog,but when i do this ,once runing i found no menu on dialog,why , please lend me a hand. thx
-
how to set window icon with the icon got from other program?i have got a icon from other program ,now i have the HICON of the icon,but if i use LoadIcon whose parameter need icon ID,do you have a good idea?
-
how to color menu and toolbar?how to color menu and toolbar?
-
how to add a minimize button and maximize button on a dialog?the following is my doing: in precreatewindow() cs.style|=MINIMIZEBOX; but doesnt work,somebody can give me some advice and explanination? thx
-
how to set the color of theme bar?how to set the color of theme bar?in addition,how to simply set the button color?is there a simple way to know the practical display color that RGB represents?
-
about SetWindowText() and change window default styleif i use the method of that mr anonymous,when run,the program will maximize,although i want to cancel maximize,but the caption of the child frame view is still not been changed.
-
how to change window iconhi: you are right ,run ok,thx:rose: