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 / February 2006

Tip: Looking for answers? Try searching our database.

vs2005 infopath class library call HELP!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JoeAtPMHCC - 27 Jan 2006 17:09 GMT
This small section of code executed at the finalize event of an infopath form
worked just fine in VS2003, but now it fails.
Protected Overrides Sub Finalize()
           MyBase.Finalize()
           If Len(strDocID) > 0 Then
               Dim cl As New CometClassLibrary.XMLDocLocks
               cl.UnlockDoc(strDocID)
           End If
       End Sub

CometClassLibrary above is our own class lib which executes some sql in the
background.  Can anyone help????
Joe
Ben Walters - 30 Jan 2006 22:14 GMT
Hey Joe
this could be a dumb question but have you referenced the class your using
in your VS2005 Project?

> This small section of code executed at the finalize event of an infopath form
> worked just fine in VS2003, but now it fails.
[quoted text clipped - 9 lines]
> background.  Can anyone help????
> Joe
JoeAtPMHCC - 02 Feb 2006 15:31 GMT
Yes it is included in both the infopath managed code and the core vb.net
application.  In fact there are some other sub within the lib that are called
in the ip form and work ok.

Thanks for your reply and any help you can offer,
Joe

> Hey Joe
> this could be a dumb question but have you referenced the class your using
[quoted text clipped - 13 lines]
> > background.  Can anyone help????
> > Joe
 
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.