-
Form templates are .xsn files, filled-out forms are .xml. I'm pretty sure you will want to pass that filepath to
thisApplication.XDocuments.Open( ''C:\TestForm1.xml'' );
I hope this works!
---------------
Matt Faus
InfoPath Dev Texas
-
I am trying to open a completed form using the following code:
thisApplication.XDocuments.NewFromSolution(@''C:\TestForm1.xml'');
Both the calling form and the form being called are fully trusted and digitally signed. I am not in preview mode and I have verified that my path is correct but I keep getting the following error:
InfoPath cannot ...
-
Hi Agni
Sorted it through a suggestion from Ms SYM Wong-A-Ton
Use my query to assign a record in one date range to have an identifyer 1, second date range 2, 3rd date range 4 and so on.
Then use DDList box to select the date range from text descriptions that links to either 1 2 3 or 4 Job done.
I'm from WALES
adam.harding@ltsbasset.co.uk
-
How can I add a custom (user) command to InfoPath (or more generallt to all Office applications), e.g. to a menu and toolbar? The command can point to an EXE or HTML file (with scripting) for example. I also wonder how this can be done programatically so I can distribute this extension to other computers.
Specifically I want the command to ...
-
Hello,
I'm trying to write a javascript for the on_load event of my infopath form.
The main body of my form is contained within a repeating section. Every time the user opens the infopath form I want the top node in the repeating section to be cloned and placed at the top as a kind of version control mechanism.
I have tried the following ...
-
never mind, trusty object browser came to my rescue :)
-
Hello,
I've started developing javascripts against infopath forms.
I need to know how to script a message box to appear when the form loads.
I tried simply writing
alert(''my message'');
but that doesn't work as i get an object required error.
Can anyone help me?
-
I made a data connection with a custom query, that looks like this:
SELECT DISTINCT
CASE isActive
when 1 then 'yes'
when 0 then 'no'
else 'unknown'
end AS isActive
FROM [dbo].[Members]
I bound this data connection to a list box and it works fine.
I call this data connection from manage code:
thisXDocument.DataObjects[secondary].Query();
and ...
-
Hi Abhishek
Check out Brandons blog: http://geekswithblogs.net/bpaddock/archive/2004/05/14/4907.aspx
Heres another examplehttp://groups.google.dk/group/microsoft.public.infopath/browse_thread/thread/4d1d7084735f20ac/91dd8de12c15c968
hth
//AndersR
-
hi,
im not too familiar with the IP interface, since i prefer the customization powers of managed code, but i think that Faust just made an excellent How To on the subject:http://www.infopathdev.com/howto/tutorials/default.aspx?i=7bc880f391b84ea9b3b45c6fbecc07c6
also fetching a filtered list using sharepoint lists.asmx web services in managed ...