Sharepoint / Infopath checkin



Hi,

I have a Sharepoint site containing Infopath forms. In my Infopath
forms I have a button that saves the form and closes the active window.
I would like for this button to Check In the form as well in my
Sharepoint Library. Is this possible??

I'm using the infopath toolkit for visual studio 2005. Writing in VB.

thisXDocument.Save()
thisApplication.ActiveWindow.Close(True)

Thanks for the help!!

.