DIGIT-ARC read-only archive · snapshot: July 23, 2026

visual basic help!!!!

4 posts · originally from https://geek.digit.in/community/threads/visual-basic-help.145620/

A
aditya2696 Original post #1
Aug 26, 2011 at 10:06 PM
hello!!!!
i am a beginner in this visual basic and i just wanted to know that how to get ant action done when i click on the command button?
suppose that i want to open a picture when i click the command button in the form?
what is the code for that?pls help me out asap
asingh
asingh #2
Aug 26, 2011 at 11:12 PM
^^
You would need to put in on the on-click event of the CMD button..!
A
Aug 26, 2011 at 11:41 PM
yea but how?
krishnandu.sarkar
Aug 26, 2011 at 11:54 PM
Double click on that button and the code window for OnClick() event of that button will open up automatically.

Now if you still ask what to write there, I'd ask you to better learn programming first rather than wasting your time on RnD.