||Re: allowing user to change or add an alias
Mervyn Bick <firstname.lastname@example.org>
||Sat, 17 Jun 2017 11:19:32 +0200
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 bdealias.cc 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
>> Is it something I am doing or not doing?
> I don't know. I didn't see it do that when I tested it ...
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 bdealias.cc is
Despite dBASE hanging the actual BDEalias is created correctly and can
be seen in BDEAdministrator.exe.