NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Bring .net dialog to foreground

OK! I've come across some TestStand installations that behave differently. A .NET top level dialog cannot be covered up although; there are some TestStand installations that the sequence opens a top level dialog and it stays behind the TestStand user interface. Other cases I see a .net login dialog that opens from a TestStand frontend call back sequence and it is on top and active and I can type my user name in without using my mouse to activate the window. Other TestStand installations I have to click the window with the mouse to activate it. All .NET assemblies and sequences are the same it has to be something different in the installation or OS configuration.

 

Please help.....

0 Kudos
Message 1 of 6
(3,703 Views)

Hi Joe,

 

Can you share screenshots of the examples you stated, What version of teststand are you trying to install? What is the OS?

 

Luis G.

NI

0 Kudos
Message 2 of 6
(3,681 Views)

Windows 7 Pro Service Pack 1, TestStand 2013 5.1.0.226, Visual Studio 2012 Pro version 11.0.61219.00

 

 

0 Kudos
Message 3 of 6
(3,679 Views)

Hi Joe,

 

Thank you for the image, I have to say that this is the first time that I see that sort of login. Have you tried the following Knowledge Base article: http://digital.ni.com/public.nsf/allkb/4979F8FDB7ED698B8625712B000CFD14. I might help you.

 

Luis G

0 Kudos
Message 4 of 6
(3,658 Views)

No! This didn't help. The problem and artical are unrelated.

0 Kudos
Message 5 of 6
(3,600 Views)

I don't use .NET, but there is a known TestStand 2012/LabVIEW 2012 bug with Keyfocus (which is a property for bringing the cursor into a specific control for entering info for a dialog box).  I usually need to add a 50ms wait before trying to keyfocus on a specific control, but I have observed keyfocus working sometimes on some systems without a wait.

 

Are you also using the TestStand modal dialog?  That should also force your dialog box to be selected rather you needing to click on the window.

http://zone.ni.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/modal_db_net/

 

Pulido Technologies LLC 

0 Kudos
Message 6 of 6
(3,593 Views)