Extracting .xsn file

R

Rick

Can anyone tell me how to programatically unpack the infopath .xsn file? I
tried using the windows expand.exe and wextract.exe. Neither one seem to be
able to handle the .xsn file.

Thanks in advance,
Rick
 
R

Rick

This was the link I was working from to begin with, I am working on an XP
box and extract.exe was not available(I'm not sure if that is by design or
it was just my machine that is missing it), I did figure out how to use the
..Net Shell command calling expand.exe to unpack the .xsn file.

Thanks.
 
W

willib

u can
In OS rename the File ( .cab) open it with winzip
best Solution is
In Infopath, in the File Menu ist a Button : Extract Form Files
 
W

willib

in XP u can use the wscript shell to extract:

Set oApp = CreateObject("Shell.Application")
'Copy the files to the compressed folder
Set oFolder = oApp.NameSpace(MySourceFolder)
If Not oFolder Is Nothing Then
oTargetZip.CopyHere oFolder.Items
End If

hth
willib
 

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