Customer Service Chat
Get quote & make Payment
Switch 2 images, Visual Basic Programming
I have a problem with Visual Basic:
exchangeable 2 images of place I have 2 picturebox''s placed a button
when I click on the button, the 2 pictures of this place change with every click.
My code is: Public Class Form1
Dim photo1, photo2 As Boolean
Private Sub Form1_Load (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Foto1 Dim As New Bitmap ("C: \ Users \ Anthony \ Dropbox \ VB \ 08 - shift algorithm \ wisselalgoritme/foto1.jpg")
PictureBox1.Image = photo1
PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
Foto2 Dim As New Bitmap ("C: \ Users \ Anthony \ Dropbox \ VB \ 08 - shift algorithm \ wisselalgoritme/foto3.jpg")
PictureBox2.Image = foto2
PictureBox2.SizeMode = PictureBoxSizeMode.StretchImage
Private Sub BtnSwitch_Click (sender As System.Object, e As System.EventArgs) Handles BtnSwitch.Click
If PictureBox1.Left = Me.Width Then
PictureBox1.Left PictureBox1.Left = + 300
PictureBox1.Left PictureBox1.Left = - 300
If PictureBox2.Left = Me.Width Then
PictureBox2.Left PictureBox2.Left = - 300
PictureBox2.Left PictureBox2.Left = + 300
can you help me please?
Posted Date: 10/14/2012 12:02:59 PM | Location : United States
Ask an Expert
Switch 2 images, Assignment Help, Ask Question on Switch 2 images, Get Answer, Expert's Help, Switch 2 images Discussions
Write discussion on Switch 2 images
Your posts are moderated
Write your message here..
Storage and retrieval systems, STORAGE AND RETRIEVAL SYSTEMS The sto...
STORAGE AND RETRIEVAL SYSTEMS The storage system is a depository. It is a physical container and gives mechanisms to put in the depository and take them back. The retrieval
Develop web pages which use vbscript, In this unit you have learned how to ...
In this unit you have learned how to develop Web pages which use VBScript. You have learned to insert logic to your Web pages as along with any other programming application. You h
Gdi objects, GDI OBJECTS The CDC provides 5 versions for the GDI obj...
GDI OBJECTS The CDC provides 5 versions for the GDI objects. They are fonts, brushes, pens, bitmaps and regions. The Select Object function substitutes the current GDI objec
Match Game, I would like someone to look at my code and tell me why it''s n...
I would like someone to look at my code and tell me why it''s not working
Adding handlers with class wizard, Adding Handlers With Class Wizard: ...
Adding Handlers With Class Wizard: Whenever a handler is added, the class wizard places the prototype for the message handler in the header (.H) file. It gives a skeleton hand
Create an application, 1. Create a new solution file named Ch03HandsOnProje...
1. Create a new solution file named Ch03HandsOnProject1. 2. Rename the form and set the filename of the form to frmMain and frmMain.vb, respectively. 3. Set the appropriate p
Runtime proggramming, i have a database i want mange it network and i want ...
i have a database i want mange it network and i want write it with vb.net so how i can do this
Making decisions with select case, The Select Case structure provides an op...
The Select Case structure provides an option to If...Then...Else If for selectively executing one block of statements from amongst multiple blocks of statements. Any Select Case st
Need help in us wordpress expert, US WordPress Expert We are functioning...
US WordPress Expert We are functioning on a software application based on WordPress (BuddyPress + Event Manager). Everything as far as functionality is done. Utmost of the styli
Vb script, We will discuss scripting language; called VB Script. VBScript i...
We will discuss scripting language; called VB Script. VBScript is Microsoft's scripting language. It enables us to write programs which enhance the power of Web pages by letting us
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.