How do I remove objects from the screen when I shut down a program or exit to desktop. I Refer to a case in point where I have generated a sound recorder upon load. It stays there on desktop when I leave VB. VB Doesnt seem to like (Unload)
73 RSH
Printable View
How do I remove objects from the screen when I shut down a program or exit to desktop. I Refer to a case in point where I have generated a sound recorder upon load. It stays there on desktop when I leave VB. VB Doesnt seem to like (Unload)
73 RSH
From your previous post, You started the recorder using the SHell command which caused it to start up in its own window.
You now need to send it a message saying to close down, kind like clicking the big X. There are several samples of how to do this on Http://www.Planet-Source-Code.com/vb that shows how to do this. I do not have a sample at hand, but perusing PSC.com using "CLose a program" as a search argument showed 10 pages of hits (about 100 samples)
John G
As the previous post says but, one other thing that may be of use.
If you go to VB-helper.com you'll find a program there I wrote some months ago. Go to the HOW TO section and click search and find - open and close a program. This will do much as you want and also solves your earlier problem of having the 2nd sound added to the first.
VB-helper also supplies a weekly mag of useful stuff and has zillions of VERY useful program examples.
You will need winzip to download these things and I think you mentioned that you don't have that. You can download winzip free of charge (share) and if I am right )that you don't have it) that you will not survive long without it if you want to use VB.
All the very best
Phil
Thanks Phil/John:
I will persue these suggestions post haste.
By the way I now have an unzipper so that may help. Dont know what one would do without this Forum. I have the Black Book 3 inches thick and none of this stuff is in there.
Tnx again & 73 RSH