Hi Alex,
The best place to start is to look at similar samples and walkthrougs and
start your project by re-using some of those samples.
There's a macro sample on MSDN for adding a text in a VB code editor. That
may help you start with using Text Documents.
http://msdn.microsoft.com/library/de...codewindow.asp
Also if you start VS and Go to Tools-Macros-Macro Explorer, you will see a
"Samples" Macro project. In those samples you can take a look at samples
under Utilities, like "FindLine", "FindCase" etc. Also you can use Macro
Recorder (Tools-Macros-Record Temporary Macro) to get code for some common
actions that you may use in your project.
Let me know if you need anything else.
Thanks
Tufan
"Alex Stevens" <Al**********************@gcc.co.uk> wrote in message
news:u3*************@TK2MSFTNGP12.phx.gbl...
Hi All,
I was hoping that someone could put me in the right direction with a
utility
I'm trying to write for myself.
I would like to have a search which would find a string anywhere in my
current project, and copy the whole line either to a ouput window, or
optionally to a file.
Where would I even start with this.
Would someone give me a few pointers?
Thanks
Alex