|
how to focus the label box when tab key is moved around it.
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
Hi,
does the TabStop property to TRUE resolves your problem.
Or, without the Ressouce-Manager via ModifyStyle(0,WS_TABSTOP);
Good luck
|
|
|
|
|
And in the continues with baerten use of Ctrl+D for sort number for control when use of Tab Ctrl.
|
|
|
|
|
Hi all,
I have developed an application as an installation in VC++. I am using Visual Studio 2005. I have used Launch Condition Editor for checking whether .NetFramework has been installed or not. If it is installed only, the installation should take place. But, when I am trying to install in a system having .NetFramework also, the installation doesn't work. It returns that the .NetFramework is not installed.
I have referred this link for implementing the check : Support From Microsoft[^]
Can anybody please help me....
Thanks in Advance...
-- modified at 23:28 Monday 7th May, 2007
|
|
|
|
|
If you can't get it to work that way, you could always use this technique.
BTW, your link doesn't work.
Best wishes,
Hans
|
|
|
|
|
how to load bitmap to radio button ,checkbox
|
|
|
|
|
This class shows how to use bitmap.
Best wishes,
Hans
|
|
|
|
|
|
|
How to use error handling techniques in mfc. pls help me
|
|
|
|
|
saisp wrote: How to use error handling techniques in mfc. pls help me
This is a very general question, and you probably won't get much help with it. You need to specify 1) what kind of errors you're talking about (app crash, api failure, compile error?); 2) what kind of handling (e.g., do you want to catch it in the debugger, log it to a file. display a message box?); and 3) when you want to handle the error (during development/debug, when using the app, etc.).
If you are talking about a specific error, then you should include the error text in your post, giving details.
Finally, please note that most of the people here would like very much to help you, so it would be nice to show them some courtesy by taking the time to write out "please" instead of "pls". If you don't have the time to do this, then why should anyone take the time to help you?
Best wishes,
Hans
|
|
|
|
|
Hans Dietrich wrote: Finally, please note that most of the people here would like very much to help you, so it would be nice to show them some courtesy by taking the time to write out "please" instead of "pls".
His ISP charges him for every byte that is transmitted over the network.
"The difficulty lies, not in the new ideas, but in escaping from the old ones."
-- John Maynard Keyes, 1936
|
|
|
|
|
I just finished my meditation, I am thinking positive thoughts.
|
|
|
|
|
i need to cath the memory problem
|
|
|
|
|
saisp wrote: i need to cath the memory problem
If by that you mean you are getting errors trying to access memory, then what you need to do is use the debugger and step through your program. We can't do that for you - there could be many reasons why this is happening, most of them involve pointers. Learn the debugger, it is your friend.
Best wishes,
Hans
|
|
|
|
|
saisp wrote: How to use error handling techniques in mfc.
By employing those techniques in your program.
"The difficulty lies, not in the new ideas, but in escaping from the old ones."
-- John Maynard Keyes, 1936
|
|
|
|
|
weird thing happening. code sniplet:
<br />
HANDLE WR_Process;<br />
<br />
HANDLE hProcessSnap;<br />
HANDLE hProcess;<br />
PROCESSENTRY32 pe32;<br />
<br />
hProcessSnap = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 );<br />
if( hProcessSnap == INVALID_HANDLE_VALUE )<br />
{<br />
MessageBox("hProcessSnap == INVALID_HANDLE_VALUE", "Error", MB_OK);<br />
exit(0);<br />
}<br />
<br />
pe32.dwSize = sizeof( PROCESSENTRY32 );<br />
<br />
if(!Process32First(hProcessSnap, &pe32))<br />
{<br />
MessageBox("Process32First returned false", "Error", MB_OK);<br />
exit(0);<br />
}<br />
<br />
do<br />
{<br />
hProcess = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, pe32.th32ProcessID);<br />
<br />
if(pe32.szExeFile == "firefox.exe")
{<br />
CloseHandle(hProcess);<br />
<br />
WR_Process = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pe32.th32ProcessID);<br />
<br />
if(WR_Process == NULL)<br />
MessageBox("Couldn't open firefox process", "Error", MB_OK);<br />
else<br />
MessageBox("firefox process found!", "OMFG!", MB_OK);<br />
<br />
break;<br />
}<br />
<br />
CloseHandle(hProcess);<br />
}<br />
while(Process32Next(hProcessSnap, &pe32));<br />
<br />
CloseHandle( hProcessSnap );<br />
anyone know what's wrong? :/
|
|
|
|
|
nimatek wrote: if(pe32.szExeFile == "firefox.exe") // <--- THIS IS NEVER CALLED, eventhough it should because firefox.exe is one of the process names i get if i display each of the process names with a message box for example
{
CloseHandle(hProcess);
Use strcmp or equivalent instead.
if(strcmp(pe32.szExeFile,"firefox.exe") == 0) message box for example
{
CloseHandle(hProcess);
.
.
.
Prasad
MS MVP - VC++
|
|
|
|
|
thanks! yea it's one of those moments *slaps head*
|
|
|
|
|
I have a dynamically linked library, providing some functions needed in my project. I have successfully imported it into my VC ++ 6.0 project. Now, i am translating the project into pure C++ (such as avoiding using MFC classess) in Linux box.
Does anyone know if it makes sense to try to use the library in Linux.
Thanks
|
|
|
|
|
The equivalent in *nix is a .so file. That's all I know about them.
|
|
|
|
|
cy163@hotmail.com wrote: Does anyone know if it makes sense to try to use the library in Linux.
Certainly - there are many cross-platform libraries, just look at SourceForge.
|
|
|
|
|
|
hello everybody
i am connecting vc++(MFC) to mysql but there is only single error
that is libmysql.lib file is not found
can anybody tell me how to recover this error
\thanks
hi
|
|
|
|
|
have you linked to this library in Linker Settings?
Yeah, You are right Mr Prasad. Didn't notice that he is getting a compilation error. probably read too fast.
-- modified at 1:51 Monday 7th May, 2007
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|