Application was built using MS interop, to export .xls to infoPath and vice versa. It was developed in VS 2010, but now transferred to VS 2008. Project fails to build, as the marvellous interop lib, requires a bunch of crappy parameters to be set (although they are marked as optional in msdn). If putting "null" values, app crashes. There are no code samples on msdn, resolving this issue. So what do I put there?
Pass Type.Missing
.
If it's a ref
parameter, you'll need to declare a variable to pass by reference.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.