Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2005

Tip: Looking for answers? Try searching our database.

Opening Infopath Form from VB application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James Dooley - 22 Mar 2005 12:51 GMT
I need following functionality:
1) Load all the cached Infopath Template in a list
2) On clicking on a form it should open in Infopath

How can I do this?

Thanks
Brian Teutsch [MSFT] - 23 Mar 2005 00:48 GMT
InfoPath doesn't expose the list of forms a user has previously opened. You
would have to create a list of forms that may be useful to your user
manually.

You can always use NewFromSolution(url) to open an existing form, even if it
hasn't been previously opened.

Brian

>I need following functionality:
> 1) Load all the cached Infopath Template in a list
[quoted text clipped - 3 lines]
>
> Thanks
James Dooley - 23 Mar 2005 15:59 GMT
Thanks Brian.

> InfoPath doesn't expose the list of forms a user has previously opened. You
> would have to create a list of forms that may be useful to your user
[quoted text clipped - 12 lines]
> >
> > Thanks
rivsys - 29 Mar 2005 06:01 GMT
You could also record the forms as they are opened by the user to a key in
the registry (I suggest HKEY_CURRENT_USER) during Infopath's _Startup event.
Then read the desired data from VB when needed.

> InfoPath doesn't expose the list of forms a user has previously opened. You
> would have to create a list of forms that may be useful to your user
[quoted text clipped - 12 lines]
> >
> > Thanks
James Dooley - 21 Apr 2005 11:46 GMT
Hi,

I am able to open the form using method  NewFromSolution(formName). Here
formName is the share point form library template URL.
When I open the form in local system disconnected from Share Point Library,
It popup a message “Could not open http://......./template.xsn” and on
clicking OK form opens.
Cannot I avoid this message?

Thanks

> You could also record the forms as they are opened by the user to a key in
> the registry (I suggest HKEY_CURRENT_USER) during Infopath's _Startup event.
[quoted text clipped - 16 lines]
> > >
> > > Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.