Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Ambles

    Closi

    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...
  2. Ambles

    Hiding An Application From The Task Manager

    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...
  3. Ambles

    Dynamically sizing a RichTextBox control

    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...
  4. Ambles

    Unable To display HTML Help file from ActiveX Control

    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
  5. Ambles

    Help with CView::OnCtlColor

    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))...
  6. Ambles

    Event Handle (Urgent) ...

    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...
  7. Ambles

    Keeping the values when a Dialog is closed and opened

    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...
  8. Ambles

    Unable To display HTML Help file from ActiveX Control

    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...
  9. Ambles

    Great Book For Beginners

    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...
  10. Ambles

    Visual C++ Win32 Prog Problem Urgent Help need :Dialog Box not Showing

    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)...

Part and Inventory Search

Back
Top