activexcontroldownload
語法:activexcontroldownload("classid","url",ver1,ver2,ver3,ver4)
說明:從url下載一個指定版本的activex控件并進行注冊,下載成功則返回–1,否則返回0。如果將版本號(ver1,ver2,ver3,ver4)設置為(–1,–1,–1,–1),則下載該控件最新的版本。classid是32位16進制數字標識,用于惟一地表示每一個activex控件。例如,日歷控件的classid為:{8e27c92b-1264-101c-8a2f-040224009c02}。
activexcontrolquery
語法:activexcontrolquery("classid")
說明:檢查特定的activex是否已經注冊,是則該函數返回–1,否則返回0。classid是32位16進制數字標識,用于惟一地表示每一個activex控件。例如,日歷控件的classid為:{8e27c92b-1264-101c-8a2f-040224009c02}。
activexcontrolregister
語法:activexcontrolregister("filename")
說明: 安裝一個自注冊的activex控件,安裝成功則函數返回–1,否則返回0。參數filename為控件文件名。
activexcontrolunregister
語法:activexcontrolunregister("filename")
說明: 卸載一個自注冊的activex控件,卸載成功則函數返回–1,否則返回0。參數filename為控件文件名。
activexdownloadsetting
語法:activexdownloadsetting()
說明:檢查系統是否允許下載activex控件,是則返回"enabled",否則返回"disabled"。
activexinstalled
語法:activexinstalled()
說明:檢查系統是否提供對activex技術的支持,是則該函數返回–1,否則返回0。
activexsecuritydialog
語法:activexsecuritydialog ()
說明:顯示【activex安全屬性】對話框窗口,使用戶可以改變系統的安全屬性設置。
activexsecuritysetting
語法:activexsecuritysetting()
說明:檢查系統的安全屬性設置,返回當前的安全屬性值:“high”,“medium”或“none”。只有當安全屬性設置為“medium”或“none”時,系統才允許下載控件。
newobject
語法:newobject("activex")
說明:創建一個activex xtra對象。
新聞熱點
疑難解答