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.12 seconds.

  1. Replies
    2
    Views
    101

    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.
  2. 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.
  3. 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...
  4. 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
  5. 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...
  6. Replies
    3
    Views
    278

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

    Re: Contact from VS C++ to Excel VBA

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

    Re: Multiple listboxes

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

    by VictorN
    Replies
    8
    Views
    9,985

    Re: My book

    Congrats again! :thumb:5
  10. Replies
    1
    Views
    236

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

    by VictorN
    Replies
    5
    Views
    398

    Re: MFC and MySQL

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

    by VictorN
    Replies
    5
    Views
    398

    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...
  13. Replies
    3
    Views
    603

    Re: Aspect and format of the console

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

    by VictorN
    Replies
    3
    Views
    308

    Re: Is impossible?

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

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

    by VictorN
    Replies
    6
    Views
    656

    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...
  17. Replies
    2
    Views
    647

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

    by VictorN
    Replies
    6
    Views
    656

    Re: stop a thread

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

    by VictorN
    Replies
    10
    Views
    733

    Re: File I/O

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

    Re: How to post articles on Codeguru?

    So have you already posted a PM (Private Message) to jamespayne?
  21. 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...
  22. Replies
    1
    Views
    259

    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...
  23. Replies
    2
    Views
    418

    Re: array of objects c++ newbie

    What does your problem have to do with the one described by OP?
    Why do you post your question in the more than eleven years old thread? Why not create a new one (and use CODE tags around all the...
  24. Thread: File I/O

    by VictorN
    Replies
    10
    Views
    733

    Re: File I/O

    Did you debug this code?
    How did you check that "it reads the content"? Did you check the content of the vecOfStrs after the read had finished?
    Did you check whether this operation
    for...
  25. Re: How to create new .NET Core application and then build and run it using Docker

    But why don't you want to post it in a FAQ section? :confused:
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured