|
|
no see I was trying to say that I wanted a database of usernames and their passwords kinda like any login thing.
<marquee>Universal Project... Soon to be a .net
|
|
|
|
|
Well, that's something different entirely!
You should think of the process of logging in over the network as two individual parts: The network part (which concerns how the login/password is sent from the user interface to the server, as well as how the server responds), and the login ("authentication") part (where the server takes the username and password and verifies that it is valid). Instead of building the whole application at once, it is easier to build each piece individually so that if something goes wrong, you can test each part separately.
Getting back to your question, you're wanting to use a database to store the usernames and passwords. From your other post, I'm going to assume you're using MySQL to handle your database. To get started, you'll need to learn SQL, the language for talking to databases. A good interactive tutorial is here:
http://www.sqlcourse.com/[^]
Once you've got an idea of how a generic database works, you can progress on to actually creating a database in MySQL and interacting with it:
http://www.mysql.com/doc/en/Tutorial.html[^]
There, that should get you started.
- Mike
|
|
|
|
|
|
- Mike
|
|
|
|
|
I'm glad I have disabled the marquee-tag in my Mozilla Firebird
modified 12-Sep-18 21:01pm.
|
|
|
|
|
I am building an edit control and i want this control to write Chinese characters even without setting the system language of the Windows to Chinese (same as MSN messenger does).
How can i do this?
Daed
|
|
|
|
|
I'm new to sockets can you give me good links on VC++ sockets.If I write a code in plain c sockets and port on VC++ will it work???
|
|
|
|
|
|
Hi,
how can I create a nonblocking socket for all windows versions (not only 2k and XP).
WSPEventSelect and his friend does not work on win9x...
Thx for your help
CND
|
|
|
|
|
try select socket API
or
Multi-threads
I am seeking...
For what?
Why did you ask me for what? I don't know!
|
|
|
|
|
|
ere rt r dfsfgjmnvb
Well... I am a beginner ...
|
|
|
|
|
Hi,
Does anyone know how do i pass data bettwen a popup dialog and single documnet interface with splitter window? In my mainframe of SDI i wrote
TestDlg* dlg = new TestDlg;
dlg->DoModal();
From SDI how do i retrive data from the dialog box?
Thanks
|
|
|
|
|
MaxiFire wrote:
From SDI how do i retrive data from the dialog box?
You can get the dialog data via its member variables. I see you are also creating the dialog dynamically, so you need to do this before deleting the dialog.
For Example: Lets say your dialog retrieves some text and a number from the user. You need to instantiate the dialog, the user will fill in the information, then the SDI app will get this when the dialog is closed. My (untested) code would probably look like:
<br />
int nNumber;<br />
CString strText;<br />
TestDlg* dlg = NULL;<br />
<br />
<br />
dlg = new TestDlg;<br />
<br />
<br />
if( dlg.DoModal() == IDOK )<br />
{<br />
strText = dlg->m_strText;<br />
nNumber = dlg->m_nNumber;<br />
}<br />
<br />
<br />
delete dlg;<br />
I Dream of Absolute Zero
|
|
|
|
|
Hi,all!
I'm trying to change the colors of CComboBoxEx. I have my own class CMyComboBoxEx derived from CComboBoxEx. I'm handling the WM_CTLCOLOR message in my class this way:
if (nCtlColor==CTLCOLOR_EDIT || nCtlColor==CTLCOLOR_LISTBOX) {
pDC->SetTextColor(RGB(0,128,255));
pDC->SetBkColor(RGB(255,255,222));
return brush_window;
}
There are no problems with the edit box. But text colors (foreground and background) in the listbox do not change. The brush does paint around the text though.
This piece works for CComboBox but not for CComboBoxEx!
I have also tried dynamically subclassing of editbox and listbox like it is shown in some articles but to no avail. I have also tried subclassing the child of ComboBoxEx32 which is a plain ComboBox but it turns out that in this case some functions of CComboBox (like DrawItem,MeasureItem) should defined additionally.
Please share your experience, give ideas.
Thank you.
S.Stoilov
|
|
|
|
|
Hi!
I made a research on cd writing with c++ and found a sdk called Nero SDK which uses the nero api to write files and it is quite fine (and free). But the problem is that it must have Nero Burning software on a computer to work and I don't think everyone uses Nero Burning Software... Are there any alternatives for writing on a cd? ( even difficult ones would do).
Thank you a lot for your answers!
Well... I am a beginner ...
|
|
|
|
|
If you find something free (perhaps you should try sourceforge or something) could you please let me know...
Thanks
I'm drinking triples, seeing double and acting single
|
|
|
|
|
I will share it if I can find! I already found that it can be done with DDK SDK but I not sure if it is free or not!
Well... I am a beginner ...
|
|
|
|
|
Under WinXP, use IMAPI - it's part of Windows.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
I have windows XP but I can't find the imapi.h header file? Where can I get it?
Well... I am a beginner ...
|
|
|
|
|
Download the latest Platform SDK
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
|
I need to connect to oracle 8i to execute some of my queries. Can anyone please give me some idea or snippet of code as to how i can achieve this. I have posted this in several sites yet no one is able or worrying about answering this.I am trying this out in C++,VC++.So any one out there wants to help will have my gratitude.Awaiting ur response.;P
This is Eric Fernando Signing off.Ciao
|
|
|
|
|
I tend to use ADO via the Oracle ODBC driver using a DSN in most cases.
Are you have a problem connecting to the database or actually executing the queries?
Whilst this example is in VB, you should have no problems converting it to C++ if you use ADO.
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q176/0/86.asp&NoWebContent=1[^]
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
|
|
|
|