Re: Find/Replace function

From: Leo (none_at_none.com)
Date: 09/09/04


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..



Relevant Pages

  • RE: Back-up error 5634 - Need help eliminating directory
    ... After you excluded badmail folder in Trend, can your backup your server ... In the Badmail directory box, change the name of the BadMail folder to ... |> | Reason: Access is denied. ...
    (microsoft.public.windows.server.sbs)
  • Re: Desktop folders lost!
    ... I can't think of any technical reason not to do it. ... I accidentally put a photo up as a screen saver then when I ... That should show your home folder in column view. ... John McGhie, Consultant Technical Writer ...
    (microsoft.public.mac.office.word)
  • Re: Using VbScript For Add-On Log On Script
    ... I see no reason on certain folders such as Public Folders why if I only ... I figured that if I can manually rename the drives ... I should also be able to do it programmatically, via my own login script ... that I would put into the Startup Folder. ...
    (microsoft.public.windows.server.scripting)
  • Re: iPhoto question
    ... For whatever reason, Apple has not configured its new "Library-based" ... "existence proof" for demonstrating how much better iPhoto (and iTunes) ... original hard-wired folder layout. ...
    (comp.sys.mac.apps)
  • Re: Desktop folders lost!
    ... I don't think that one will ignite a flame war. ... I can't think of any technical reason not to do it. ... I accidentally put a photo up as a screen saver then when I reverted ... That should show your home folder in column view. ...
    (microsoft.public.mac.office.word)