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.

  1. Replies
    7
    Views
    8,455

    Re: TopMost and inputbox

    Did you try the "similar" solutions as suggested in the post#2 and post#6?
  2. Replies
    4
    Views
    209

    Re: Strange red blocks in Editor window

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

    Re: Strange red blocks in Editor window

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

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

    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.
  6. 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.
  7. 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...
  8. 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
  9. 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...
  10. Replies
    3
    Views
    325

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

    Re: Contact from VS C++ to Excel VBA

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

    Re: Multiple listboxes

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

    by VictorN
    Replies
    8
    Views
    10,091

    Re: My book

    Congrats again! :thumb:5
  14. Replies
    1
    Views
    278

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

    by VictorN
    Replies
    5
    Views
    448

    Re: MFC and MySQL

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

    by VictorN
    Replies
    5
    Views
    448

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

    Re: Aspect and format of the console

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

    by VictorN
    Replies
    3
    Views
    344

    Re: Is impossible?

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

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

    by VictorN
    Replies
    6
    Views
    710

    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...
  21. Replies
    2
    Views
    676

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

    by VictorN
    Replies
    6
    Views
    710

    Re: stop a thread

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

    by VictorN
    Replies
    10
    Views
    768

    Re: File I/O

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

    Re: How to post articles on Codeguru?

    So have you already posted a PM (Private Message) to jamespayne?
  25. 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...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured