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

Search:

Type: Posts; User: VictorN

Page 1 of 80 1 2 3 4

Search: Search took 0.10 seconds; generated 59 minute(s) ago.

  1. Replies
    8
    Views
    334

    Re: Strange red blocks in Editor window

    I didn't.
  2. Replies
    8
    Views
    334

    Re: Strange red blocks in Editor window

    Yes, there are some "low level important" warnings like not initialized arrays, suggestions to to use constexpr instead of #define and so on...
  3. Replies
    5
    Views
    437

    Re: Contact from VS C++ to Excel VBA

    However this solution has nothing to do with the native VC++ and this Forum.
    Your code is C++/CLI, ie the managed code. :cool:
  4. Replies
    7
    Views
    8,505

    Re: TopMost and inputbox

    Did you try the "similar" solutions as suggested in the post#2 and post#6?
  5. Replies
    8
    Views
    334

    Re: Strange red blocks in Editor window

    Glad you've solved this problem! :thumb:;)
  6. Replies
    8
    Views
    334

    Re: Strange red blocks in Editor window

    Additional info: https://developercommunity.visualstudio.com/t/intellisense-broken-10000-shows-errors-but-compile/341025
  7. Replies
    8
    Views
    334

    Re: Strange red blocks in Editor window

    They show you the places (the lines) where intellisense has found the errors.
    Note that sometimes it sucks! ;)
    You can switch to show only the build errors though.
  8. Replies
    3
    Views
    368

    Re: Palindrome Problem in C++

    It's now a very good reason to learn how to debug yor code, debug it and found out what goes wrong and why.
  9. Re: How to get file permissions that are associated with a file?

    I guess you have to implement it yourself. Just see the examples and documentation and repeat output for each attribute you want to.
  10. Re: How to get file permissions that are associated with a file?

    2kaud is correct.
    For permissions see:
    https://docs.microsoft.com/en-us/dotnet/api/system.security.permissions.fileiopermission?view=dotnet-plat-ext-6.0...
  11. Re: How to get file permissions that are associated with a file?

    See https://docs.microsoft.com/en-us/dotnet/api/system.io.fileattributes?view=net-6.0#examples
  12. Re: How to get selected value from DateTimePicker? (Visual C++ 6 MFC)

    See https://docs.microsoft.com/en-us/cpp/mfc/reference/cdatetimectrl-class?view=msvc-170#gettime

    // assuming your m_Date is of the type CDateTimeCtrl
    COleDateTime selectedDateTime;
    if...
  13. Replies
    5
    Views
    437

    Re: Contact from VS C++ to Excel VBA

    How to automate Excel from C++ without using MFC or #import
    How to automate Excel from MFC and Visual C++ 2005 or Visual C++ .NET to fill or obtain data in a range using arrays


    Doesn't this...
  14. Replies
    5
    Views
    437

    Re: Contact from VS C++ to Excel VBA

    Are you using an excel automaton in your VC++ code?
  15. Replies
    4
    Views
    485

    Re: Multiple listboxes

    Why not using one list control instead of four list boxes?
  16. Thread: My book

    by VictorN
    Replies
    8
    Views
    10,136

    Re: My book

    Congrats again! :thumb:5
  17. Replies
    1
    Views
    302

    Re: Error on using TypeScript

    https://www.google.com/search?q=TS2304&client=ms-android-samsung-ga-rev1&sxsrf=ALiCzsY3M-dnFBUYK3aiDivBp2DJfVrl5A%3A1651318808193&ei=GCBtYsvBC872gQb826Vo&oq=TS2304&gs_lcp=ChNtb2JpbGUtZ3dzLXdpei1zZXJwE...
  18. Thread: MFC and MySQL

    by VictorN
    Replies
    5
    Views
    467

    Re: MFC and MySQL

    I agree with Igor. The "classic" list control slows down with so many rows.
    Consider using the virtual list control.
  19. Thread: MFC and MySQL

    by VictorN
    Replies
    5
    Views
    467

    Re: MFC and MySQL

    Press the Retry button on the Assertion dialog to step in the code causing the failure and understand what was the reason...
  20. Replies
    3
    Views
    769

    Re: Aspect and format of the console

    According to the documentation this error means:
    Did you check whether the HANDLE hCon is correct/valid?
  21. Thread: Is impossible?

    by VictorN
    Replies
    3
    Views
    350

    Re: Is impossible?

    It seems to me you can't.
    However the could be some (not simple) workarounds:...
  22. Replies
    2
    Views
    549

    Re: Sending Posix message via pipe

    Why do you throw the runtime_error when bytes_read > 0?

    //Read and write operation
    while(ifs){//infinite loop
    bytes_read=getFileContent(fname, vec_str);
    if(bytes_read>0)...
  23. Thread: stop a thread

    by VictorN
    Replies
    6
    Views
    719

    Re: stop a thread

    Did you read the sections:
    Pausing a Thread and Thread Shutdown
    Shutting down a thread from a view or main frame
    Thread Shutdown Without Polling (20-Jan-01)

    What does not "fit your case in...
  24. Replies
    2
    Views
    695

    Re: decltype accepting two parameters?

    I added CODE tags around your code snippet to make the code readable.

    Now we're waiting for your explanation about what you need, what you could not achieve, and so on...
  25. Thread: stop a thread

    by VictorN
    Replies
    6
    Views
    719

    Re: stop a thread

    Don't reinvent the wheel! just check out a great Joe Newcomer's essay about Using Worker Threads
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured