|
Hi..
thank you very much sir..
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
Actually, this was directed to Rajesh and was supposed to be a joke. Relax. Buy yourself a couple of programming books and browse the articles here on the site.
|
|
|
|
|
Michael Schubert wrote:
I hope this does not trigger any angry gas...
Depends on one's Chairness (hope you've read that thread too).
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
No. Do you have the link?
|
|
|
|
|
Hi..
what link sir....
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
Michael Schubert wrote: No. Do you have the link?
It's on the same thread. Now, you have to thank me for my Chairness[^].
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Thanks, missed that when I first read the thread. Sadly, he is not posting any more.
|
|
|
|
|
That was an awesome thread. It was difficult to retain myself from laughing out loud in the office.
|
|
|
|
|
Hi sir...
I am comparing dates which are in different format...
I want search the mails which are between the specified date and date..
Example
/////////////////////////////
Start Date = 03/28/2008 (mm/dd/yyyy)
End Date = 04/01/2008 (mm/dd/yyyy)
But the mail dates are in format ..
MailDate = 20080401 5:41:09 (yyyymmdd hhmmss).
//////////////////////////////////////////////
I want compare
if(mailDate <= firstDate && mailDate < secondDate)
{
printf("all the date between start date and end date");
}
else
{
printf("No mails found");
}
///////////////////////////////////////////////////
Sir how to compare this type of dates...
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
|
|
|
|
|
Here's a great class, CFileSpec, that is easy to use and you can view code to learn. Hope this helps..
http://www.codeproject.com/KB/cpp/cfilespec.aspx
|
|
|
|
|
Hi
I have string of date format
Date = 2008/04/05..
I want to remove '/' character....
I want to specified string
Output
20080405
plz help me
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
|
You can use of CString::Find and then CString::Delete.
|
|
|
|
|
Please don't join such a question with such a sign.
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: Please don't join such a question with such a sign.
But she may have a superb reason why you're wrong. That went on your arrogant...
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Of course.
Now, I'm waiting for the superb reason.
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
|
|
|
|
|
If you are using MFC, you could use CString::Remove()
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Hi,
i want to execute a exe in other's context so i tried the following code
HANDLE hUserToken;
LogonUser(_T("username"),_T("domain"), _T("password"), LOGON32_LOGON_INTERACTIVE, LOGON32_PROVIDER_DEFAULT, &hUserToken);
STARTUPINFO startupInfo;
memset(&startupInfo, '\0', sizeof(startupInfo));
startupInfo.cb = sizeof(startupInfo);
startupInfo.dwFlags = STARTF_USESHOWWINDOW;
startupInfo.wShowWindow = SW_SHOW;
PROCESS_INFORMATION procInfo;
memset(&procInfo, '\0', sizeof(procInfo));
BOOL b = CreateProcessAsUser(hUserToken, fileName.c_str(),
NULL, NULL, NULL, FALSE, CREATE_NEW_CONSOLE, NULL, NULL, &startupInfo, &procInfo);
DWORD dw = GetLastError();
}
but i get the dw = 1314 saying "A required privilege is not held by the client."
If i right click the exe and choose the run as option giving user name and password it works fine. but how to execute that through code? Where i am going wrong?
|
|
|
|
|
|
Is it possible to draw behind the Desktop Icons on Vista (Animated)?
|
|
|
|
|
Do you want to draw like this or want animation drawing ?
HDC hDC = ::GetWindowDC(NULL);
::Ellipse(hDC, 0, 0, 200, 100);
ReleaseDC(NULL, hDC);
|
|
|
|
|
like this... but your Code would draw on Top of the Screen...
|
|
|
|
|
|
Here my Question Again: Is it possible to draw !BEHIND! the Desktop Icons on Vista (Animated)?
|
|
|
|
|
I would like to create a MFC project but when I create a project the option is greyed out. how can i use it?
Y*Live Long And Prosper*Y
|
|
|
|