petehilljnr
Registered User.
- Local time
- Today, 08:04
- Joined
- Feb 13, 2007
- Messages
- 192
Ok - slightly different post here but I'll chuck it out there like a fishing line and see if anyone has an opinion or idea. Moderators feel free to move this if required.
I work with road condition data. We have a lot of information with regards to the attributes at given intervals down a road e.g. how rutted is it, how rough is the road etc etc. I have the information I require in tables in Access (2003).
Through a third party, we also have videos of the roads and a Java application that plays the video for us and shows us how far down the road the video is.
What I was hoping to do (as a test) was read the displacement (how far down the road) from the control in the Java app and display the appropriate information in a form in Access (for the time being).
So - the first thing I want to do is to make sure I can do that step; reading from another application.
I thought a starting point would be to use APIs in VBA to query the other app.
I started by downloading an app called WinID to query the Hwnd's of the windows and controls on the screen (quite handy!) but I ran into my first problem: Within the Java app, it seems to treat it as one entire control and I can't get the Hwnd of the control showing the displacement, only the Java window "SunAWTFrame"
With other windows (not Java) it seems to be ok - as in if I clicked into a normal windows app, I can get the Hwnd.
If anyone has any ideas, suggestions, or even possible solutions(!) they would be greatly appreciated. It is just an idea at the moment. Solving (or not solving) this problem would decide whether it's a goer or not.
I do have the option of controlling the video by creating my own video player which I have done before, but solving this problem would be better.
Regards,
Pete
I work with road condition data. We have a lot of information with regards to the attributes at given intervals down a road e.g. how rutted is it, how rough is the road etc etc. I have the information I require in tables in Access (2003).
Through a third party, we also have videos of the roads and a Java application that plays the video for us and shows us how far down the road the video is.
What I was hoping to do (as a test) was read the displacement (how far down the road) from the control in the Java app and display the appropriate information in a form in Access (for the time being).
So - the first thing I want to do is to make sure I can do that step; reading from another application.
I thought a starting point would be to use APIs in VBA to query the other app.
I started by downloading an app called WinID to query the Hwnd's of the windows and controls on the screen (quite handy!) but I ran into my first problem: Within the Java app, it seems to treat it as one entire control and I can't get the Hwnd of the control showing the displacement, only the Java window "SunAWTFrame"
With other windows (not Java) it seems to be ok - as in if I clicked into a normal windows app, I can get the Hwnd.
If anyone has any ideas, suggestions, or even possible solutions(!) they would be greatly appreciated. It is just an idea at the moment. Solving (or not solving) this problem would decide whether it's a goer or not.
I do have the option of controlling the video by creating my own video player which I have done before, but solving this problem would be better.
Regards,
Pete