DLL ? - InfoPath Dev
in

InfoPath Dev

DLL ?

Last post 11-02-2005 05:12 AM by AndersR. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 11-01-2005 08:16 AM

    DLL ?

    I have a .NET dll I#%92ve written in C#. How do I reference that dll in the InfoPath Scripting language and pass in the underlying InfoPath XML into the dll constructor similar to:

    Dim myDLL as new CustomObject(XML)

    Does this make since?
  • 11-01-2005 08:43 AM In reply to

    Hi,

    Why don't you use Managed Code behind your InfoPath form?

    Regards,

    Franck Dauché
  • 11-01-2005 11:16 AM In reply to

    Yea, I just starting doing that. I downloaded the SDK and everything - that all intigrated great. The prblem I have now is I get a security error when I call this code behind a button:

    'That assembly does not allow patially trusted callers.'

    the following is the code:


    Dim ss As New SpecSummary.SpecSummary
    ss.GenerateSummary("C:\My Stuff\TEST.xml")

  • 11-01-2005 02:55 PM In reply to

    Your form may need to be fully trusted:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkUnderstandingFullyTrustedForms_HV01073332.asp



    Regards,

    Franck Dauché
  • 11-02-2005 05:12 AM In reply to

    Run the VS.NET macro "InfoPathSDK.vsmacros" located in your SDK macros dir

    hth
    //AndersR


Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.