| | |
clearing picture from picture box
![]() |
•
•
Join Date: May 2007
Posts: 31
Reputation:
Solved Threads: 0
vb Syntax (Toggle Plain Text)
picture1.Picture = New StdPicture
My New Site: http://ultimatecode.net
Visual Basic 6!!
Visual Basic 6!!
Hi,
Keep a Dummy Picture Box on the Form Say DPict
use this Code:
DPict.Picture = LoadPicture 'Clear Pict
Picture1.PaintPicture DPict.Image, 2000, 0, 2000, 1000
Picture1.Refresh
This Clears the Picture stored in Area :
2000, 0
And Width=2000, Height 1000
Regards
Veena
Keep a Dummy Picture Box on the Form Say DPict
use this Code:
DPict.Picture = LoadPicture 'Clear Pict
Picture1.PaintPicture DPict.Image, 2000, 0, 2000, 1000
Picture1.Refresh
This Clears the Picture stored in Area :
2000, 0
And Width=2000, Height 1000
Regards
Veena
Last edited by QVeen72; Jul 4th, 2007 at 5:26 am. Reason: Slight Change in Code
![]() |
Similar Threads
- login box not working (JavaScript / DHTML / AJAX)
- Brows Picture Help (VB.NET)
- Displaying picture sequence rotating using php (PHP)
- Change the Picture on the Welcome Screen (Windows tips 'n' tweaks)
- xp Picture folder (Windows NT / 2000 / XP)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: SSH component or ocx
- Next Thread: how to read file with filesystemobject
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





