|
So you need to make a dialogbox with two editboxs for get username and password (dont forget to set password on the property window of editbox that you need to get password).
|
|
|
|
|
_$h@nky_ wrote: Please anyone can tell me how can i add userID and Password function ...
In the same way as you would any other function(s). What trouble are you having?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
i dont understand please tell me with example.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Create a dialog with two edit fields to read userid and password.
validate this input. If success and allow him to proceed or exit the appln with some warning.
|
|
|
|
|
You don't understand how to add functions to a program? It's just basic C stuff.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
no this is not a problem,i m little confused at thet time.now i understand.
i know how can add function.
Anyways thanks sir now its working.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Hi all.
How i can compare two xml file...
thank you
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
What kind of comparison should you perform?
manju#123 wrote: Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
Possibly is Looking.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
CPallini wrote: I am Mnaju
There is a typo in her name itself!
-Saurabh
|
|
|
|
|
manju#123 wrote: How i can compare two xml file...
One way would be to use fc.exe.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
DavidCrow wrote: fc.exe
Sadist
|
|
|
|
|
I get no gratification out of being simple, especially since the OP offered no requirements, constraints, stipulations, etc.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I understand. Yet, I dare to assume that the OP does not know what a command line program is, not to mention how to use it.
|
|
|
|
|
|
I'm developing a game application, with multiple windows, in C++ on Win32.
My sound needs is to play a few short sounds when some events happen, plus some background music in the main menu.
|
|
|
|
|
DiretcX Audio [^] doesn't fit your needs, does it?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Thanks.
I had a taste of DirectSound . My problem with it, takes me too long to figure out if I should explicitly stop a playing sound when switching focus to another window in my application or if it's done automatically somehow.
According to XAudio2 Overview [^] : "For Windows game developers, XAudio2 is the long-awaited replacement for DirectSound".
I would glad to read any recommendations / cons.
|
|
|
|
|
Hanan888 wrote: My problem with it, takes me too long to figure out if I should explicitly stop a playing sound when switching focus to another window
Huh? You'll have the same problem (whatever the problem is) with any of the audio APIs.
DirectSound handles all the mixing for you so it should be the simplest to use. It's used in a LOT of games.
XAudio2 is great/new but for XP SP2+ only if that's an issue.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Thanks.
Mark Salsbery wrote: XAudio2 is great/new but for XP SP2+ only if that's an issue
Can you please be specific about that ?
|
|
|
|
|
Hanan888 wrote: Can you please be specific about that ?
It's not supported on unsupported operating systems, which means all OSs
before XP.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
|
Thanks.
Cool example, haven't still figured out if MCI is good for me.
Have you had any experience using it ?
|
|
|
|
|
Yeah,you can use of MCI for play mp3,wav,mpeg1,mpeg2,avi files.
|
|
|
|
|
Hanan888 wrote: My sound needs is to play a few short sounds
Use sndPlaySound for playing short wav files.
Hanan888 wrote: plus some background music
Use SND_ASYNC | SND_LOOP to asynchronously play in the background without stopping.
e.g.
sndPlaySound(_T( "C:\WIndows\Media\notify.wav", SND_ASYNC | SND_LOOP ); Another option is PlaySound . These API's are pretty limited but quite handy!
Nibu babu thomas
Microsoft MVP for VC++
Code must be written to be read, not by the compiler, but by another human being.
Programming Blog: http://nibuthomas.wordpress.com
modified on Thursday, June 19, 2008 9:39 AM
|
|
|
|
|
I wanted to tell him sndPlaySound but I forgot its name .
|
|
|
|