Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / August 2004

Tip: Looking for answers? Try searching our database.

Grant ActiveX Permission

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mishma - 18 Aug 2004 14:07 GMT
Hi there,

I'm using XmlHTTP (ActiveX) object to post a document but it doen't work.

Someone told me that by default we don’t grant ComInterop permission to the
business logic code and If I want to use XmlHTTP I need to make the solution
fully trusted or grant COMInterop permission by using InfoPath Form Templates
code group.

How can I do that things ?

Thank u
Matthew Blain \(Serriform\) - 18 Aug 2004 19:23 GMT
Why are you using XmlHttp with the .NET framework? Either use the InfoPath
DAVAdapter (in the UI, set a data connection to submit to a SharePoint form
library, in the object model see the developer documentation/sdk).
Or use the .NET classes, System.Net.HttpWebRequest  and
System.Net.WebClient. These don't have the same interface as XMLHTTP, but do
have the same functionality. (WebClient is a wrapper on WebRequest, it is
simpler but can't do everything WebRequest can.)

(Both of these will be covered in _Developing Solutions with Microsoft
InfoPath_)

--Matthew Blain
http://tips.serriform.com/

> Hi there,
>
> I'm using XmlHTTP (ActiveX) object to post a document but it doen't work.
>
> Someone told me that by default we don't grant ComInterop permission to
the
> business logic code and If I want to use XmlHTTP I need to make the solution
> fully trusted or grant COMInterop permission by using InfoPath Form Templates
[quoted text clipped - 3 lines]
>
> Thank u
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.