|
First
|
Prev |
Next
|
Last
Pages: 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
GetRecordCount Hi, can help to amend following on - reccount - SELECT COUNT statement ? it seems wrong CRecordset rs( &db ); rs.Open(CRecordset::forwardOnly,"SELECT COUNT(*) FROM myTable WHERE SalesID='"%d"'", szBufSalesID,CRecordset::readOnly); int reccount = rs.GetRecordCount(); if (reccount = 0) ... 19 May 2008 03:23
db.ExecuteSQL( SqlString ) This is about Visual C++ doing insertion into MS Access Database. SqlString = "INSERT INTO ...."; db.ExecuteSQL( SqlString ); How can I organize my variable arguments into Sql String, so that it can be executed ? SqlString = ("INSERT INTO myTable (vName, iMemberID, vMemberType,dExpiryDate, iPax, dCreat... 18 May 2008 17:13
capture magnetic stripe input invisibly Hi, I'm using VC++. I need the application to be always waiting for input from magnetic stripe, capture the string, decode it, and populate into those Edit field (IDC_EDITx) I already have the interface ready, but how can i make the magnectic stripe input (i.e keyboard input) to be invisible, and capture it.... 19 May 2008 18:34
Help: Floating Point PRoblem I have a GUI something like this: <column splitter> <data> < column splitter> < data > etc. Each column has a vertical splitter where the user can adjust the columns. One of the requirements was that when the user sizes the app, the columns should scale accordingly. For example... say the app was 100 pixe... 18 May 2008 10:10
How to limit a dialog's width while dragging the edge? Hello, I am using Visual Studio 6.0 and I'd like to know how can I block the resizing of a dialog's width when it reaches a certain minimum? I am currently using the CMyDlg::OnSize() message handler to do the following: void CMyDlg::OnSize(UINT nType, int cx, int cy) { CDialog::OnSize(nType, cx, cy);... 18 May 2008 18:47
Calculation mystery You're aware that floating point may produce different result depending on exact order of intermediate operations, which could be different for release build, aren't you? That said, make sure you have all your data initialized. And remember there is no exact result in floating point calculations. "Stephen W... 17 May 2008 19:47
SetPixel and Color Hello, I have loaded a bitmap resource using: .. .. .. po_StartBitmap[6] =(BYTE*) LockResource(LoadResource(NULL,FindResource(NULL,MAKEINTRESOURCE(IDB_WHITEPAWN),RT_BITMAP))); I probably should have done this using GetDIBits() but i could not get it to work just now, so i tried this instead. It does what ... 16 May 2008 18:31
Selecting display in dual monitor system I have an XP system with two monitors. I am writing an MFC application to display information during a simulated game show that a local community theatre is producing. During the show, one monitor will display the score, the other will display information pertinent to the current game. I have each of the ind... 19 May 2008 09:07
SDI no resize Hello, I want my SDI formview app to be set to a certain dimension and i dont want it to be resizeable. I tried some stuff but it didn't work. How is this done ? ... 16 May 2008 17:44
CFormView Resizing Flicker Hi folks, I have an SDI application with a CFormView-derived class containing a tab control with several dialogs and their associated controls. When I resize the frame window using the mouse, I get a very annoying flicker of all the visible controls inside the active tab. So, in my CMainFrame (CFrameWnd-de... 16 May 2008 21:39 |