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

  1. 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.
  2. 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...
  3. 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
  4. 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...
  5. Replies
    3
    Views
    245

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

    Re: Contact from VS C++ to Excel VBA

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

    Re: Multiple listboxes

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

    by VictorN
    Replies
    8
    Views
    9,925

    Re: My book

    Congrats again! :thumb:5
  9. Replies
    1
    Views
    211

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

    by VictorN
    Replies
    5
    Views
    382

    Re: MFC and MySQL

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

    by VictorN
    Replies
    5
    Views
    382

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

    Re: Aspect and format of the console

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

    by VictorN
    Replies
    3
    Views
    294

    Re: Is impossible?

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

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

    by VictorN
    Replies
    6
    Views
    630

    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...
  16. Replies
    2
    Views
    611

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

    by VictorN
    Replies
    6
    Views
    630

    Re: stop a thread

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

    by VictorN
    Replies
    10
    Views
    720

    Re: File I/O

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

    Re: How to post articles on Codeguru?

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

    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...
  22. Replies
    2
    Views
    405

    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...
  23. Thread: File I/O

    by VictorN
    Replies
    10
    Views
    720

    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...
  24. 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:
  25. Replies
    8
    Views
    1,168

    Re: How to post articles on Codeguru?

    1. Where (what Forums) did you post your articjes to?
    2. Define "below".
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured