Click here to Skip to main content
15,900,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldeselecting list ctrl items Pin
Tyrus18211-Sep-04 14:05
Tyrus18211-Sep-04 14:05 
GeneralRe: deselecting list ctrl items Pin
Branislav11-Sep-04 22:32
Branislav11-Sep-04 22:32 
GeneralRe: deselecting list ctrl items Pin
Michael Dunn12-Sep-04 8:49
sitebuilderMichael Dunn12-Sep-04 8:49 
GeneralCreate a flash movie from C++ Windows code Pin
AssemblySoft11-Sep-04 13:59
AssemblySoft11-Sep-04 13:59 
GeneralMouse hook Pin
0v3rloader11-Sep-04 13:26
0v3rloader11-Sep-04 13:26 
GeneralRe: Mouse hook Pin
AssemblySoft12-Sep-04 4:53
AssemblySoft12-Sep-04 4:53 
GeneralRe: Mouse hook Pin
0v3rloader12-Sep-04 5:46
0v3rloader12-Sep-04 5:46 
GeneralCRecordset question. Pin
crimsongrape11-Sep-04 12:46
crimsongrape11-Sep-04 12:46 
Hello everyone, i have question that has been a problem to me for couple of days. I am new to db programming so bare with me.
I have a login dialog where the user enters a password, and i am trying to search my employee db to find out of that person is in the db..I simply do not know how to search my db and see if the person is an employee.
here is my code...if anyone could help out, it would be great.
//getting password from and edit box
CEdit *ebptr = (CEdit *) GetDlgItem(IDC_TEXTBOX);
int i;
char str[80];
i = ebptr->GetWindowText(str, sizeof str-1);
//set my password
box_password = str;
///THIS IS WHERE I DONT HAVE ANY CLUE, HOW TO SEARCH MY DB //FOR THE PASSWORD, PLUS HOW DO I KNOW IF THE PASSWORD EXITS IN THE DATABASE?????

rsEmployeeSet.m_strFilter = "password = box_password";
rsEmployeeSet.Open();
General_tscanf oddness Pin
Ravi Bhavnani11-Sep-04 11:39
professionalRavi Bhavnani11-Sep-04 11:39 
GeneralRe: _tscanf oddness Pin
Neville Franks11-Sep-04 12:13
Neville Franks11-Sep-04 12:13 
GeneralRe: _tscanf oddness Pin
Ravi Bhavnani11-Sep-04 12:56
professionalRavi Bhavnani11-Sep-04 12:56 
GeneralRe: _tscanf oddness Pin
Joel Holdsworth11-Sep-04 22:33
Joel Holdsworth11-Sep-04 22:33 
GeneralRe: _tscanf oddness Pin
Gary R. Wheeler12-Sep-04 2:50
Gary R. Wheeler12-Sep-04 2:50 
GeneralRe: _tscanf oddness Pin
Joel Holdsworth12-Sep-04 2:55
Joel Holdsworth12-Sep-04 2:55 
GeneralAlpha in GDI Pin
Joel Holdsworth11-Sep-04 9:32
Joel Holdsworth11-Sep-04 9:32 
GeneralRe: Alpha in GDI Pin
Iain Clarke, Warrior Programmer13-Sep-04 3:41
Iain Clarke, Warrior Programmer13-Sep-04 3:41 
GeneralRe: Alpha in GDI Pin
Joel Holdsworth13-Sep-04 7:39
Joel Holdsworth13-Sep-04 7:39 
GeneralReplicating an instance in a multi-threaded app Pin
0v3rloader11-Sep-04 8:56
0v3rloader11-Sep-04 8:56 
GeneralRe: Replicating an instance in a multi-threaded app Pin
Gary R. Wheeler12-Sep-04 2:58
Gary R. Wheeler12-Sep-04 2:58 
GeneralRe: Replicating an instance in a multi-threaded app Pin
0v3rloader12-Sep-04 5:48
0v3rloader12-Sep-04 5:48 
GeneralUsing a critical section in a high priority thread Pin
Chris Hills11-Sep-04 5:28
Chris Hills11-Sep-04 5:28 
GeneralRe: Using a critical section in a high priority thread Pin
Baris Kurtlutepe11-Sep-04 8:33
Baris Kurtlutepe11-Sep-04 8:33 
GeneralRe: Using a critical section in a high priority thread Pin
Andrew Walker12-Sep-04 14:37
Andrew Walker12-Sep-04 14:37 
GeneralRe: Using a critical section in a high priority thread Pin
Blake Miller13-Sep-04 6:17
Blake Miller13-Sep-04 6:17 
GeneralRe: Using a critical section in a high priority thread Pin
Andrew Walker13-Sep-04 12:58
Andrew Walker13-Sep-04 12:58 

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.