Subject Re: Bob -- Getting Your Code Organized
From Bob McKinney <jrmckinney721@gmail.com>
Date Wed, 27 Oct 2021 14:59:49 -0400
Newsgroups dbase.getting-started

Hi ken:  This is a great msg.  Other than what you have told me to move in this msg, I won;t even touch the keyboard(grin).

To react to a msg, the first thing I do is print it.  I then can read and study it with a magnifing sheet.  I keep all the msg's on a clipboard aranged by the time and date recieved.  The why I had arranged all the files as I did is a long story and not to be repeated.

Will be back as soon as i've  completed your suggestions i n the thread.
I can't tell you the many thanks I feel for your patience.......Bob



>Ken Mayer Wrote:

> Bob --
>
> (Starting a new thread, as the old one is hard to find things in.)
> Please note: do not move any code that is not described in my messages,
> or things will become a mess. Even if it seems like it might solve
> things, have patience and wait for my responses.
>
> If you are willing to rearrange things, then first, as noted, put
> SEEKER.CC back where it belongs, in the folder it was installed in by dBASE:
>
> C:\USERS\19546\Documents\dBASE\dBASE2019\dBLClasses\formClasses
>
> Don't move it. Leave it there.
>
> Then, I suggest you consider the following:
>
> 1) Put the dUFLP in a simpler folder structure:
>     C:\dUFLP
>        or
>     c:\dUFLP2021
>
>     Or something like that. Leave out the brackets.
>     If you do this, then you will want to navigate (using the dBASE
> Navigator) to the folder you just moved the dUFLP to. Once you are
> there, in the Command Window, type:
>
>     do setup
>
> This will exit and restart dBASE (a couple of settings need to be read
> out of the Plus.ini file).
>
> That should have the dUFLP set up and ready to roll. Assuming you put
> seeker back where it belongs, then in the Command Window:
>
>     do library.wfm
>
> The library form should come up with no errors. If it does, the dUFLP is
> correctly setup.
>
> Exit dBASE.
>
> 2) Now, figure out a good location for your own personal application.
> Currently you appear to have it buried here:
>
>     C:\USERS\19546\Documents\BSSBIZ
>
> I seriously think this is not the best place for your application's
> source code to be. It's confusing, and not the most obvious place to
> look for it. You should consider moving it to a simpler folder
> structure, such as:
>
>     C:\BSSBIZ
>
> Copy everything, the whole BSSBIZ folder and everything inside it to the
> new location.
>
> For the code to run properly, you then will need to modify the source
> code alias for your custom code. To do this, go to the Desktop
> Properties dialog (Properties menu, Desktop Properties submenu). Go to
> the "Source Aliases" tab. Find the source alias you were using
> (BMCUSTOM, I think). Click on that, and in the dialog click the folder
> button to change the folder for your custom code to point to the new
> location, which if I am reading everything correctly should e:
>     C:\BSSBIZ\BMCUSTOM
>
> 3) Using the dBASE Navigator navigate to the folder C:\BSSBIZ, which
> again, if I am understanding everything, is where your source code is.
>
> Stop there. Don't move anything else. Don't delete anything. Let's just
> get you to this point.
>
> One of the biggest issues is you go and start moving things after you
> have followed other instructions, and in the process you break things
> because they aren't where they should have been. So please, don't go
> moving anything ... have some patience.
>
> Ken
>
> --
> *Ken Mayer*
> Ken's dBASE Page: http://www.goldenstag.net/dbase
> The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
> dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
> dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
> dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm