thread222-1293832
Thanks for this code Strongm. Works great on XP, with one issue. when I handle the incoming message and try to call SetForeGroundWindow I get an error that that function can't be found in run32.dll error 453
using VB6, DLL was created as an ActiveX DLL, but compiled as a regular DLL. Doesn't seem to matter if use a DLL or include code in my .exe. One exe is an Activex, sending a message to a regular .exe all code is in VB6
Seems strnage that my regular exe can call SetWindowForeGround when called from inside itself, but not when coming from the incoming Message Handler.
Attached is an image of instructions how to Modify VB6 to create a regular DLL, if you need them. I don't have the link to the page, but should be able to find it again.
Also if anyone knows how to get around another problem I have with this DLL I created, I get an error 429 when trying to run on Windows 10, seems the exe's cant find the DLL, or class. Probably because W10 thinks it is an active X, any other way to get the EXE to load the DLL? Prefer to use regular DLL, that an Active X, have had many issues with multiple Apps using Active X DLL's.
Thanks
Thanks for this code Strongm. Works great on XP, with one issue. when I handle the incoming message and try to call SetForeGroundWindow I get an error that that function can't be found in run32.dll error 453
using VB6, DLL was created as an ActiveX DLL, but compiled as a regular DLL. Doesn't seem to matter if use a DLL or include code in my .exe. One exe is an Activex, sending a message to a regular .exe all code is in VB6
Seems strnage that my regular exe can call SetWindowForeGround when called from inside itself, but not when coming from the incoming Message Handler.
Attached is an image of instructions how to Modify VB6 to create a regular DLL, if you need them. I don't have the link to the page, but should be able to find it again.
Also if anyone knows how to get around another problem I have with this DLL I created, I get an error 429 when trying to run on Windows 10, seems the exe's cant find the DLL, or class. Probably because W10 thinks it is an active X, any other way to get the EXE to load the DLL? Prefer to use regular DLL, that an Active X, have had many issues with multiple Apps using Active X DLL's.
Thanks