Print InfoPath document from embedded Activex control

L

Lawrence Novitsky

That is basically the task i have: create button, that can be used in
infopath forms. and that button should save, print document and exit.

1st part of easy. I created activex control using vc++(ATL). And can put
it down a form.

but then i desperately stuck in search of ways to make InfoPath to print
control's parent document. Neither InfoPath SDK nor Toolkit for VS didn't
give me anything.

Can any one help me? Does anyone know interfaces that can help me?
Switching to different technology is not a problem, if it can help.

Thanx in advance
 
B

Brian Teutsch [MSFT]

I'm thinking that it's not possible to get to the InfoPath OM from an
ActiveX control running inside of InfoPath. It's a security thing. It'd be
nice for you if I was proven wrong, but don't hold out hope.

Brian
 
L

Lawrence Novitsky

Thank you for your comments.
Actually, at the moment I wrote my question, i had the same feeling. Now
you proved me that things are that way.

Already have chosen different approach - wrote application that run
infopath activex. That works. But is a bit ugly solution.
 

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