Subject Re: err msg "unable to create component"
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Mon, 15 Oct 2018 11:02:21 -0700
Newsgroups dbase.getting-started

On 10/15/2018 9:35 AM, ed furche wrote:
> Ken Mayer Wrote:
>
>> On 10/9/2018 9:39 AM, ed furche wrote:
>>> just started getting this error when opening one WFM from another..
>>>
>>> "unable to create component"  takes you to line 7-12 of the WFM you are trying to open.
>>>
>>> one user on Win7  one on Win 10...
>
> To my knowledge. I am not using any CC's.
> I just got the message again. opening a new WFM from a previous one.  It fails on the f.open line 7 in the new WFM.
>
> ** END HEADER -- do not remove this line
> //
> // Generated on 11/14/2017
> //
> parameter bModal
> local f
> f = new custinfoForm()
> if (bModal)
>     f.mdi = false // ensure not MDI
>     f.readModal()
> else
>     f.open()  (fails here)
> endif
>

And that tells us nothing. There's a problem in the constructor code of
your form, all that the error is telling us is that when dBASE tries to
execute the code to open the form, it can't, but it isn't telling you
specifically where.

You need to go through your source and look at the actual source code,
there's something seriously wrong in there, but without more detail, we
can't know what it is ...

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