VFP 愛用者社區 首頁 VFP 愛用者社區
本討論區為 Visual Foxpro 愛用者經驗交流的地方, 請多多利用"搜尋"的功能, 先查看看有無前例可循, 如果還有不懂的再發問. 部份主題有附加檔案, 須先註冊成為社區居民才可以下載.
 
 常見問題常見問題   搜尋搜尋   會員列表會員列表   會員群組會員群組   會員註冊會員註冊 
 個人資料個人資料   登入檢查您的私人訊息登入檢查您的私人訊息   登入登入

Firebird/Interbase services API wrapper class(轉貼)

 
發表新主題   回覆主題    VFP 愛用者社區 首頁 -> VFP 討論區
上一篇主題 :: 下一篇主題  
發表人 內容
goto-dream



註冊時間: 2004-05-11
文章: 909


第 1 樓

發表發表於: 星期日 九月 26, 2004 6:28 pm    文章主題: Firebird/Interbase services API wrapper class(轉貼) 引言回覆

真是好棒重量級的VFP and Firebird
喜歡的朋友下載吧~~

Description
http://www.universalthread.com/wconnect/wc.dll?FournierTransformation~


Using this class, is easy for a developer to include maintenance (backup/restore) tasks for Firebird or Interbase databases directly in applications.
Also has methods for starting database validation or repair tasks, retrieve database statistics or server log, shutdown database for exclusive access, users management, creating empty database on server, set various database properties, and others.
All these from programs, there is no need to start command line tools, external managers or COM objects.

If needed, the class can be compiled as a DLL and used as external COM object.

I've designed a sample form that has objects having class instance properties as ControlSource.

Tested with Firebird 1.0.3 and Firebird 1.5. It also should work with Interbase because I used API documentation from
open source Interbase 6.0. All API functions calls and descriptions are from there.

Firebird is an lightweight but robust database server, based on Interbase code. We use it successfuly in our company and I hadn't any troubles with it. It only needs few MBs space and memory to run properly. The client DLL used by this class (and by ODBC driver) is only 300+ kb

Although is not as advanced as SQL Server or MSDE (except transaction support and more flexible trigger support), it has its advantages (absolutely free, no MSDE like limitations, run on various platforms, free tools, UDF libraries and drivers).

Any comments or suggestions welcome

Rating

_________________
福隆昌淨水有限公司--淨水器的專家,淨水器,飲水機,濾心!!

想了解更多,您可上幸福雞湯組.找尋!!丁澐瑄.老師.

          愛作夢
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
KKKLYNN



註冊時間: 2004-09-17
文章: 357


第 2 樓

發表發表於: 星期日 九月 26, 2004 9:39 pm    文章主題: 引言回覆

請問此api可以動態將資料備份
目前我是以一般pc當作主機(分享)
謝謝!
回頂端
檢視會員個人資料 發送私人訊息
goto-dream



註冊時間: 2004-05-11
文章: 909


第 3 樓

發表發表於: 星期一 九月 27, 2004 11:01 am    文章主題: 引言回覆

1.你也可以用檔案複製方式複製資料庫.
缺點是有人在使用時.就不能複製了.
採用API當然可以動態備份.

2.這告工具還真是好用.
有備份/還原/使用者建立/資料庫系統資訊/建立資料庫等等...

3.FirebirdSQL是SQL Server.不是File Server.
是Free版本.不需要使用到SQL Server.
沒有5個使用者上限問題 .
你可以玩玩看.

VFP Wiki
http://wiki.sunyear.com.tw/

_________________
福隆昌淨水有限公司--淨水器的專家,淨水器,飲水機,濾心!!

想了解更多,您可上幸福雞湯組.找尋!!丁澐瑄.老師.

          愛作夢
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
KKKLYNN



註冊時間: 2004-09-17
文章: 357


第 4 樓

發表發表於: 星期一 九月 27, 2004 3:39 pm    文章主題: 引言回覆

謝謝您!我試試!
回頂端
檢視會員個人資料 發送私人訊息
從之前的文章開始顯示:   
發表新主題   回覆主題    VFP 愛用者社區 首頁 -> VFP 討論區 所有的時間均為 台北時間 (GMT + 8 小時)
1頁(共1頁)

 
前往:  
無法 在這個版面發表文章
無法 在這個版面回覆文章
無法 在這個版面編輯文章
無法 在這個版面刪除文章
無法 在這個版面進行投票
無法 在這個版面附加檔案
無法 在這個版面下載檔案


Powered by phpBB © 2001, 2005 phpBB Group
正體中文語系由 phpbb-tw 維護製作