Board index » delphi » Setting BDE from ObjectPal or Delphi..

Setting BDE from ObjectPal or Delphi..

Hi,

I need to create some kind of double-clickable solution (i.e. an ObjectPal
script or something similar) that will change the NET DIR setting.  I know
that there is no specific method available within OPal to do this, but is
there one in Delphi?

The "-o" solution is no good here, because each of the users has their own
aliases, but of course they all have to have the same NET DIR setting, and
we're changing where the directory will be.

One method I tried (out of desperation) is a script which opens the
IDAPI32.CFG file as a text file, finds the NET DIR setting and changes it.
I'm not big on this idea for obvious reasons.  Is there some other possible
workaround?

 

Re:Setting BDE from ObjectPal or Delphi..


Quote
>I need to create some kind of double-clickable solution (i.e. an ObjectPal
>script or something similar) that will change the NET DIR setting.  I know
>that there is no specific method available within OPal to do this, but is
>there one in Delphi?

Yes, in Delphi set Session.NetDir to the appropriate path where session is
the default session or one you explicitly create.

Hope this helps,
matt

Re:Setting BDE from ObjectPal or Delphi..


See the example for DbiOpenCfgInfoList at
www.borland.com/devsupport/bde/bdeapiex.

Bill

(Sorry but TeamB cannot answer support questions received via email.)
(To send me email for any other reason remove .nospam from my address.)

Other Threads