-
Do you have the ability to deploy your form and OCX with an install program such as Wise? You won't have any issue if you can go that way.
Franck
-
Hi,
There is no On_Form_close event in InfoPath. Therefore, you can force your user to use a close button on your form. In there, you can check the thisApplication.ActiveWindow.XDocument.IsDirty flag to see if anything needs to be saved. Next, you can use System.Windows.Forms.DialogResult to display a customized message box. Based on the ...
-
You are welcome.
Good luck with your developments.
Regards,
Franck Dauché
-
This goes in the OnAfterChange event of your checkbox on View A. This is of course for the case when e.NewValue = ''true'' (checkbox was checked).
Regards,
Franck Dauché
-
Hi,
You don't need to switch View. As Greg explained, you are going to manipulate the main DOM by code. If you append a child in a repeating section, it is View independent. It will be reflected when you go to the View where a control is bound to that repeating section.
Now, to manipulate your DOM, start there:
IXMLDOMDocument2 templateDom = ...
-
Hi,
To uninstall, you can delete your xsn file and do the cleanup in the registry manually by removing the form urn from:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\InfoPath\SolutionsCatalog
Bonne chance.
Regards,
Franck Dauché
-
Hi,
You may have to add your URL in the list of Trusted sites in IE.
Regards,
Franck Dauché
-
Have you tried it from a new blank form? Just drop one button and copy that code in the script editor. Should work fine...
Regards,
Franck Dauché
-
Hi,
If you need to use scripting, I would stick to JScript as you will find more snippets and it will be easier to get help from Newsgroups and Forums.
Look here for books:http://www.infopathdev.com/resources/books/default.aspx
Professional InfoPath 2003 is good for what you need. In fact, any book for IP prior to SP1 will focus on scripting as ...
-
Hi Lee,
An alternative is to catch a OnBeforeChange event at the form level and to cancel the event. This way, you don't have to physically modify each individual controls.
Regards,
Franck Dauché