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

如何讓 vfp 自動 註冊 msinet.ocx

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



註冊時間: 2003-02-24
文章: 121


第 1 樓

發表發表於: 星期五 四月 02, 2004 5:16 pm    文章主題: 如何讓 vfp 自動 註冊 msinet.ocx 引言回覆

1.在win98,me 只要copy \windows\system 即可

2.在nt,2000,xp copy 到 \windows\system32 還是必須用regsvr32 註冊

3. 可否由程式自動去判斷要不要註冊
回頂端
檢視會員個人資料 發送私人訊息
Ruey



註冊時間: 2003-03-12
文章: 1698
來自: tunglo

第 2 樓

發表發表於: 星期六 四月 03, 2004 2:40 pm    文章主題: 引言回覆

regsvr32一般都是這樣註冊.請找一下相關文章
_________________
#############################
快樂媽咪系列幸福宅配,喝十全雞湯~原來幸福那麼簡單!!

學會VFP使用者社區的搜尋,Code才會更有趣~
#############################
回頂端
檢視會員個人資料 發送私人訊息
violetlkk



註冊時間: 2003-06-21
文章: 84
來自: kaohsiung

第 3 樓

發表發表於: 星期六 四月 03, 2004 10:50 pm    文章主題: 引言回覆

If shellex(0,"open","regsvr32.exe","/s msinet.ocx","",1) <= 32
_Screen.Visible=.T.
? "msinet.ocx register fail !!"
Wait ""
Quit
Endif

PROCEDURE ShellEx
PARAMETERS lnhndwin,lcaction,lcfilename,lcparams,lcdir,lnshowwin
DECLARE integer ShellExecute IN shell32.dll integer,string,string,string,string,integer
RETURN ShellExecute(lnhndwin,lcaction,lcfilename,lcparams,lcdir,lnshowwin)
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
hongyu



註冊時間: 2004-04-09
文章: 1


第 4 樓

發表發表於: 星期五 四月 09, 2004 8:27 pm    文章主題: 引言回覆

* -----------------------------
* 动态注册(dll、ocx)控件
* 红雨
* -----------------------------

Function DllRegister ( lpLibFileName, isReg )
isReg = IIF(TYPE([isReg])=[U], .T., isReg)
lpProcName = IIF(isReg, "DllRegisterServer", "DllUnregisterServer" )
Declare integer GetLastError in kernel32
Declare integer LoadLibrary in kernel32 string lpLibFileName
Declare integer FreeLibrary in kernel32 integer hLibModule
Declare integer GetProcAddress in kernel32 integer hModule, string lpProcName
Declare integer CallWindowProc in user32 integer lpPrevWndFunc, integer hwnd, integer Msg, integer wParam, integer lParam

hLibModule = LoadLibrary (lpLibFileName)
If hLibModule # 0
lnAddress = GetProcAddress (hLibModule, lpProcName)
If lnAddress # 0
If CallWindowProc( lnAddress, 0,0,0,0) = 0
= FreeLibrary (hLibModule)
Return .T.
Else
lnerror = GetLastError()
Endif
Else
lnerror = GetLastError()
Endif
= FreeLibrary (hLibModule)
Else
lnerror = GetLastError()
Endif
Return .F.
Endfunc

* -----------------------------

_________________
笑傲江湖
回頂端
檢視會員個人資料 發送私人訊息
violetlkk



註冊時間: 2003-06-21
文章: 84
來自: kaohsiung

第 5 樓

發表發表於: 星期日 四月 11, 2004 5:14 am    文章主題: 引言回覆

not bad
thanks
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件
goto-dream



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


第 6 樓

發表發表於: 星期三 九月 15, 2004 9:52 am    文章主題: 引言回覆

這邊有一個工具

OCX檔案 註冊與反註冊 工具
http://delphi.ktop.com.tw/topic.asp?TOPIC_ID=44648

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

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

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

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


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