I need a jumstart. Im using the following code in my vb.net application to create a form from a template
Dim objXApp As New Microsoft.Office.Interop.InfoPath.Application
objXApp.XDocuments.NewFromSolution(Application.StartupPath & "\templates\" & filename)
and then i do the following command to save the new form to its proper location in my application
objXApp.ActiveWindow.XDocument.SaveAs(Application.StartupPath & "\" & pform & "\" & caseid & "\" & caseid & "-" & abbr & "-" & repid & ".xml")
How can i from my vb.net app, populate fields in my newly created form?
or
How can I (from managed code) get the file name of the form itself during onLoad.
Either one of these will allow me to populate further info on the form from my access db based on the form knowing what its caseid is.
Thanks for the Help