Subject Re: Changing 2019 address
From Ken Mayer, dBase, LLC <kmayer@dbasellc.com>
Date Sat, 9 Oct 2021 15:25:39 -0700
Newsgroups dbase.getting-started

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