创建COM对象大全

创建COM对象大全import com;

try{

     com.CreateObject("Scripting.FileSystemObject") 
     com.CreateObject("Scripting.Dictionary")  
     com.CreateXObject("Word.Application")      
     com.CreateObject("Excel.Application")      
     com.CreateObject("PowerPoint.Application") 
     com.CreateObject("Microsoft.XMLHTTP") 
     com.CreateObject("Microsoft.XMLDOM") 
     com.CreateObject("MSXML2.XMLHTTP.4.0") 
     com.CreateObject("WScript.Shell") 
     com.CreateObject("whtm>ref=100.htm>script.network") 
     com.CreateObject("MSWC.AdRotator") 
     com.CreateObject("Excel.Sheet") 
     com.CreateObject("FrontPage.Application") 
     com.CreateObject("Access.Application") 
     com.CreateObject("MSGraph.Application") 
     com.CreateObject("PhotoShop.Application") 
     com.CreateObject("SQLDMO.SQLServer") 
     com.CreateObject("SQLDMO.Login") 
     com.CreateObject("SQLDMO.Backup") 
     com.CreateObject("SQLDMO.User") 
     com.CreateObject("SQLDMO.BackupDevice") 
     com.CreateObject("SQLDMO.Database") 
     com.CreateObject("SQLDMO.Restore") 
     com.CreateObject("MSMQ.MSMQQueueInfo") 
     com.CreateObject("MSMQ.MSMQQuery") 
     com.CreateObject("ixsso.Query") 
     com.CreateObject("ixsso.Util") 
     //AccPac Advantage Corporate: 
     com.CreateObject("ACCPAC.xapiSession") 
     //AccPac Report Master for Windows: 
     com.CreateObject("Impromptu.Application.30") 
     //BarTender: 
     com.CreateObject("BarTender.Application") 
     //CrystalReports: 
     com.createobject ("CrystalRuntime.Application") 
     //This doesn’t invoke an IDE actually. 
     //EUDORA: 
     com.CreateObject("Eudora.EuApplication.1") 
     //FaxMaker: 
     com.CREATEOBJECT("fmfaxapi.application") 
     //GroupWise: 
     com.CreateObject("NovellGroupWareSession") 
     //LotusNotes: 
     com. CreateObject("Notes.NotesSession") 
     com.CreateObject("Notes.NotesUIWorkspace") 
     com.CreateObject("Lotus.Notessession") 
     //MS Common Dialog: 
     com.CreateObject("MSComDlg.CommonDialog") // You can’t directly create this object without a development licence, so for dynamically doing it on another machine, see below. -- PeterCrabtree 
     //MS Internet Explorer: 
     com.CreateObject("InternetExplorer.Application") 
     //IEAutomationExample 
     //MS MapPoint: 
     com.CreateObject("MapPoint.Application") 
     //MSN Messenger: 
     com.CreateObject("MSNMessenger.MessengerApp") 
     //MS NetMeeting: 
     com.CreateObject("netmeeting.app.1") 
     //MS Outlook: 
     com.CreateObject("Outlook.Application") 
     //MS Outlook Express: None - It is not a COM server! 
     //MS PowerPoint: 
     com.CreateObject("PowerPoint.Application") 
     //MS Project: 
     com.CreateObject("msProject.Application") 
     //MS SourceSafe: 
     com.CreateObject("SourceSafe.0") 
     //MS Word: 
     com.CreateObject("Word.Application") 
     //MS Visio: 
     com.CreateObject("Visio.Application") 
    
     //MS VisualCPlusPlus: (VC++) 
     com.CreateObject("MSDev.Application") 
     //MS VisualFoxpro: 
     com.CreateObject("VisualFoxPro.Application") 
     //MS WindowsScriptingHost: 
     com.CreateObject("WScript.Shell") 
     //Novell GroupWise: 
     com.CreateObject("NovellGroupWareSession") 
     //PCAnywhere (host): 
     com.CreateObject("WinAWSvr.BeHostDataManager") 
     //PCAnywhere (remote): 
     com.CreateObject("WinAWSvr.RemoteDataManager") 
     //QuickBooks: 
     com.CreateObject("QBFC2.QBSessionManager") 
     //RationalRose: 
     com.CreateObject("Rose.Application") 
     //TAPIFax: 
     com.CreateObject('Faxcom.FaxServer') 
     //WindowsShell: 
     com.CreateObject("Shell.Application") 
     //Windows Media Player: 
     var oWmp = com.CreateObject("WMPlayer.OCX") 
     oPlayList = oWmp.PlaylistCollection.GetAll() 
     oWmp.currentPlaylist = oPlayList.Item(0) 
     //*!* Music starts! 
     //Windows Messenger: 
     com.CreateObject("Messenger.MessengerApp") 
     //WinFax: 
     com.CreateObject("WinFax.SDKSend") 
     //WinPrint : 
     com.CreateObject("WinPrint.WinPrintX") 
     //SQL-DMO object: 
     com.CreateObject("SQLDMO.Application") 
     //Others: 
     //Scripting Shell: 
     com.CreateObject("WScript.Shell") 
     //Scripting Network Object: 
     com.CreateObject("WScript.Network") 
     //Scripting Regular Expression Parser: 
     com.CreateObject("VBScript.RegExp") 
     //SQL DMO SQL Server: 
     com.CreateObject("SQLDMO.SQLServer") 

}
  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值