CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    116

    Smile [Automation To .Net] Find String In Solution

    Hi All,
    I am making a automation program which auto compile and fix error.
    Now, when I have a problem like this :

    Old Code In VS 2003 or 6.0:
    Code:
    for(int i = 0; i < 10; ++i)
    {
         cout<<i;
    }
    cout<<i;
    My program will auto update it to :
    Code:
    int i;
    for(i = 0; i < 10; ++i)
    {
         cout<<i;
    }
    cout<<i;
    okie, I had foreach file in project and used Regex to do it.
    But, the problem is its so slowly.

    I want to get it better so I start to use Find function.
    But I doesn't work.
    I had been around for 2 days and get nothing.
    So I post here my problem and hope someone will help me.

    Thank in advance.
    KidKid.
    My English is very bad. So tell me if Something I talked make u confuse.
    My Ebook Store: www.coding.vn/book.php

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: [Automation To .Net] Find String In Solution

    It would be more helpful if you included the code that did the find and replace.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured