Re: MI-L Access as an automation controller

2002-02-27 Thread Robert Crossley
Mmmm, I was just about to post a question about this, but to answer your question, you can use a sub-form control to display your map. Access assigns a Hwnd to the subform at run time so you can call a function like the one below to get its Hwnd. The function is called form load. The contr

Re: MI-L Access as an automation controller

2002-02-27 Thread Sion Roberts
Hi you must get the hwnd through an api call. Set focus on your control - which must be an empty sub-form, then get its hwnd through an api call .in the set application statment turn the variable into a string..something like this. Dim fHwnd As Long 'variable for window identifier

MI-L Access as an automation controller

2002-02-27 Thread Matt Trigg
Hi All Does anyone have our there any experience of using Access(97) as an automation controller for MapInfo? I would like to re-parent a map window to appear inside a control on an access form, but I cannot find a suitable form control to use as a place holder. The control must have an hWnd pro