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.08 seconds; generated 16 minute(s) ago.

  1. Replies
    4
    Views
    109

    Re: Strange red blocks in Editor window

    Glad you've solved this problem! :thumb:;)
  2. Replies
    4
    Views
    109

    Re: Strange red blocks in Editor window

    Additional info: https://developercommunity.visualstudio.com/t/intellisense-broken-10000-shows-errors-but-compile/341025
  3. Replies
    4
    Views
    109

    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.
  4. Replies
    3
    Views
    181

    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.
  5. 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.
  6. 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...
  7. 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
  8. 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...
  9. Replies
    3
    Views
    299

    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...
  10. Replies
    3
    Views
    299

    Re: Contact from VS C++ to Excel VBA

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

    Re: Multiple listboxes

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

    by VictorN
    Replies
    8
    Views
    10,044

    Re: My book

    Congrats again! :thumb:5
  13. Replies
    1
    Views
    255

    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...
  14. Thread: MFC and MySQL

    by VictorN
    Replies
    5
    Views
    416

    Re: MFC and MySQL

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

    by VictorN
    Replies
    5
    Views
    416

    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...
  16. Replies
    3
    Views
    645

    Re: Aspect and format of the console

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

    by VictorN
    Replies
    3
    Views
    321

    Re: Is impossible?

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

    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)...
  19. Thread: stop a thread

    by VictorN
    Replies
    6
    Views
    674

    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...
  20. Replies
    2
    Views
    656

    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...
  21. Thread: stop a thread

    by VictorN
    Replies
    6
    Views
    674

    Re: stop a thread

    Don't reinvent the wheel! just check out a great Joe Newcomer's essay about Using Worker Threads
  22. Thread: File I/O

    by VictorN
    Replies
    10
    Views
    735

    Re: File I/O

    Debug your code to see/understand what happens inside your getFileContent() function!
  23. Replies
    8
    Views
    1,221

    Re: How to post articles on Codeguru?

    So have you already posted a PM (Private Message) to jamespayne?
  24. Re: Adding Items From 1 RichTextBox into Different Arrays

    Your problem has nothing to do with the RichTextBox.
    It is just simple mathematics. Try to solve it with a peace of paper and a pencil.
    Then learn the basics how to work with integer numbers...
  25. Replies
    1
    Views
    262

    Re: Unknown assertion

    Do the same like with any other assertion messagebox: press a Retry button to step in the code (line) caused this assertion.
    Or just find in your installation folder looking like:

    this...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured