I need some direction here.
Can someone give me a few pointers in the direction I need to go with this?
I have a very large Access Project (adp) that we are retaining. I am now in the process of creating a new Windows Forms app (vb.net in vs 2005). These applications must interact.
I have been able to control the Access application from my Win Form. NowI need to be able to do the opposite. The access app is a work order system, and the Win Form app will be our new customer/contact management system. In the contact system, I can have multiple copies running.
From within Access, I need to be able to determine, which contact window is the topmost window, and be able to get information from it that the Access app needs. Also, I need to be able to click a button on our Work order form in access, and have the Contact form change to the corresponding contact. I am assuming I need to use COM for this and am trying to research.
The main thing I am running up against now (and I am it is easy and that I am just missing something obvious!!) is:
If I have a com object that Access can connect to -in that com object, how do I find the running Windows form that is the topmost?
I think that once I can get the com object to connect to the form everything should be relatively easy.
Thanks,
J. Clay