-
I've got the following code:
Dim current_view As String = e.XDocument.View.Name
' Switch to the accounts version of the print view & print it
e.XDocument.View.SwitchView(''PrintAccountsVersion'')
e.XDocument.PrintOut()
' Switch to the originators version of the print view & print ...
-
Hello,
I would like to make a function ''sleep'' to let an other process doing its job. WScript.Sleep looks nice, but it is not possible to use within Infopath.
Is there an other solution ?
Regards,
-
Hello,
I'm using PDFCreator to create PDF file from my forms. It works quite well. I use its COM interface to setup output filename and starts outlook to send it attached to an email.
I just have a small problem, I can't find a way to retrieve my COM events. I saw a couple of example using WScript object, but this object seems to not be ...
-
Hello Agni,
the button is outside the section. One idea is maybe to set the data to a weird value and add a rule for this data if it match the weird value to recompute it...
-
Hi ncjks and welcome to the forum!
Please see this thread:http://infopathdev.com/forums/topic.asp?TOPIC_ID=1757
Some other people where getting this same error, and I think the problem was fixed by correcting the column GUIDs in addition to the list name GUIDs.
-
It's Work!!!!
So i dont need to set my form Full Trust security level (and than sign it with certificate!).
I thought that I will need do this because I'm using web reference to a web service. But after I did what you told me I see that it's work as it is
-
Hi Lisa,
This is happening because the XSF failed to upload properly to SharePoint. To fix this problem, you should just go the the SharePoint form library. Click modify settings and columns. Click on Edit Template to open the form in the InfoPath Designer. No, add a space somewhere in the view and delete it - to make save update. Type ctrl-S to ...
-
Hi again Liorlankri!
Do you have that site in your ''Trusted Sites'' (IE-Tools-Settings-Security...). If so, remove it and add it to Local Intranet. If not, what does the .NET code do?
-
Hi Will,
Usually, people want to go the other way around. We have developed tools to ''pre-populate'' InfoPath forms based on Excel spreadsheets, but the process highly dependent on the type of data-source (schema) you have for the InfoPath form. Do you already have an InfoPath form that you want to input them into or would you be creating this ...
-
Hi Patrick (and others),
I got it to work -- finally. It turns out that the managed code segment DOES run correctly when I publish as a fully-trusted form that's installed via an MSI. I guess it just wasn't allowed to run when VisualStudio 2005 was debugging or previewing the form's code, even when I had the form set to ''Full trust.''
In any ...