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

Search:

Type: Posts; User: tr00don

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    6,211

    DrawFocusRectangle in WPF?

    What is the equivalent of ControlPaint.DrawFocusRectangle in WPF, particularly for a Canvas?

    Thank you in advance.
  2. Replies
    0
    Views
    5,374

    Checkbox in WPF DataGrid header only?

    Hi all--

    Is there a way to add a checkbox (in addition to text) to a column header in a WPF DataGrid? That is, without using DataGridCheckBoxColumn, which would add checkboxes to all grid cells in...
  3. Re: i can't convert my program from vc++ express ed 2008 to vs2010

    http://blogs.msdn.com/b/vcblog/archive/2010/03/02/visual-studio-2010-c-project-upgrade-guide.aspx

    "This is by design as the conversion needs to evaluate the properties in the missing platforms to...
  4. Should the .NET folder(s) be added to the system PATH environment variable?

    Should the .NET folder(s) be added to the system PATH environment variable? More precisely, assuming one has the latest .NET release installed on Windows 7, should string
    ...
  5. Programatically create Silverlight application in C#?

    Is there a C# library for programatically creating Silverlight applications, similar to how the ming library supports the creation of Flash animations in PHP and Perl? Thanks.
  6. Replies
    0
    Views
    609

    Task (thread) variables?

    Let A be a method that starts several parallel tasks (.NET/C# 4.0). Each task repeatedly runns method B until an exit condition is met. Regarding the variables that parallel instances of B can...
  7. Re: Access Paragraph created in non-UI thread?

    Is there a limit to the number of BeginInvoke() calls that the main thread Dispatcher can enqueue for later processing? Thanks.
  8. Access Paragraph created in non-UI thread?

    The main class initializes a List<Paragraph> object. New paragraphs are created in a new Task and added to the list of paragraphs. Upon Task completion the paragraph list is scanned in order to...
  9. Re: Best data structure/algorithm for word search?

    Thank you for your suggestion, it works. I created an array of 16 dictionaries (~ 2 letters each) and now the application work memory can go above 1 GB.
  10. Re: Best data structure/algorithm for word search?

    All right, I chose Dictionary<string, int>. I need to store a lot of data but it's really fast, so performance is not an issue. The problem is, the application crashes with an OutOfMemory exception...
  11. Replies
    6
    Views
    1,257

    Re: Need Help Understanding Recursion

    Console.WriteLine() is in the wrong place in your code. Try:


    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    namespace ConsoleApplication1
    {
  12. Re: Best data structure/algorithm for word search?

    Hm... you either try to imply that it's obvious (which to me it won't be until I run tests with each of the three options) or you just don't know. Either way your answer is not helping.
  13. Best data structure/algorithm for word search?

    Given a list of words, I need to determine whether a string perfectly matches a word in the list.

    Which of the data structures below supports the fastest search/match algorithm?

    1. a...
  14. Best algorithm for searching words in a "list"?

    see http://www.codeguru.com/forum/showthread.php?t=503599
  15. Replies
    8
    Views
    2,031

    Re: MessageBox buttons

    Solved. It turned out the manifest file created in Visual Studio 2010 works on Vista and 7 but doesn't work on XP. On XP just use the manifest file at...
  16. Replies
    8
    Views
    2,031

    Re: MessageBox buttons

    Here is another description of the issue:
    http://www.nbdtech.com/Blog/archive/2008/05/28/Why-am-I-Getting-Old-Style-File-Dialogs-and-Message.aspx

    Unfortunately, the workaround suggested doesn't...
  17. Replies
    10
    Views
    2,404

    Re: Graph data structures?

    I didn't mean to live up to my nickname (Troodon = wounding tooth) or to seem offended, as that was not the case. To prove it, I knew Troodon was a dino and if you visit the http://trescom.org...
  18. Replies
    10
    Views
    2,404

    Re: Graph data structures?

    No offense, but I need to understand how things work. If I create a graph in C# and only the entry node is stored in a variable named P then the GC may free at any time the memory used by the entire...
  19. Replies
    10
    Views
    2,404

    Re: Graph data structures?

    I know, my mistake, I meant "dispose of" (free memory).



    That's possible ;)
  20. Replies
    10
    Views
    2,404

    Re: Graph data structures?

    I appreciate the answers and the link.

    As there is no clear method for deleting objects (pointer variables) in C# I wonder how that can be achieved in an efficient manner when working with graphs....
  21. Replies
    10
    Views
    2,404

    Graph data structures?

    Graphs are the most complex data structures and are typically implemented using pointers. One on the advantages of graphs is that one can programatically add and delete nodes. Apparently, this is not...
  22. Replies
    3
    Views
    860

    Re: byte mapped records - best approach?

    Before the C# pros answer your question, please let me make some comments and make some assuptions to see if I understand your question the way you meant it.

    You say that "this will be written to...
  23. Replies
    34
    Views
    7,464

    Re: .Net to native?

    Absolutely! And it would be as difficult for me, if I were to write that application, to debug my code. :)

    You win. And hey, watch out for nasty seedpeers... ;)

    I'm off this thread.
  24. Replies
    34
    Views
    7,464

    Re: .Net to native?

    Try reading and figuring out this sample: http://www.microapl.co.uk/asm2c/sample86C.html

    Then have a look at this: http://www.microapl.co.uk/asm2c/RelogixPrices.html

    That should give everybody...
  25. Replies
    34
    Views
    7,464

    Re: .Net to native?

    Sorry, I couldn't resist...



    That is a good fight and hopefully it will be successful because M$ and the gang have gone way too far in their greed. Pretty soon we will all have to pay them a...
Results 1 to 25 of 35
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured