FactoryTalk View SE Opens Chrome Window Behind Interface

cdausti2

Member
Join Date
Mar 2024
Location
USA
Posts
1
I am attempting to generate a VBA script within FactoryTalk View SE to open a Google Chrome webpage (PI Vision) when an object is right-clicked. This is accomplished by using a shell command to run the chrome.exe application. This script works correctly and Google Chrome loads to the correct webpage, however it loads behind the FTV application and I'm not able to bring Chrome to the front since FTV is loaded in full screen. I'm only able to view the chrome window if I close the SE client.

Is there a way to bring the Chrome application to in front of FactoryTalk View in the same VBA script?
 
There is another Tech Note BFF15995 that references a utility called the W2KForegroundLockTimeout. This utility changes a registry setting. This setting determines how long that window will set in the background before it will be brought to the foreground. The default is 200 seconds. So after you trigger this screen to appear, take your hands off the mouse and keyboard and wait 200 seconds to see if that screen then comes to the fore.

The recommendation is to change this value to zero so it can immediately come to the foreground. I used this tool for years with RSView32 and later with earlier versions of FT View. Then I kind of forgot about it. I assumed FT View fixed this, or Windows fixed it. It never came up again. But in looking at my Windows 11 registry I can see it is still set for 200 seconds (actually it is set to 200,000 milliseconds).

So you can either use the utility I have attached from the RA Tech Note, or if you don't want to trust some stranger sending a file on the internet, search your registry for ForegroundLockTimeout and change it to zero.

The tool was created originally for Windows 98 and Windows 2000, but it still does the trick today.

OG
 

Attachments

  • W2KFgndLockTimeout.zip
    4.7 KB · Views: 0

Similar Topics

Title says it all. I've loaded up my program on the emulator, but when I open up FactoryTalk View ME Station, RsLogix goes offline with the...
Replies
1
Views
1,841
Good Evening , About 2 weeks ago I installed Studio 5000 version 32 on a Windows 7 laptop. Everything opened well after I installed it,but...
Replies
6
Views
4,605
Dear all, I have a button in global object, and that button that button use to open a pop-up window and transfer parameter tags to that pop-up...
Replies
5
Views
3,809
I have two identical machines running similar HMI projects, the only difference is one is done in FactoryTalk View Version 10 and the other is...
Replies
3
Views
114
Hello, I'm using FactoryTalk View ME V10. I created a valve as a global object with multiple parameters and when the object is being used at the...
Replies
2
Views
130
Back
Top Bottom