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 / February 2007

Tip: Looking for answers? Try searching our database.

Opening a popup window from an infopath form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dsen.25@gmail.com - 31 Jan 2007 07:00 GMT
Hi,

How can can i open a popup window when I click
a button from infopath form and also i have to pass a parameter to
that popup window.

I tried in follwoing way.but i dont know how to pass parameter.

MyForm form;

try {
   form = new MyForm();
   form.Show();

}

finally {
   form.Hide();

}

Can any body help me.
Thanks.
wandasoozq - 31 Jan 2007 16:55 GMT
I have the same problem!  I need to open a new form, passing a parameter
value to it.  All of the documentation is unclear about how best to do this.  
It seems like such a common thing, you would think it would be crystal-clear.

Thanks for asking this question!

wandasoozq

> Hi,
>
[quoted text clipped - 19 lines]
> Can any body help me.
> Thanks.
S.Y.M. Wong-A-Ton - 01 Feb 2007 08:54 GMT
If you created your own Form class, you can add a get/set property to it so
that you can set this property before opening the form, like in

form = new MyForm();
form.myProperty = Value;
form.Show();

If you want to do it quick and dirty, you can also use a public member
variable within your Form class.
---
S.Y.M. Wong-A-Ton

> Hi,
>
[quoted text clipped - 19 lines]
> Can any body help me.
> 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.