|
You are correct. While there are crappy posts out there, my statement was not right. The "exceptions" I made were made null because of what I said. My statement was made out of frustration and anger, and I was wrong to say it. I know there are a lot of great Indian programmers, such as yourself, who are no doubtedly better than me. I hope you, and the other Indians here at CP will find it in your heart to forgive me. What I said was 100% wrong.
Again, Brammah, I hope you forgive me. I respect you and the other Indians here at CP. I am sure I have offended you, but I hope you guys can forgive me. What I said was said out of frustration, and I didn't mean it.
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
Hey, please don't apologize repeatedly. I don't have anything against you. It's not just you making such a mistake here. I've been making several such mistakes and I apparently learned how I should talk and behave in public. Especially, when you comment something bad about a specific group of people, it apparently becomes a racist comment, even though it weren't in your thoughts. I mean - nobody will want to give you just a damn. You've said it and that's it. Such things are very sensitive and you need to handle it with utmost care. If your post stirs up a slight misunderstanding, there would be a flame-war and the replies you'd get is definitely going to be hurting you for a good long time. Additionally, it would literally destroy any of your hard earned reputation easily. They will remember you as "the racist guy".
I was upset because at the first time, you made a very wrong statement. And to add to it, your suggestion was completely against the spirit of the community. As somebody already stated, we will have to live with this pond of crap and get the golden fishes out. There's just no way out. The main reason why you find a lot of crap posts is that this is an unmoderated community. But, look at the other side of it. You have the freedom to do just about anything. It may take you a while to understand it. After all, you learn from your mistakes, even though sometimes it is painful.
And you just don't need anyone's forgiveness after you've realized your mistakes (look at the post about Love in my profile page). Realizing your mistake is all is required. I promise you that I (and so many) were sure you had nothing against Indians or anybody for that matter. But then it should come out of your mouth for all good reasons.
Be a little more careful in the future, or better just ignore the crap-posts. Mark them as spam or abuse for the worst posts. If everyone does the same, the posts will just disappear. I'm glad you've taken the time to explain your part of the story. Now forget what happened, cheer up and move on.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
hi all,
can any one help me?
I need to run a C++ program from another
thank you
|
|
|
|
|
CreateProcess [^].
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
|
|
|
|
|
::system("Programname") or ShellExecute
can do that.
You might want to use CreateProcess for added control.
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all. Douglas Adams, "Dirk Gently's Holistic Detective Agency"
|
|
|
|
|
Petra wrote: I need to run a C++ program from another
See here.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hai,
I have an popupwiindow created using MFC, now i want to move the window..,like our regular overlappedwindow.
How to do this ?
Please do reply me
Thanks,
Mani
Born to win...!
|
|
|
|
|
MoveWindow( ) may be? Or SetWindowPos() ?
|
|
|
|
|
I have no idea what you mean by a pop-up window. Do you mean a floating control bar? In which case, you need to get the window you created, and you may need to call GetDockingFrame to get the window you actually move.
Good luck,
Iain.
Iain Clarke appearing in spite of being begged not to by CPallini.
|
|
|
|
|
Hi ,
I am new to windows mobile 2003 SDK and eMbadded VC++ 4. So don't mind me if this is sound big deal for me
I Install the SDK and eMbadded VC++ 4 in my machine which is running on windows XP.
When I try to start a new project in eMbadded VC++ 4 and after naming the project and all the other thing, I get to the stage when I press " Finish". At that time it show at the bottom right corner ( status bar) " loading class information" and it seem the eMbadded VC++ 4 is freeze in the way that it not responding.
Any idea why and how to resolve the problem.
I really appreciate any input.
Many thanks
a.almon1
|
|
|
|
|
Have you tried reinstalling Embedded VC++. I have been using it for years without any problems.
You might want to download a fresh copy and install that, just incase your download was corrupted or something.
AliR.
Visual C++ MVP
|
|
|
|
|
Hello
I want to add System Tray menu in activex control, but i dont know how to do it?
Any body tell me is it possible to do it?
And possible then let me know how to do it?
Thanks in advance
Manish Patel.
B.E. - Information Technology.
|
|
|
|
|
See in MSDN the following:
NOTIFYICONDATA
Shell_NotifyIcon ()
Come online at:-
jubinc@skype
|
|
|
|
|
Thanks for your reply.
Now another problem is how to get HINSTANCE in activex control?
I can get it in win32 application but how to get it in activex control?
Please help me out
Manish Patel.
B.E. - Information Technology.
|
|
|
|
|
Hi
you can use AfxGetInstanceHandle() if u r using MFC or if it is Win32 HANDLE hModule in dllmain function is the HINSTANCE.
|
|
|
|
|
Thank you for reply
i am not getting your reply.
I want to handle all mouse events that are occuring in windows(out side of activex control also).
Is it possible? if it then how can i do it?
Manish Patel.
B.E. - Information Technology.
|
|
|
|
|
your Question : "Now another problem is how to get HINSTANCE in activex control?
I can get it in win32 application but how to get it in activex control?
Please help me out"
Answer:
To get the instance of an activex control you can use AfxGetInstanceHandle() in MFC.
eg: g_hInstance = AfxGetInstanceHandle();
or if u are developing a Win32 ActiveX Control you can use HANDLE hModule in dllmain function is the HINSTANCE.
like this way -
int Dllmain(HMODULE hModule...)
{
g_hInstance = (HINSTANCE) hModule;
......................
......................
}
i think now u got what i mean?
|
|
|
|
|
just wanted to know how do i set the progress bar.. i am creating a media player.. a simple player where in we can play and stop the song. now i need to add more functionalites.. i want to implemeny a progress bar which moves as the songs goes on... or rather synchonizes with the song.. some leads.. if sombody has done is then please help me in doing this.
|
|
|
|
|
CProgressCtrl::SetRange()
CProgressCtrl::SetStep()
CProgressCtrl::StepIt ()
CProgressCtrl::SetPos ()
CProgressCtrl::GetPos ()
Use any of the above given methods.
Come online at:-
jubinc@skype
|
|
|
|
|
If you are using MFC, see here.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi all,
I have string like this.
First name: name
I want to get the string after the ':'. What is the easiest way.
I'm wired with my way, find the length, find the place where : sign include and stuck...
I appreciate your help all the time...
Eranga
|
|
|
|
|
If you're using MFC, it'd be easily done with the CString::Mid() function:
CString str = _T("Name: Rajesh");
int iPos = str.Find(_T(":"),0);
AfxMessageBox(str.Mid(iPos+1));
Or, if you aren't using MFC, then perhaps this helps you:
TCHAR *tch = new TCHAR(20);
tch = _T("Name:Rajesh");
while(tch++)
{
if(*tch == ':')
{
::MessageBox(NULL, (tch+1), _T("Message"), MB_ICONINFORMATION);
break;
}
}delete tch;
Last modified: 15mins after originally posted --
Rajesh.
|
|
|
|
|
And what is the purpose of heap allocated memory?
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
|
|
|
|
|
My bad mood perhaps? Seriously, just typed it out fast, tried and pasted here. Shouldn't have been fragmenting the precious heap though. Will take care of this in the future, my lord.
|
|
|
|
|
Rajesh R Subramanian wrote: my lord
Wasn't Dunn?
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
|
|
|
|