私は見通しを開くためにasp.netから他の人のOutlookを開くにはどうしたらいいですか?
Dim Outl As Object
Outl = CreateObject("Outlook.Application", "localhost")
If Outl IsNot Nothing Then
Dim omsg As Object
omsg = Outl.CreateItem(0) '=Outlook.OlItemType.olMailItem'
'set message properties here...'
omsg.Display(True) 'will display message to user
End If
を使用していますが、私はエラーましIISでアプリケーションをホストする場合、「ActiveXコンポーネントを作成できません。」 私はすべての提案を歓迎します..
どこにウェブアプリケーションがありますか?サーバーまたは通常のマシンでussualyサーバーにOutlookがインストールされていない – mslliviu
IISで実行されているコード経由でクライアント上でOutlookを開こうとしていますか? – Gabe
はいiis –