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

Search:

Type: Posts; User: perrola

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    966

    Forms management

    Hello Codegurus,

    I have a main window declared this way:


    public __gc class Form1 : public System::Windows::Forms::Form

    When I click on a menu Item, I would like to display a modal window...
  2. Replies
    1
    Views
    715

    Window management

    Hello Codegurus,

    I have a main window declared this way:

    public __gc class Form1 : public System::Windows::Forms::Form

    When I click on a menu Item, I would like to display a modal window...
  3. Replies
    1
    Views
    635

    Excel Automation

    Hello....

    Just a little question ??? How can I change the color of a specific cell using Excel automation. Is the SetStyle method the appropriate one ??? And how to use it ???

    Thank you
    ...
  4. Replies
    1
    Views
    719

    Multiple instances of a DLL

    Hello,

    I would like to have two instances of the same DLL loaded in memory (with seperated data access). If I launch two threads (not processes) that load the DLL using loadLibrary, will these...
  5. Replies
    1
    Views
    575

    Bi-Processor programmation

    Hello,

    I want to optimize my program in order to run it on a bi-processor machine.

    I have create different threads that run in parralell, but it seems that each of my CPUs are still running...
  6. Replies
    1
    Views
    1,933

    Excel Automation

    Hello,

    Using Vc++, I want to add at runtime a macro to an existing workbook, and run it.

    How can I do this ?

    Thanks...

    Laurent
  7. Replies
    0
    Views
    488

    Handle not freed

    Hello,

    It seems that I have a graphic object handle that is not freed in my program but I don't know exactly where.
    Is there exist a way to know it in Visual C++ .NET OR how can I know (at a...
  8. Replies
    4
    Views
    803

    Yep, I agree. S'cuse me....

    Yep, I agree. S'cuse me....
  9. Replies
    4
    Views
    803

    In fact, the way I use to declare global...

    In fact, the way I use to declare global variables is to define them as extern in the .h file, and explicitly declare them in a .cpp file.
    Example:

    cAlgorithm.h file
    #if !defined(cAlgorithm_h)...
  10. Replies
    3
    Views
    647

    Is it possible ???????

    Hello,

    A little existential question. Is it possible in a release mode and at runtime to access a variable in memory through its name entered for example in a window in order to get its value ?
    ...
  11. Replies
    4
    Views
    672

    Here is the source code I use for this operation:...

    Here is the source code I use for this operation:

    // First of all, try to get the configuration file of the project
    CFileDialog dlg(TRUE, _T("prt"), NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT |...
  12. Replies
    4
    Views
    672

    Compatibility W2000 WNT

    Hello,

    I use a CFileDialog object in a program compiled with .NET under W2000 to open and save files. It works fine, but when I try the same program on a NT environment, the file dialog box...
  13. Replies
    1
    Views
    583

    System namespace

    Hello,

    Using .NET, I try to use the System namespace as follow

    float fTempValue = System::Convert::ToSingle(dTempValue);

    Thuis generates an error during compilation, saying that System is...
  14. Replies
    3
    Views
    728

    Ok, but why is it possible to initialize a float...

    Ok, but why is it possible to initialize a float variable to 0.01, while it seems a problem when we cast a double of 0.01 value to a float value ?
  15. Replies
    3
    Views
    728

    Conversion doule to float

    Hello,

    I have a double value equal to 0.01. I try to cast it to a float value and I get 0.009999998.

    What is the reason, how can I deal with this problem ?

    Laurent
  16. Thread: .NET shift

    by perrola
    Replies
    0
    Views
    531

    .NET shift

    Hello,

    I try to compile a VC++ 6 project (that worked before) under .NET development environment. The compilation fails because of unresolved external symbols in one of my projects.
    These symbols...
  17. Replies
    3
    Views
    765

    Problem with Spin Controls...

    Hello,

    I have a spin control associated to an edit box in a CView. More, Horizontal and Vertical scroll bars are added to this CView and WM_HSCROLL and WM_VSCROLL are managed through OnHScroll and...
  18. Replies
    2
    Views
    697

    How to get the cuurent user name

    Hello,

    Perahps a little question, but I can't found the answer : how can I get the username of the currently logged user ????

    Thanks

    Laurent
  19. Thread: Screen capture

    by perrola
    Replies
    0
    Views
    485

    Screen capture

    Hello,

    Does anybody have somewhere a sample to make a CWnd object capture to BMP and JPG file

    Thanks

    Laurent
  20. Thread: DLLs Loading

    by perrola
    Replies
    10
    Views
    1,168

    Yes I have done it. In fact, what I wanted to...

    Yes I have done it. In fact, what I wanted to know is if there is a way to do the same thing, avoiding modifying my Path environment variable
  21. Thread: DLLs Loading

    by perrola
    Replies
    10
    Views
    1,168

    Excuse me, in fact, I put these DLLs in...

    Excuse me, in fact, I put these DLLs in %MyAppPath%/Bin. It is the reason why my application can't load them...
  22. Thread: DLLs Loading

    by perrola
    Replies
    10
    Views
    1,168

    In fact, because these DLLs are very specific, I...

    In fact, because these DLLs are very specific, I would prefer to keep them in my application directory...
  23. Thread: DLLs Loading

    by perrola
    Replies
    10
    Views
    1,168

    Yes, this is what I did, but my problem is at...

    Yes, this is what I did, but my problem is at runtime... The exe application can't find my DLLs if I don't change my Path.
  24. Thread: DLLs Loading

    by perrola
    Replies
    10
    Views
    1,168

    DLLs Loading

    Hello,

    I have got a program that is linked to DLLs I wrote.

    I would like to gather these DLLs in a ./Bin directory. The problem
    is that I have to change my path environment variable and this...
  25. Replies
    21
    Views
    2,234

    Thank you, it works good...

    Thank you, it works good...
Results 1 to 25 of 52
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured