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

Search:

Type: Posts; User: Eri523

Page 1 of 80 1 2 3 4

Search: Search took 0.08 seconds.

  1. Re: Interoperability issue between VC++ (ocx) & VB.NET applications

    Good point, Victor, however, if that was the problem, wouldn't then the C++ compiler flag attempts to modify the passed byte array as an error in the first place? Wouldn't const, as it's used here,...
  2. Replies
    2
    Views
    244

    Re: Acces from Thread to user control datas

    Another approach I like to use in scenarios like this is to have the GUI thread, in response to data changes, pass work requests to the worker thread to be processed. A great mechanism for passing...
  3. Re: Use of milli second / micro second / nano second in gcc

    Why has this thread been moved to the C++/CLI section here? Wouln't C++ (non-Visual) have been the better place?
  4. Re: Access violation when trying to create instance of unmanaged class

    I don't see anything obviously wrong with the tiny bits of code you posted, but you provided way too little information to say anything substantial.

    What looks suspicious, though: Why (and how)...
  5. Re: Keep failing at VS 2015 Community Ed registration: just getting "ding!" on sign-i

    Sorry for that panic post yesterday. :blush: I definitely was over-alerted and pretty tired. Tried it again today after I shut down and restarted (not just hibernated and Wolke up) the system and it...
  6. [RESOLVED] Keep failing at VS 2015 Community Ed registration: just getting "ding!" on sign-in

    Well, it's just what the thread title says: Instead of accepting characters in the text box for mail/phone on sign-in (yes, I did create an account), I keep getting that "ding!" sound for each and...
  7. Re: Transferring data from a form to a separate class file

    Your question is rather vague. What are the concrete problems you're facing, like compilation error messages or exceptions you get, or data objects not having the expected values?

    Your...
  8. Replies
    7
    Views
    2,615

    Re: ListView sorting colums

    Ok, this MB/KB thing doesn't really mean varying data types within one column, but one data type formatted in a complex manner. Parsing this from the text representation in the list view is possible...
  9. Replies
    7
    Views
    2,615

    Re: ListView sorting colums

    GetItemValue() is where the actual item data access takes place, so that's what needs to be modified in your class derived from ListViewItemComparer (an this means the abstract class from the earlier...
  10. Replies
    7
    Views
    2,615

    Re: ListView sorting colums

    You can simply modify the numeric comparer from http://forums.codeguru.com/showthread.php?550881-RESOLVED-ListView-Sorting-Alternative so that it takes its input from the subitems rather than the...
  11. Replies
    1
    Views
    605

    Re: Excel VBA combination Generator

    For this purpose, think of the numbers' signs as boolean values in the sense "negate" and "don't negate". Then, essentially, you'll end up with plain binary counting.

    Here's a thread with a...
  12. Replies
    3
    Views
    697

    Re: Custom file association

    No I don't have such an example. As I wrote above, I never needed to do that. But someone else who is reading this may have.

    I took a quick look at one of my own file associations created using...
  13. Replies
    5
    Views
    887

    Re: ListView Sorting-Alternative

    You're welcome! :)

    In this case it's good practice to mark the thread [RESOLVED] using the thread tools menu at the top.

    While revisiting the topic I found a small enhancement that can be made:...
  14. Replies
    3
    Views
    697

    Re: Custom file association

    To have your program open files on start-up, let it examine the command line arguments that you can access by calling Environment::GetCommandLineArgs(). If you find a file name as the first argument,...
  15. Replies
    5
    Views
    887

    Re: ListView Sorting-Alternative

    Call the two-parameter base class constructor from the derived class and pass true for bReverse:



    public ref class DescendingNumericListViewItemComparer : public ListViewItemComparer
    {...
  16. Replies
    5
    Views
    887

    Re: ListView Sorting-Alternative

    Obviously, your list view is sorting the items lexically (IOW alphabetically) rather than numerically what you actually seem to intend. The straightforward approach to fix this is assigning an object...
  17. Re: Convert From c# - For Report Viewer Report save as PDF

    Yes, you got the array syntax wrong, and Alex already posted the correction.

    Also, there's no direct equivalent to the C# using construct in C++/CLI, and what you posted doesn't syntactically make...
  18. Re: Convert From c# - For Report Viewer Report save as PDF

    Doesn't look complicated. What's the problem?
  19. Replies
    9
    Views
    939

    Re: Discover Drive Letter vom Network-Path

    This is probably due to the fact that you're in a user roaming scenario. In this case the desktop doesn't strictly map to a directory on a local drive.



    Of course it does: Not any UNC path will...
  20. Replies
    5
    Views
    539

    Re: File read and write on a Network-System

    One of the two reasons specified by MSDN for Icon::GetAssociatedIcon() to throw an ArgumentException is this:



    And that's it. A local path should work, and a network path mapped to a drive...
  21. Replies
    1
    Views
    421

    Re: Print HTML stream directly from C++ code

    You may call WebBrowser1->ShowPageSetupDialog() to have the user make the correct page setup prior to printing, or WebBrowser1->ShowPrintDialog() to initite printing with the opportunity for the user...
  22. Re: Error when trying to read a random word from a file

    I'm not exactly sure why the compiler regards your char[] as an integral type, then converts that to bool (which is the reason for the warning you get) and then calls the Convert::ToString(bool)...
  23. Replies
    1
    Views
    997

    Re: Converting std::string to System::String

    You've been on the right track with std::string::c_str(), it's just that its result type (SByte * from the .NET perspective) isn't implicitly convertible to System::String. You need to explicitly...
  24. Re: Breaking up large class into manageable source files

    Then your central problem is not the user interface, it's organization and generation of your data. What you currently have seems to be some sort of custom browser for your users to conveniently view...
  25. Replies
    8
    Views
    777

    Re: Newbie help with chars and ASCII!

    In C++/CLI (AKA managed C++), the standard C++ keyword char is a synonym for the .NET type SByte. This is an 8 bit signed numeric type, so the behavior you describe is not surprising. The standard...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center