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

Search:

Type: Posts; User: SoftwareTester

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    844

    What design pattern?

    I have a class A maintaining a list of objects class B.
    But each object of class B can be referenced in any object of class A.
    Class B also maintains a list of objects of class A where it is being...
  2. Replies
    6
    Views
    12,158

    Re: Tarjan SCC Algorithm

    Wow, still interested in that 1972 article?
    I remember studying it in the early 80s.
    If I remember well the original article contains a FORTRAN implementation of it, if not you can find it for...
  3. Replies
    9
    Views
    1,955

    Re: Using Regex.Replace

    Thanks a lot!

    Looks good to me although I do not understand the expression(s) well (BTW, the one commented out is that an alternative or one you have 'doubts' about?)

    One thing I have been...
  4. Replies
    9
    Views
    1,955

    Re: Using Regex.Replace

    Thanks, your patteren replaces SOMETHING at least although not all I want
    Let me give you an example :

    Part of the file contains


    </td><td><a...
  5. Replies
    9
    Views
    1,955

    Re: Using Regex.Replace

    Probably my mistake but the messagebox doesn't show ANYTHING.
    (I added a reference to Microsoft.mshtnl in oder to be able using mshtml)

    I had a brief look at regular expressions, but that's just...
  6. Replies
    9
    Views
    1,955

    Re: Using Regex.Replace

    Yes, I want to remove ALL tags from a page and analyze the remaining text
  7. Replies
    9
    Views
    1,955

    Using Regex.Replace

    From WebBrowser.DocumenText I want to remove everything not being a text using a regular expression.

    As
    String TxtEverything = WebBrowser.DocumentText
    will(/can) be very long and it can...
  8. Replies
    0
    Views
    646

    Capturing site into memory

    From within a windows application I want to capture the textual output a site generates into memory and/or a file in order to analyse its contents afterwards.

    how can I achieve that?
  9. Replies
    4
    Views
    5,310

    Re: Popcount in BitArray

    I thought about that too.
    In my application I DO calculate popcounts of a large array of elements and store them prior to working with them. I use these popcounts to discriminate if I should perform...
  10. Replies
    5
    Views
    1,313

    Re: List of List

    Because i don't know the size of collection and it can (will) grow I can't use a fixed arraysize but must use a 'growable' collection
  11. Replies
    5
    Views
    1,313

    List of List

    I do have


    List<UInt64> MyList = new List<UInt64>();


    But how do I create a List for adding several 'MyList's ?
  12. Replies
    4
    Views
    5,310

    Re: Popcount in BitArray

    Thanks for useful reference (allthough most of it I've seen before and i don't think it has something really new and useful for me).

    Indeed I do need to calculate popcounts VERY often so access to...
  13. Replies
    4
    Views
    5,310

    Popcount in BitArray

    Originally I posted this in C# forum (http://www.codeguru.com/forum/showthread.php?t=461120) but it has been suggested to post it here as C/C++ programmers are supposed to be more familiar with my...
  14. Counting bits set (populationcount) in a BitArray

    How can I count the number of bits set (=populationcount) in an BitArray efficiently? (My BitArrays will vary in size between 2000 and 150000 bits and typically 'many' [between 50% and 95% have been...
  15. Replies
    6
    Views
    38,222

    Re: Capture console and output in realtime

    I don't know if this is exactly what you want but there is a way to redirect console output to a ricktextbox and it works at mine.


    public partial class MDIParent : Form
    {
    private...
  16. Replies
    6
    Views
    5,891

    Re: c# DLL called from Excel 2000

    yes it is.

    If (in VS2008) I change it into MyVBATest and rebuild it MyVBATest.dll , MyVBATest.tlb and MyVBATest.pdb will be build. In Excel I can add a reference to it.
    Running my sub MyTest...
  17. Replies
    6
    Views
    5,891

    Re: c# DLL called from Excel 2000

    Sorry for not describing it well completely. I DID select it from the list first, but after it didn't work i ALSO selected it by browsing for the file, so tried BOTH.

    Allthough I tried again by...
  18. Replies
    6
    Views
    5,891

    Re: c# DLL called from Excel 2000

    Oops, i"ve been too early to think all would be solved.

    I created a new project using VS2008 (setting the interop flag as well !), copied your code and build it .

    I copied your Excel code into...
  19. Replies
    6
    Views
    5,891

    c# DLL called from Excel 2000

    From Excel2000 I want (using VBA) to call a DLL generated using C# with VS2008.

    In VS2008 I created Class project and before building the application I checked the "Register for COM Interop"...
  20. Replies
    0
    Views
    843

    Template setup

    I'm new to ASP.NET with C# webdevelopment.

    I want to have a template for my site(s).
    The template should have a menu section at the top (with alogo next to it) , a navigation section at the left,...
  21. Replies
    1
    Views
    1,029

    How to initialize page of TabControl

    I have an MDIParent and a TabControl in it

    I want to perform some initializations (like showing a filename in a combobox) first time the (first page) of the tabcontrol becomes visible (so : at...
  22. Re: Enable Cut but not Paste in a Ricktextbox

    I already made it "readonly" but after selection text with the mouse (it becomes selected) Ctrl-C nor rightclicking (COULD be showing a menu) doesn't work. So I can't copy selected text
  23. Re: Enable Cut but not Paste in a Ricktextbox

    I use a RichTextBox to capture output from a console program (Console.Writeline and Console.Write ).
    Sometimes i would like to copy those results and analyze them outside the program.
    So it will be...
  24. Enable Cut but not Paste in a Ricktextbox

    I want to enable "cut" but not "Paste" in a RichtextBox on a tabpage as that rtb is being used for output only.
    What attributes do I need to set and what else?

    Somewhere I read about...
  25. Replies
    3
    Views
    1,729

    Re: Fast StreamWriter

    bool bCurrentFlush = TxtWriter.AutoFlush;
    TxtWriter.AutoFlush = false; // Avoid flushing after every write

    UInt32 Index = 0;
    for (int i1 = 0; i1 < MaxSets - 4; i1++)
    {
    for (int i2 = i1 + 1;...
Results 1 to 25 of 61
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured