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

InterBase DataBase Restart

 
is_tem
一般會員


發表:17
回覆:15
積分:11
註冊:2002-04-17

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-04-25 00:46:55 IP:61.10.xxx.xxx 未訂閱
How we can determine a InterBase's database is shutdown? If it is shutdown, how we can restart it in run time? Why need to shutdown a database?
領航天使
站長


發表:12216
回覆:4186
積分:4084
註冊:2001-07-25

發送簡訊給我
#2 引用回覆 回覆 發表時間:2002-04-28 19:55:15 IP:61.219.xxx.xxx 未訂閱
引言: How we can determine a InterBase's database is shutdown? If it is shutdown, how we can restart it in run time? Why need to shutdown a database?
You Can Use the dos Command the restart the database server: net start "Interbase Guardian" >NULL Stop the Interbase , you can use the dos command: net stop "InterBase Guardian" >NULL net stop "InterBase Server" >NULL ~~~Delphi K.Top討論區站長~~~
------
~~~Delphi K.Top討論區站長~~~
is_tem
一般會員


發表:17
回覆:15
積分:11
註冊:2002-04-17

發送簡訊給我
#3 引用回覆 回覆 發表時間:2002-04-29 22:42:15 IP:61.10.xxx.xxx 未訂閱
Is that any way do it in RUN TIME. (Code in Delphi) It seems that IBConfigService can do, but I am not sure.
領航天使
站長


發表:12216
回覆:4186
積分:4084
註冊:2001-07-25

發送簡訊給我
#4 引用回覆 回覆 發表時間:2002-04-30 08:26:22 IP:61.219.xxx.xxx 未訂閱
引言: Is that any way do it in RUN TIME. (Code in Delphi) It seems that IBConfigService can do, but I am not sure.
you can try shellexecute() in delphi (must uses shellapi; first) ~~~Delphi K.Top討論區站長~~~
------
~~~Delphi K.Top討論區站長~~~
is_tem
一般會員


發表:17
回覆:15
積分:11
註冊:2002-04-17

發送簡訊給我
#5 引用回覆 回覆 發表時間:2002-05-01 00:29:48 IP:61.10.xxx.xxx 未訂閱
It seems not a good idea, for example, it may return paramenter and it is hard to capture all response information.
領航天使
站長


發表:12216
回覆:4186
積分:4084
註冊:2001-07-25

發送簡訊給我
#6 引用回覆 回覆 發表時間:2002-05-02 08:14:26 IP:61.219.xxx.xxx 未訂閱
try: uses winsvc; OpenSCManager() EnumServicesStatus() OpenService() StartService() ControlService() ~~~Delphi K.Top討論區站長~~~
------
~~~Delphi K.Top討論區站長~~~
系統時間:2024-05-06 1:44:06
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!