I've tried everything I've seen in here about this and nothing is doing it...
Prior to venturing into coding myself (thanks to MS's letting us download Express free...) I had another coder create a couple of small utilities I designed (the GUI and functionality) as part of a bigger project/program. He never finished the project so I took it on myself... and I am still in the process of learning all the complexities...now I know I've been missing all the fun! Anyway, he did the coding in VB6. I tried to import them into VBx but there are too many language barriers so instead I have compiled them and created buttons on my main form to open them from there. One day when I know enough I'll recode them....
Meanwhile - I have a form set up where one button opens the exe file. Then I use the utility program's local buttons to get information, create a report, and save the data to a fixed text file which will be written over each time, which will reside in the program folder when someone loads the main program one day. That same text I import into a text box on the main form. Once it copies I want the utility and the text file to close. They've done their job. That's where I am stuck...
The other issue is - I have set the properties in the utility so that it will open and appear in the center, but the utility just goes to the task bar. I know it's a focus issue, because if I run it as a standalone it works fine. When I open the utility window from the task bar though it goes up to the upper left corner of the screen. I feel like I'm chasing this thing all over and it's not what I want.
Another issue is - it would be fine with me if the text document minimized or didn't even open per se since all I want to do ultimately is plop that text into my main program's text box. Is this something I'd have to code into the utility's code, about how or whether the text document opens or what size Or is there a way to control that text file from the main program window
Sorry this is compound... :)

Close external exe, txt file on click from main program....
Chris Forbes
I handled this one issue by changing how I called the exe...changed it from "Shell".
Indigo Cowboy
I managed to fix this issue too by going to VB6 and taking out the line telling the text document to display. The only remaining issue is how to shut down the actual exe without having to click exit. If anyone can give me input on that, I'd really appreciate it.