CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: KYG

Page 1 of 12 1 2 3 4

Search: Search took 0.30 seconds.

  1. Replies
    1
    Views
    590

    Visual Source Safe in VS.NET

    I have VS.NET Enterprise Architect installed om my machine. I need to use VSS for my projects. What I found, there is no VSS Server (VSS Admin tool) for VS.NET and I could connect my project only to...
  2. Replies
    3,704
    Views
    622,911

    Poll: What a lazy man! Whay didn't you provide a...

    What a lazy man!
    Whay didn't you provide a dropdown with all famous countries? Why do I have to be hidden with "Others"???!!!
  3. Thread: DateTime Picker

    by KYG
    Replies
    5
    Views
    955

    Re: Re: DateTime Picker

  4. Replies
    5
    Views
    884

    Re: Bug in VS 6.0 C++ compiler ?

    (1) Did you use Release Build?
    - No, Debug Build. With release I get the same result as you got.
  5. Replies
    5
    Views
    884

    Re: Bug in VS 6.0 C++ compiler ?

    I don't know, but on my machine I get:

    19
    0
    0
    0
    0

    I'm using VS 6 with SP5.
  6. Replies
    8
    Views
    863

    Re: Deactivate Alt and F4

    Use PreTranslateMessage():

    if (pMsg->wParam == VK_F4)
    {
    // .......
    }
  7. Replies
    7
    Views
    1,469

    Re: Installshield help needed !

    You have to do the following steps:
    1. Copy your .OCX file to the target machine.
    2. Register it with regsvr32.exe
    3. Check whether your ActiveX has been registered successfully.

    So far you can...
  8. Replies
    3
    Views
    869

    Re: How to run an exe after reboot?

    I would put the name of your .exe into Startup part of the Registry. Then, after your application finished you can remove your changes in the Registry.

    Hope it'll help.
    KYG.
  9. Replies
    1
    Views
    637

    Re: Description of MFC functions

    MSDN Library.
  10. Thread: Help Please

    by KYG
    Replies
    1
    Views
    419

    Re: Help Please

    Try to read the following tutorial:

    http://devcentral.iticentral.com/articles/DCOM/intro_DCOM/part1/default.php

    Hope it'll help.
    KYG.
  11. Replies
    4
    Views
    561

    Re: problem with reading a file

    Try the following:

    CString str;
    bool bEOF=false;
    do
    {
    bEOF=SelectedFile.ReadString(str);
    str.Format("%s \n",str);
    m_Edit=m_Edit + str;
    } while (!bEOF); // Checking if...
  12. Thread: Printing problem

    by KYG
    Replies
    2
    Views
    756

    Re: Printing problem

    Yes, it's exactly the same solution I've found myself.
    Thank you!
    KYG.
  13. Thread: Printing problem

    by KYG
    Replies
    2
    Views
    756

    Printing problem

    I use pDC->DrawText(str, rect, DT_LEFT | DT_WORDBREAK) to print a multiline text (the number of lines could be different).
    After this I need to print a line below this text.
    Could you explain me...
  14. Replies
    1
    Views
    555

    How to print with different fonts/ font sizes

    Hi All!

    I need to print some text. So I have to know how many characters I can print in the line and not to go out of printing area.

    Please help me out.
    Thanks in advance.
    KYG.
  15. Replies
    4
    Views
    1,043

    Re: install / uninstall support

    You can use Install Shield which comes as a part of Visual Studio. The full version is at www.installshield.com, but you can download evaluation copy or purchase it.

    KYG.
  16. Replies
    1
    Views
    608

    Re: C++, install shield wizard

    Yes, you can specify the name of your dll in 'File Groups' of IS and include this File Group in the 'Components'. Then IS will put your dll to the TARGET directory (you should specify the path).
    ...
  17. Replies
    1
    Views
    492

    Re: Activex control that contains a dialog

    You can use MFC to create a popup dialog. Foe example, handle a dubleclick event and create a dialog.

    void CMyActiveXCtrl::OnLButtonDblClk(UINT nFlags, CPoint point)
    {
    CMyDialog dlg;
    int...
  18. "The object disconnected from its clients" error

    Hi All!

    I wrote the client-server app.
    My server is COM object, actually the NT service.
    My client is ActiveX control running through the web.

    When I connect client to the server on the same...
  19. Replies
    6
    Views
    1,103

    Re: What is wrong here?

    What kind of error did you get?
    Did you call CoInitialize() before CoCreateInstance()?

    KYG.
  20. Replies
    6
    Views
    690

    Re: Enable/Disable como box

    It works now - I replaced Invalidate() with UpdateWindow().

    Thanks.
    KYG.
  21. Replies
    6
    Views
    690

    Re: Enable/Disable como box

    Control, of course.
  22. Replies
    6
    Views
    690

    Re: Enable/Disable como box

    I added but I'm having the same behavior.
    Maybe it's happening because I start a new worker thread after this function?

    Thanks.
    KYG.
  23. Replies
    6
    Views
    690

    Re: Enable/Disable como box

    What I found out is my combo box gets disabled, only 4-5 seconds after my buttons. Very strange!
  24. Replies
    6
    Views
    690

    Enable/Disable como box

    Hi All!

    I got stuck with the subject.
    When I enable/disable my controls, eberything works fine for buttons but doesn't for combo boxes. the code is following:

    m_button.EnableWindow(false); //...
  25. Replies
    8
    Views
    1,051

    Re: What is advantage of COM?

    I guess you have to buy a book and learn COM. Or read some articles on Internet.
Results 1 to 25 of 276
Page 1 of 12 1 2 3 4





Click Here to Expand Forum to Full Width

Featured