Re: Find/Replace function
From: Leo (none_at_none.com)
Date: 09/09/04
- Next message: Gerald Hernandez: "Re: VB6 vs VB.NET"
- Previous message: Gerald Hernandez: "Re: VB6 vs VB.NET"
- In reply to: Ken Halter: "Re: Find/Replace function"
- Next in thread: J French: "Re: Find/Replace function"
- Reply: J French: "Re: Find/Replace function"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 9 Sep 2004 14:53:54 -0400
Ken, I completely agree that a config file is the way to go. I prefer a .ini
file over the registry, but the reason I was asking for the function to
find/replace code was because it would've been the fastest way to get the
program up and running, instead of me having to recode all the hardcoded
paths to pick up from a config file. It's a matter of deadline for the
moment, but not a long term solution. In fact we're rewriting the whole
thing in VB.NET and all the shortcommings and inflexibilities will be
addressed on this new project. However for the next year we'll have to use
what we have.
Thanks again
Leo
"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
news:e6lI%23jplEHA.3432@TK2MSFTNGP14.phx.gbl...
> Larry Serflaten wrote:
> > (FWIW:)
> >
> > I would think the project file should be parsed to locate all the
> > forms and modules in the project. If you (for example) have a
>
> Of course the project should be parsed... too much work for this post.
>
> Since I don't have it handy I'd need to re-write the parsing routines.
>
> > repository of modules you simply drag and drop onto the project
> > window, the module is left in its original directory with the project
> > file indicating the full path to that module.
>
> Personally, I drag them from one sourcesafe folder (called
> SharedModules) to another to share the file under source control. The
> file ends up in my project folder when I check it out.
>
> > Those types would not be checked by just looping through the
> > project directory. Also, I have several projects where parts of
> > the project reside in sub folders of the project folder. Without
> > parsing the project file, they would all be missed because the
> > project file is in the top level folder with classes and modules
> > in the sub levels....
>
> If I had the code handy, I would've posted it.
>
> > LFS
>
> It's also the reason I start most posts where I supply sample code with
> "Here's one way" instead of something like "Here's THE way" or "Here's
> how you should do it"
>
> Still, the OP would be better off with a config file of some sort.
>
> --
> Ken Halter - MS-MVP-VB - http://www.vbsight.com
> Please keep all discussions in the groups..
- Next message: Gerald Hernandez: "Re: VB6 vs VB.NET"
- Previous message: Gerald Hernandez: "Re: VB6 vs VB.NET"
- In reply to: Ken Halter: "Re: Find/Replace function"
- Next in thread: J French: "Re: Find/Replace function"
- Reply: J French: "Re: Find/Replace function"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|