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

  1. Replies
    1
    Views
    194

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

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

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

    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,...
  5. Replies
    5
    Views
    379

    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
    {...
  6. Replies
    5
    Views
    379

    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...
  7. 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...
  8. Re: Convert From c# - For Report Viewer Report save as PDF

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

    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...
  10. Replies
    5
    Views
    370

    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...
  11. Replies
    1
    Views
    247

    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...
  12. 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)...
  13. Replies
    1
    Views
    821

    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...
  14. 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...
  15. Replies
    8
    Views
    516

    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...
  16. Re: Breaking up large class into manageable source files

    From a design principle point of view, static class members are often questionable, and global (i.e. not a member of any class) entities like your Initialize() function even more so. But ok, it's...
  17. Re: Breaking up large class into manageable source files

    There's basically no problem in separating a large class into more than one .cpp file. The only thing that needs to be kept as a single piece is the class boby with the data member declarations and...
  18. Replies
    3
    Views
    806

    Re: A question regarding a debug error.

    Just a marginal remark, adding to what the two other contributors already posted correctly: You started this thread in the wrong forum section; your code quite obviously is native C++, not C++/CLI...
  19. Re: Need help on how to use open file dialog with multiple files

    The OpenFile() method you're using only ever returns the first file selected in the dialog. This is by design, and having a look at the method's return type (Stream ^) it couldn't be able to return...
  20. Replies
    5
    Views
    518

    Re: Help with a really simple program

    Ok, if your decision for C++/CLI as the language of choice has been taken, and if your goal is a program that performs something that has been done earlier by a set of batch files (or if your program...
  21. Replies
    5
    Views
    518

    Re: Help with a really simple program

    Hmmm, well... Your approach looks pretty paradox, even starting with its fundamental concept: The DOS/Windows batch file language is, by its very concept, inclined towards the primitive/trivial kind...
  22. Replies
    5
    Views
    518

    Re: Help with a really simple program

    Most users offering assistance here are reluctant to following off-site links to obscure videos and stuff, so please explain your intentions (perhaps using screen shots you upload directly to the...
  23. Replies
    1
    Views
    394

    Re: Bold, Italic Tag Help!!

    You can do an additional replace pass before the ones that apply the tags, that removes any bold, italic or underline formatting from all paragraph marks:



    .ClearFormatting
    ...
  24. Re: Problem accessing array created in the same class

    As Victor already pointed out, your problem here is that, though your array actually is created on the managed heap, your tracking handle variable that refers to the array is a local variable to the...
  25. Re: Declaring member variables in a windows form app

    You're right, writing a Windows Forms app without involving .NET is impossible, simply because Windows Forms is part of the .NET Framework Library.

    Howerver, there's a few .NET-less alternative...
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