I have a shared modem on COM4 that remains busy after the line has been dropped and the call completed.
I want to close the port or disconnect the modem. But the problem is that the port is being used by an independent dialer porgram. Therefore I wan't to know a way of closing a port that is...
I Have an console application that in want to hide from the users in the proceses and applications tabs within the task manager. This is to stop the user from closing it using the task manager.
I could do a windows service but I have heard that they do not run under Windows98
The TaskVisible...
I think a know a bit of a long winded way of doing this. You can set the font of a INVISIBLE picture box to that of the rich text control, and then call the TextWidth and TextHeight methods of the picture box passing the text of the rich text control.
Or you could add in the...
It's all right as I have now solved it . Stupid of me I forget to put the chm file in the same directory as the ocx. I shall never forgat that one again
I have found that when trying to print text on a dc with a certain back mode that it is best to get the Client dc. As when i did it with a CDC variable it did nothing
e.g Instead of using the CDC passed do
CClientDC dc(this)
dc.SetTextColor(RGB(255, 0, 0))...
I think i know what the problem is the event isn';t coming through to vb beacuse you are defining a new instance of your control (ObjNew) and firing the event of the new control just defined, not the actual control itself if that makes any sense?
I think what you should do is in the control...
If the dialog is being called fom another form or main application you could set a public integer variable in the caller form and when the dialog is being closed you could set the varaible to the value of the combos index by including the header file of the caller form in the open/close dialog...
Calling all techies !!
Please could you help me to overcome a problem I have in getting an compiled html help file to show from an MFC Active X control, developed in Visual C++ .Net
I have complied a file called Help.chm and put in in the same directory as the project.
In the IDL file of the...
Recently purchased Teach Yourself Visual C++ .NET In 21 Days by SAMS.
I just though i would tell you all that it is a great book for begineers to C++. I never seen C++ before as a VB Programmer, and I wanted to develop an ActiveX that has a property page in the new .NET Framework.
Bought the...
You could always try calling the SetWindowPos function and pass it NULL,0,0,0,0,SWP_NOMOVE |SWP_NOSIZE | SWPNO_ZORDER | SWP_SHOWWINDOW.
This will show a window without moving, sizing or changing the zorder.
e.g
SetWindowPos(NULL,0,0,0,0,SWP_NOMOVE |SWP_NOSIZE | SWP_NOZORDER | SWP_SHOWWINDOW)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.