Is it Infopath 2003?
AFAIU, VBScript is not used in 2007 and 2010?
The.xsn file is archive of (I believe XML) files, it is for XML files describing Infopath form template
Then, I do not grasp - are you trying to open XSN template from itself? or from where? in which context?