Subject Re: Changing 2019 address
From Bob McKinney <bmckinmey721@gmail.com>
Date Mon, 11 Oct 2021 15:24:51 -0400
Newsgroups dbase.getting-started


    Hi Ken:  BMCustom is the holding folder for all my custom files (cfm, cdm, ect.).   My Controls is the subfolder to BMCustom
contains all my custom controls (MyEntryfield, MyContainer, MyToolbar, etc).
     As to the ini.files I don't know the path to open it .  Even if I found it, I would not know what to do with it.
I wish I knew all the steps it will take to use one of my wfm files.  I would hope that once I find that out, if I ever do, then I should
be capable to apply the same steps for all of my existing files used with the 2.8 version.  Wish me luck......Bob


>Ken Mayer, dBase, LLC Wrote:

> On 10/9/2021 3:20 PM, Bob McKinney wrote:
> > Hi Ken:  I repaired the BMCustom Source Aliase address as you suggested.  Same results.
> > I created a new form w/2019 just in case ther was something different. (see code below).
> >
> >
> > /*  File name......Test.wfm
> >      Purpose........Used for testing code
> >
> > */
> > ** END HEADER -- do not remove this line
> > //
> > // Generated on 10/09/2021
> > //
> > parameter bModal
> > local f
> > f = new TESTForm()
> > if (bModal)
> >     f.mdi = false // ensure not MDI
> >     f.readModal()
> > else
> >     f.open()
> > endif
> > class TESTForm of DialogCForm from :BMCustom:dialog.cfm  // error msg. dialog.cfm dosn't exist
>
> Okay, so what folder is dialog.cfm in?
>
> That's where BMCustom should be pointing to.
>
> Now, if this is a compiled executable, you have to keep in mind that
> source aliases are ignored. The Source Code Alias is ONLY for
> development purposes. If you need to point to the folder for a compiled
> application, the .ini file must have DEO paths set:
>
> [ObjectPath]
> objPath0=C:\SomeFolder\CustomFiles
>
> This must be the .ini file used by the executable ...
>
> Ken
>
> --
> *Ken Mayer*, dBase, LLC
> 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