Automatically closing InfoPath on Submit

J

JoshMeyer

I am trying to close InfoPath as well as the form when it is submitted to a
WSS site. I am calling thisapplication.Quit(false) from the onSubmitRequest
event handler, but getting a security error. Any ideas?
 
A

Andrew Watt [MVP - InfoPath]

I am trying to close InfoPath as well as the form when it is submitted to a
WSS site. I am calling thisapplication.Quit(false) from the onSubmitRequest
event handler, but getting a security error. Any ideas?

Application.Quit() is security level 3.

Is your form a fully trusted form?

Andrew Watt
MVP - InfoPath
 

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