-
Is it VSTO SE that you have installed or the older VSTO? That will make a difference.
You should also verify that you have all options of InfoPath installed. There's a needed component for doing VSTO that is not installed by default, you have to do a custom installed and check the box for that missing component.
Other than that, I'm at a ...
-
Another question is whether you are starting VS in admin mode (if using Windows Vista).
-
A slightly different alternative to what you are doing:
1. Submit your form to SharePoint.
2. Query SP for your form and get it's unique ID.
3. Store that unique ID into your form.
4. Resubmit your form over the original submit.
-
I don't know if this would make a difference, but are you an admin on your machine?
-
You cannot do what you are trying to do. You will need to update your XML to something like the following:
<my:Choices>
<my:Choice name="Fruits">
<my:Name>Apple</my:Name>
...
-
Happy to be able to offer the suggestions. I hope you are enjoying the learning process despite the deadlines.
-
Sounds like you are using the InfoPath 2007 programming OM instead of the 2003 OM.
IP07 OM uses Microsoft.Office.InfoPath
IP03 OM uses Microsoft.Office.Interop.InfoPath.SemiTrust
Check in your Tools | Form Options | Programming to see if you have "C# (InfoPath 2003 Compatible)" selected.
-
If you are still getting the security message in those situations, then you are likely stuck making a full-trust form. Otherwise there's something wrong about how you are doig user roles or how your SharePoint site or Exchange server is set up. Unfortunately, I don't have the background to be able to help you here, but hopefully this at ...
-
Great! I'm happy to hear you got it working!
-
Thanks for your further input!