-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Mrinal
Message 2 in Discussion

Hi ,   Your problem is simple , solution depends upon :   1. Whether u are 
opening child form from parent form in Modal Dialog mode , if that's the case 
the simply right your select and refresh code after the line , where u call    
( ChildFormInstance).ShowDialog() , as it always get executed after child form 
executes . This is quite common scenario and i hope it will resolve your 
problem .   2. Some other scenarios are : You open up the child form in non 
Modal dialog mode , so you do :    ( ChildFormInstance).Show() ,   I this case 
above thing will not work as it will not block main form thread execution and 
will execute the code after that as it will spawn the child form on a separate 
thread , so in that case what you need to do is :   a. Implement a Async Call 
back delegate . b.or Make ur own thread to sowan child form and make sure that 
you block main thread execution , till the point spawned thread returns back .  
 hope it helps ,   Mrinal

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to