-
Hi, you can use this bit of code to send the form in the body of an email and not as an attachment. even user who havn't infopath installed can view it: var mail = Application.ActiveWindow.MailEnvelope; mail.Subject = "MY Subject Text"; mail.Visible = true;
-
Yes this is a known issue that you cannot have message boxes in browser enabled forms. Sorry did not see that you use browser enabled forms. Read this link to get an idea of the options you have to show messages in browser enabled form, however i doubt that you will be able to use the Data Validation functionality then. This will be tricky ...
-
Good work. Glad I could help. Cheers
-
IP 2007 object model is a bit different. instead of using thisXDocument have a look for XPathNavigator.
Hope this helps
-
Hi, set the default value of your dummy field to "disabled". Add conditional formatting to your button which says "If dummy is equal to disabled" then disable this control. now in your function ErrorChecking you say if(error == 0) XDocuemnt.DOM.selectSingleNode(my:myFields/my:dummy).text = enabled; this should work I guess. ...
-
Hi, my first guess would be that you don't have a key set in your database tables to identify the row(s) you want to update.
-
Oh man as you can the copy and paste messed up your code so that makes it already impossible to read it. Did you debug your code to actaully check where it fails. Set breakpoints into your code and then step through it with pressing F11 ind visual studio
-
My only idea is to open the manifest file with an editor and search for the xsf:fragmentToInsert statement of your section. If you delete them users won't be able to change your structure anymore. However I don't know if this will work with repeating choice groups and when your datasource is coming from an existing schema. As mentioned ...
-
Sorry but I think I am a bit confused now. In the code you posted (by the way you have the same problems than I do, everything is duplicated) I can't see any C# code.
You can write managed on the .net platform with eiterh VB.NET or C#.NET. Could you please clarify one more time what code exactly you need to convert.
-
Why do you need to convert everything in C# ? If you really need to then I guess you have to get through this by yourself. The best I can suggest is to use the msdn help and search a lot on google. If you have only small code snippets you have problems with I (others) can propably assist you but to translate your complete ...