線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:2041
推到 Plurk!
推到 Facebook!

BDE 5.0 under XP and Vista

答題得分者是:tuga
homing
一般會員


發表:4
回覆:7
積分:2
註冊:2007-09-08

發送簡訊給我
#1 引用回覆 回覆 發表時間:2009-07-30 20:04:08 IP:61.10.xxx.xxx 訂閱
Dear All,

I write an application under Windows XP , Delphi 7 and BDE verison 5.0 ( using the paradox table ) for some years before.
The application can be run at different PC (XP) concurrently .

Now some PC are upgraded to Vista Home (32 Bit ) version, the application can be run it under XP or Vista standalone.

The problem is , it cannot be run at XP and Vista PC concurrently .
The error is the BDE problem, how can I fix it ?
( Vista have also install the same BDE 5.0 --> any problem ? )

Thank a lot.

Ming
tuga
高階會員


發表:16
回覆:109
積分:120
註冊:2002-07-13

發送簡訊給我
#2 引用回覆 回覆 發表時間:2009-08-04 09:20:36 IP:122.116.xxx.xxx 訂閱
use BDE Administrator to set LOCAL SHARE = true

run BDE Administrator -> configuration -> system -> init

find local share and set loca share = true
homing
一般會員


發表:4
回覆:7
積分:2
註冊:2007-09-08

發送簡訊給我
#3 引用回覆 回覆 發表時間:2009-08-23 00:12:18 IP:61.18.xxx.xxx 訂閱
Dear Tuga,

Thank for your advise.

But it seems not work.


===================引 用 tuga 文 章===================
use BDE Administrator to set LOCAL SHARE = true

run BDE Administrator -> configuration -> system -> init

find local share and set loca share = true
P.D.
版主


發表:603
回覆:4038
積分:3874
註冊:2006-10-31

發送簡訊給我
#4 引用回覆 回覆 發表時間:2009-08-23 01:44:58 IP:61.67.xxx.xxx 未訂閱
What's the error message?
homing
一般會員


發表:4
回覆:7
積分:2
註冊:2007-09-08

發送簡訊給我
#5 引用回覆 回覆 發表時間:2009-08-24 21:39:02 IP:61.18.xxx.xxx 訂閱
Dear,

I have these following codes at form.oncreate event and get error and the application is terminated.

try
db_ss.Connected := false;
db_ss.AliasName := DBASENAME;
db_ss.DatabaseName := DBASENAME;
db_ss.Connected := true;
table1.Active := true;
...
...
tableX.Active := true;
excpet
messagedlg(self.Name ERROR_PARADOX, mtError, [mbOK], 0);
application.Terminate;
end;

Thank a lot.

===================引 用 P.D. 文 章===================
What's the error message?
tuga
高階會員


發表:16
回覆:109
積分:120
註冊:2002-07-13

發送簡訊給我
#6 引用回覆 回覆 發表時間:2009-08-25 08:33:44 IP:122.116.xxx.xxx 訂閱
if you use paradox , please set  the net dir of these two pc  point to the same directory 

A
pc 1 net dir = d:\app\data

B
pc2
pc1 must share d:\app\data to pc1 and pc2 must has read/write right of the directory

net dir = \\pc1\d:\app\data

or

net dir = z:\app\data


ps use bde administrator set set net dir

bde administrator->confirguation->Native->Paradox->NET DIR
homing
一般會員


發表:4
回覆:7
積分:2
註冊:2007-09-08

發送簡訊給我
#7 引用回覆 回覆 發表時間:2009-08-25 09:43:18 IP:202.6.xxx.xxx 訂閱
Dear,

The NET DIR has been set to the same direcotry before.

I get the help information about the LOCAL SHARE setting :

it is just share the file between BDE and non BDE application ??
am I right, or misunderstand this meaning ??

Thank a lot.


===================引 用 tuga 文 章===================
if you use paradox , please set the net dir of these two pc point to the same directory

A
pc 1 net dir = d:\app\data

B
pc2
pc1 must share d:\app\data to pc1 and pc2 must has read/write right of the directory

net dir = \\pc1\d:\app\data

or

net dir = z:\app\data


ps use bde administrator set set net dir

bde administrator->confirguation->Native->Paradox->NET DIR
tuga
高階會員


發表:16
回覆:109
積分:120
註冊:2002-07-13

發送簡訊給我
#8 引用回覆 回覆 發表時間:2009-08-25 10:26:57 IP:122.116.xxx.xxx 訂閱
I always set pc1's  and pc2's local share to true

the dbf structure has one flag for open share or exclusive

you can use bde app and foxpro to open a dbf


foxpro syntax is

use my_dbf share
or
use my_dbf exclusive
homing
一般會員


發表:4
回覆:7
積分:2
註冊:2007-09-08

發送簡訊給我
#9 引用回覆 回覆 發表時間:2009-09-05 10:05:31 IP:61.18.xxx.xxx 訂閱
Thx for help.

I have found the problem is due to Vista UAC setting .




===================引 用 tuga 文 章===================
I always set pc1's and pc2's local share to true

the dbf structure has one flag for open share or exclusive

you can use bde app and foxpro to open a dbf


foxpro syntax is

use my_dbf share
or
use my_dbf exclusive
系統時間:2024-04-30 2:40:48
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!