I agree with garak on this one...the only way I could see to be able to do something like this in the past is through Win32 API calls (which is better left to C++, C# or VB.Net).
In the past I've developed a small little COM control that used the Win32API to loop through all of the window handles available and find one that matches. The problem with this method is that you cannot 100% guarantee that you're getting the right window handle. What if there are multiple navision clients open on the same machine? You will have to know what window caption Navision is assigning to the form - and this can be tricky as fin.exe may build the caption for you.
Thats about as far as I got with it - because I couldn't find a method that guarantees I retrieve the right handle I stopped. (I haven't tried this again...it may be possible with Nav 5.0)
If you find something bullet proof please post it!!
Comments
In the past I've developed a small little COM control that used the Win32API to loop through all of the window handles available and find one that matches. The problem with this method is that you cannot 100% guarantee that you're getting the right window handle. What if there are multiple navision clients open on the same machine? You will have to know what window caption Navision is assigning to the form - and this can be tricky as fin.exe may build the caption for you.
Thats about as far as I got with it - because I couldn't find a method that guarantees I retrieve the right handle I stopped. (I haven't tried this again...it may be possible with Nav 5.0)
If you find something bullet proof please post it!!
Epimatic Corp.
http://www.epimatic.com