Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27196

VS 2008 How to clear images from the scren that are not in picture boxes

$
0
0
I am converting an old VB6 Solitaire game to VB.Net (2008 is what I have) as a means to learn the newer tools. I have everything working correctly but one major glitch. I use qcard32.dll which draws the cards at various locations on the screen, but does not place them in pictureboxes. In VB6 I just called me.cls to clear the entire screen for a new deal, but that isn't available in VB.Net. I have spent two days trying every .clear() / = nothing / .dispose() / etc. thing that I could find on the net, but to no avail. I believe that is because the images are not contained in controls, they are merely at specific locations on the screen.

First, does that sound logical and if so is there a way to just clear images from an area of the screen?

Thanks in advance for any help you can offer.

Viewing all articles
Browse latest Browse all 27196

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>