Your code will likely be an issue when you go from 2007 to 2013, as the object model has some changes. Do you have access to the source code to update it? You should be able to open with InfoPath 2013 in design mode, then try to save as 2013, and deal with the errors that crop up at that time.
Hilary Stoupa
