new infopath DOM - InfoPath Dev
in

InfoPath Dev

new infopath DOM

Last post 03-26-2007 10:31 AM by mshukla. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-25-2007 10:51 PM

    new infopath DOM

    Hi all, i have used Infopath 2003 with Visual Studio 2005 using C# before and I am trying to convert my forms to Infopath 2007 and browser compatability. Couple questions:
    1) What is the new object yto be used instead of thisXDocument? I see mention of _thisXDocument3 but using either one produces compiler errors. This may be related to my second question

    2) I see that i need to include the Microsoft.Office.Interop.InfoPath assembly and use it but I cannot find the Microsoft.Office.Interop.InfoPath.dll that is supposed to be in the office folders. I can find the Microsoft.Office.Interop.InfoPath.Semitrust.dll and Microsoft.Office.Interop.InfoPath.XML.dll but not the first one. I downloaded everything including the 2007 primary interop assemblies on top of office 2007, VS 2005, VSTA, VSTO ,.NET 3.0 etc.

    Any ideas? thanks
  • 03-26-2007 05:05 AM In reply to

    Hi mshukla,

    1) thisXDocument, thisApplication is the default objects that .NET will create while opening the project of Visual Studio with InfoPath, and you can see that in the class by opening a new project. Developer can create their own object their.

    2) Microsoft.Office.Interop.InfoPath is a Global Assemble Cache(GAC) you can see it in Windows\Assembly in OS installed folder.

    For further information you can see this link.

    http://msdn2.microsoft.com/en-us/library/aa943009(VS.80).aspx

    I hope this will help you better.
    B.Shiva Prasad
    InfoPath Dev,
    http://www.ggktech.com
    India
  • 03-26-2007 06:51 AM In reply to

    I think the counterpart for thisXDocument in 2007 is xPathNavigator.
    Listen to Motörhead cos they play Rock'n Roll :)
  • 03-26-2007 10:31 AM In reply to

    thanks Nukkumatti, xPathNavigator seems to have the required functionality.
    I am still not sure why I dont see the Microsoft.Office.Interop.InfoPath.dll when all MS documentation says it should be there but, I dont think i need it anymore.
    thanks
    manu
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.