Let me give you the background:
I am a computer systems engineer by day and audio engineer by night. I am responsible for the sound, lighting and projection systems at our Church. I have recently designed and installed a system for the sound based on a new Yamaha Digital mixing console. The idea is that the console connects via MIDI to a Windows XP Pro PC running 3 main apps:
1) Steinberg Cubase VST (to allow MIDI control of the mixer)
2) PAS Spectrum Analyzer Professional (to provide spectrum analysis on the input of one of two installed soundcards
3) Steinberg Wavelab (to record the input of the second sound card)
All 3 programs are configured to automatically load at startup for the minimum possible user interaction with the PC.
The PC is connected to two LCD screens. The primary screen is intended to display the Cubase software and the secondary screen will be split horizontally to display spectrum analysis on the top half and the recording on the lower half.
The PC is also fitted with a PCI WLAN card and we have an ASUS MyPAL A620BT Pocket PC with a WLAN Compact Flash adaptor to communicate with the PC. I have a program called PTvncGPRS installed on the PPC which acts as a VNC client providing a full screen display of the host PC.
You can probably see by now that the intention is to be able to wirelessly remote control the audio mixer from a PPC anywhere in (or even out) of the Church auditorium.
My problem is this:
The VNC client on the PPC only displays the host PC's primary display. Since Cubase will run fine on the primary display, this does not present a problem EXCEPT that the PAS Spectrum Analysis software will NOT remember it's screen location. Every time it loads, it starts maximized on the primary display regardless of where I moved it to during the previous session.
I seem to recall that in Win9x there were lines in the WIN.INI or the SYSTEM.INI file that specified the location and size of various programs' windows. I can find no such references in these files on the Windows XP system. Even if I load the program with the "start minimized" switch in the shortcut it starts maximized so I don't think it's programmed to be too "Windows-friendly". There is nothing in the program documentation about this and PAS technical support have been far less than helpful.
Having had some very limited experience with Visual Basic environments, what I would like to do is write a VB script that will take the PAS Spectrum Analyzer app window AFTER it has loaded into it's default position maximized on the primary display, and MOVE it to the secondary display. I don't mind if it is still maximized on the secondary display as Wavelab will happily load over the top of the lower half of Spectrum Analyzer's window.
Can anyone shed some light??