Subject Re: allowing user to change or add an alias
From Ken Mayer <>
Date Sat, 17 Jun 2017 07:01:33 -0700
Newsgroups dbase.getting-started

On 6/17/2017 2:19 AM, Mervyn Bick wrote:
> On 2017-06-17 1:53 AM, Ken Mayer wrote:
>> On 6/16/2017 4:48 PM, Charlie wrote:
>>> Hi Ken...
>>> OK now I understand.  I overlooked and that is why I was
>>> trying to work with 'ex'.
>>> OK I have tried the following code which is mainly yours.  It works
>>> (changes the path) but it also hangs up dbase.  It never gets down to
>>> my message box.  Dbase is unresponsive and I have to close it to do
>>> anything.
>>> Is it something I am doing or not doing?
>> I don't know. I didn't see it do that when I tested it ...
>> Ken
> I'm getting almost the same result as Charlie.  His computer hangs when
> he deletes an alias.  Mine hangs when I create an alias.
> Initially I had the instance of bdealias assigned to a user-defined
> property of a form.  I have now run the three lines of code you posted
> from the command line with the same result.  The moment the
> createAlias() method is executed dBASE becomes unresponsive.  This
> morning I gave it 3 minutes before I gave up and killed dBASE. (Watching
> that little blue circle go round and round for 3 minutes feels like
> hours :-) )
> The config file used by is
> C:\ProgramData\Common Files\Borland\BDE\IDAPI.CFG
> Despite dBASE hanging the actual BDEalias is created correctly and can
> be seen in BDEAdministrator.exe.
> Mervyn.

What are the permissions on that folder, or the IDAPI.CFG file? I don't
know why mine doesn't do the same thing ...


*Ken Mayer*
Ken's dBASE Page:
The dUFLP:
dBASE Books: