06-17-2008 01:00 PM
06-18-2008 07:40 PM
Hello mtd32610,
Thanks for posting on the NI discussion forums. When I create a Windows Application in VS.NET 2003 with Measurement Studio 8.1.2 controls on the Form, I do not experience any visible lag when closing the form. Perhaps the Measurement Studio controls are being wiped before the Form disappears, but it is fast enough on my machine that it appears to be instantaneous to the human eye.
What version of Measurement Studio do you have installed? Do you have a lot of applications installed on your machine? If so, do any of those applications appear to be running slow as well? Do you still have VS 6.0 installed on your machine? If so, does it still close Forms quickly that have Measurement Studio controls? Also, are you running any other processor-intensive applications in the background while closing your WinForms application?
06-19-2008 07:22 AM
06-19-2008 07:22 AM
06-19-2008 07:22 AM
06-19-2008 07:22 AM
06-19-2008 07:22 AM
06-19-2008 07:42 AM
Chris_G,
Please ignore any repetative posts.
It seems like the contrlols are getting destroyed as the form closes, it is just not something that is usually viewable by the naked eye. I believe my pc is up to date enough not to be experiencing this problem. I am currently using Measurement Studio 8.1.11.377. I am not running to many apps on my machine. I have VS 6.0 but forms don't exist in that version, they only are created within a .NET version. The only thing I know that stand out is the control I am using are not part of the components toolbox when I open VS .ET2003. They are in the own tab and so I believe are wrapped versions of the controls. I believe this article explains how I am using the controls http://zone.ni.com/devzone/cda/tut/p/id/4587. I wonder if this can be an issue.
06-19-2008 05:55 PM
Hello mtd32610,
The Measurement Studio controls do not appear in the toolbox when Visual Studio was installed after Measurement Studio. First, I would rerun the installer for Measurement Studio, and make sure to install support for Visual Studio 2003 (it may be on a separate disc) when you do this. I am not sure if this will lead to the solution, but it should place the Measurement Studio components in your toolbox at the very least.
When you say that the controls get “destroyed as the form closes”, but that it is not “usually viewable by the naked eye”, then how are you sure that the controls are being wiped off of the Form before it closes? I guess I am having difficulties fully understanding the issue you are experiencing. I originally thought that the application Form was taking a long time to close, and that you suspected the Measurement Studio controls to be the culprit because you could see them disappear before the Form closed. Is that accurate?
Also, if you create an application without Measurement Studio controls, but with windows control components, do you see the same behavior?
Please try the re-install of Measurement Studio and let me know if that solves the issue.
06-19-2008 06:32 PM
Chris_G
Sorry for any confusion. When the Form closes there is lag because the Measurement Studio controls on the form disappear and then the Form itself closes. Now the form has other normal WinForm controls that do not act like this.