ctuzzolino 6/10/2007 12:09:46 PM

Proper way to open a GP Lookup Window from Integrated Custom VS Window

As in many of us, we are all very new to VS Tools for GP. I have found the experience exciting and frustrating at the same time. I have a couple of questions that I hoped one with this experience could lead me in the right direction.

By the way I program in C#.

1. I have a custom window that is accessible (menu) through the GP employee inquiry window which if an employee is selected, I pass those parameters to the custom window. This works great. However, when I call the GP employee lookup window a second time from the custom window a couple things happen which I don't know how to fix.

a. If no employee is selected from GP employee inquiry window and GP employee lookup is fired from custom window, the window will place itself behind the custom window. I need it in front.
b. Secondly, when I place focus on the GP employee lookup window, my custom window minimizes which I do not want. I want it to stay behind the GP employee lookup window.
c. If an employee is selected from GP employee inquiry window and GP employee lookup is fired from custom window, an error is generated that states can not create object when object is disposed.

 Any help is greatly appreciated.

 

 

Version: Unknown or N/A
Section: Visual Studio Tools for Dynamics GP


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3