-
Try,
thisApplication.ActiveWindow.Close(true);
-Attari-
-
Hi again,
Why do you need full trust? Why not use the regform tool (with /T) to install it full trust on your clients via the MSI? We've deployed several Full Trust solutions, but it's a lot of work and the user has to end up installing your certificate anyway. The digicert Full Trust option is really only required for Full Trust forms running on ...
-
Hi Amish,
Microsoft has a hotfix for this bug, but you'll have to contact them directly. My guess is that the hotfix will be relesaed to the public in a month or so. Here's more information:http://support.microsoft.com/default.aspx?scid=kb;en-us;893371
Good luck!
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Thanks Agni, I'll try that code today and let you know how it turned out.
-
It would be hard for us to answer without knowing actual scenario, If you can send us your custom control we can try it out and let you know why it is breaking.
Agni
InfoPath Dev India
-
Hi Matrix,
This might work for you to close the current window
XDocument.View.Window.Close(true);
Agni
InfoPath Dev India
-
ok, i found that this might work:
Application.XDocuments.Close(0)
but if i hard code that into the form code...maybe it will close the first form, but what happens when it tries to close the second form after you press submit? then wouldnt it have to be (1) ?
-
Hi,
I'm developing a code in Infopath which it should retrieve the email addresses from MS-Outlook Address Book.
Could you please tell me how to retrieve the email addresses from the outlook address book in a Drop Down box of Infopath form?
Thanks,
Partha
-
thanks for the quick reply.
I searched the forums while i was waiting for a response and saw how to get the current windows name of the user so I should be able to use that.
-
Hi, I dont think you can actually get the network user(The user name that you have entered in the Sharepoint authentication dialog), its a dialog out of InfoPath, called by sharepoint to authenticate you. This dialog boxis called even before your form is loaded, so its not possible for InfoPath/custom code in InfoPath to get the network ...