vs2005 infopath class library call HELP!

J

JoeAtPMHCC

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
 
B

Ben Walters

Hey Joe
this could be a dumb question but have you referenced the class your using
in your VS2005 Project?
 
J

JoeAtPMHCC

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top