|
you mean the application?
Every man should marry. After all, happiness is not the only thing in life.
--[v]--
|
|
|
|
|
duplicate of my own program ?
copy it ?
----------------------------
Jerry yu
Chinese
programming fans
|
|
|
|
|
|
I want to know what are the differences of Windows NT from Windows XP when in comes to affecting your application. One example is the Windows Directory of Windows NT is WINNT while WINDOWS for Windows XP.
ProcessEntry32's szExeFile works well in Windows ME and below, you'll be able to get the complete path of the file. While if you're using Windows NT and XP, you have to use ModuleEntry32 instead of ProcessEntry32 in order for you to acquire complete path of the process running on your task manager. But of course Its off the topic which covers the difference of NT over XP.
Anything else? Thanx
|
|
|
|
|
How will I be able to get the IP address of the computer connecting to me? For example, I'm the server and there are quite a few computers that send files or interact to me. I need to get their IP address for me to use as their ID. I'm using MFC Sockets. Thanx in advance
|
|
|
|
|
benjnp wrote:
I need to get their IP address for me to use as their ID. I'm using MFC Sockets.
BOOL CAsyncSocket::GetPeerName(
CString& rPeerAddress,
UINT& rPeerPort
);
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
The second argument of CAsyncSocket::Accept lpSockAddr is the address of a SOCKADDR structure in which you'll get the address of the connecting entity.
|
|
|
|
|
Hi
I am learning MFC exe application.
I have to convert ini files to xml files through my application. My sample ini file(ABCD.yak) is:
ABCD.yak
[Section1]
Key1=ABCD
Key2=20
Can anybody tell me how to convert it into an xml file using mfc.
Please tell me which functions should I make?
Thanx
|
|
|
|
|
see msxml 4.0 and dom in msdn
"Do first things first, and second things not at all."
— Peter Drucker.
|
|
|
|
|
As you mentioned
swaapu wrote:
ABCD.yak
[Section1]
Key1=ABCD
Key2=20
you can convert into xml like this
<section1>
<Key1>ABCD</Key1>
<Key2>20</Key2>
</section1>
now if you need tool/class to read and write it, this would be good start
http://www.codeproject.com/soap/markupclass.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
-- modified at 7:12 Thursday 13th October, 2005
|
|
|
|
|
What have you got coded up so far that you need help with? This makes at least the fourth time you've asked this same question but it does not appear you are making any progress whatsoever. We're here to help but you have to make a concerted effort.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
Hi,
How can I manage a Ms SQLServer Database with VC++ .NET?
Thank you all!!!
|
|
|
|
|
What do you mean by "manage?"
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
Hi,
How can I identify whether the given font is unicode or not?
I have the face name with me.
Thanks in advance!
- NS -
|
|
|
|
|
i m trying to load map in VC++ and after that i want to digitize it can anybody help me.
faisal
|
|
|
|
|
what is "digitizing" a bitmap please ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
-- modified at 5:38 Thursday 13th October, 2005
|
|
|
|
|
There is this article on CP: A Technique to Customize the Title Bar of Windows[^] which lets you draw the title bar of an application. I have to do the same thing but all my applications are written in MFC. So my question how could I use the above mentioned code in MFC? Or is it possible? If not how could I custom draw the title bar in MFC. Or how could I combine the two?
Any sugestions would be greatly apreciated. This is a time sensitive matter.
regards,
Mircea Grelus
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
I forgot to mention. I'm refering to VC6.
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
|
very interesting article. i'll look into it in more detail. in the mean i found another solution for my problem. I just set the border to none in my dialog getting rid of the system tray, and added a background with my system tray and the buttons i needed.
wouldn't like to do this each time , so i'll look into the article as soon as i have the time.
thanks,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
Hi I'm busy writting an Win32 application (not MFC) to display random bitmaps every 15 seconds while playing a Random song the application needs to be able to enumurate like the music folder and play a random song from there and enumurate the bitmap folder and play a random file from there
if someone can help me with the most basic file/folder enumuration i would be greatfull
THX in advance
Dewald
|
|
|
|
|
how can i set and edit control to accept only integer values and letters "abcdef"?
a journey of a thousand miles is started by taking the first step.
|
|
|
|
|
|
You can also use cotrol subclassing.
Just derive a new class , for example CMyEdit ,from CEdit and overload the WM_CHAR message handler for the new class ,like this :
void CMyEdit::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
{
TCHAR c = (TCHAR) nChar;
if(c=='A'||c=='B'||c=='C'||c=='D'||isdigit(c))
{
CEdit::OnChar(nChar, nRepCnt, nFlags);
}
}
After this , create an Edit box on your dialog and attach a CMyEdit variable to it. Then you will be able to type inside only "0123456789ABCD" letters
"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
-- modified at 4:42 Thursday 13th October, 2005
|
|
|
|
|