[RESOLVED] [2005] loading a picture for pocket pc!!!
Hi,
I have 2 radio buttons and 1 picture box ,
it's important to say that my app is for pocket pc.
I want with radiobutton.true to load a picture into a picturebox.
I have more radiobuttons and when I set them to true it load another pictures into the same picturebox.
PLEASE HELP ME WITH THIS!!!
Re: [2005] loading a picture for pocket pc!!!
Re: [2005] loading a picture for pocket pc!!!
THERE'S!!! NO!!! NEED!!! TO!!! SHOUT!!! It's generally accepted that if you post a question you need help.
In the CheckedChanged event handler of the RadioButton you Dispose the current Image in the PictureBox, create a New Bitmap object from the appropriate file path and assign it to the Image property of the PictureBox.
Re: [2005] loading a picture for pocket pc!!!
God d*mn duplicate posts! Not posting the same question twice saves other people's time from being wasted.
Re: [2005] loading a picture for pocket pc!!!
Quote:
Originally Posted by jmcilhinney
God d*mn duplicate posts! Not posting the same question twice saves other people's time from being wasted.
jmcilhinney -Why are you SO mad! ?
allright sorry about shouting , but it is not exactly duplicate thread ,because it is for pocket pc , and VBDT code is not fit exactly for pocket pc , because it says that " my application" is not a member of....
it is still not working!
as it is in this code:
VB Code:
Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged
If RadioButton2.Checked = True Then
Me.PictureBox1.Image = New Bitmap(My.Application.Info.DirectoryPath & "\T.jpg")
End If
End Sub
End Class
I'm absolutely not intend to waste anybodys time , and there is no need to language
HTML Code:
God d*mn duplicate posts!
You are a very good helpers , and I think every question is important,
When somebody make a search in the forum he can find these answers that are for pocket pc also,
tell me if I wrong!
;)
Re: [2005] loading a picture for pocket pc!!!
If you have a PPC question ask it in the Mobile Development forum. This is the same question as your other thread. All you have to do is adjust the file path, which you could, and should, have asked for in that thread. Use Application.StartupPath instead, but you didn't ever say that you needed the folder containing the application anyway, so that's outside the scope of the question. I just wish people would be sensible. That's all. Nothing annoys me more than duplicate threads. Noone's here to please me, I know, but I'm annoyed nonetheless. There is no legitimate reason to make a duplicate post and it's against forum rules.
Re: [2005] loading a picture for pocket pc!!!
Ok I got it ,
thank you anyway!