As you say "I have two systems" there is a good chance I haven't understood your question properly but, I have two partial answers to two possible interpretations.
Firstly, you might mean you want to run the external program to look as though it is "inside" an access form. I did have some success using the Windows API call SetParent (In my case I did not need the FindWindow to get the Window Handle for the SetParent call as I had the handle through another path.)
Secondly, you might just be looking to run the external program and have access disappear until the external program is finished. This can be a bit dangerous if the external program does not get properly closed. One Windows API call to look at is CreateProcessA. Alternatively, everyone seems to be using the windows Scripting Host to do lots of stuff which used to be done with the Windows API and you don't have to mess with special structures... for lots of example code, do a search for: VBA WshShell Run
--- In MS_Access_Professionals@yahoogroups.com, "desire2m6" <desire2m6@...> wrote:
>
> Gents
>
> Many thanks in advance. I'm learning Access . I wish to run an external program into accesS form. And when this external program ended I wish to resume into Access form.
>
> I have 2 systems
>
> 1/ Windows 7 home basic Service pack1 64 bit and using Office 2013
> 2/ Vista Familial premiuim service pack1 32 bit using office 2007
>
> Many thanks for your support
>
Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (3) |
Tidak ada komentar:
Posting Komentar