Results 1 to 7 of 7

Thread: [RESOLVED] [2005] loading a picture for pocket pc!!!

  1. #1

    Thread Starter
    Addicted Member noam309's Avatar
    Join Date
    Aug 2006
    Posts
    225

    Resolved [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!!!

    Giving an exact answer
    Saves a lot of time!!!

  2. #2
    PowerPoster VBDT's Avatar
    Join Date
    Sep 2005
    Location
    CA - USA
    Posts
    2,922

    Re: [2005] loading a picture for pocket pc!!!

    I think I told you how to do this!
    http://www.vbforums.com/showthread.php?t=424829

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Addicted Member noam309's Avatar
    Join Date
    Aug 2006
    Posts
    225

    Exclamation 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:
    1. Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged
    2.         If RadioButton2.Checked = True Then
    3.             Me.PictureBox1.Image = New Bitmap(My.Application.Info.DirectoryPath & "\T.jpg")
    4.         End If
    5.     End Sub
    6. 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!


    Giving an exact answer
    Saves a lot of time!!!

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Addicted Member noam309's Avatar
    Join Date
    Aug 2006
    Posts
    225

    Resolved Re: [2005] loading a picture for pocket pc!!!

    Ok I got it ,
    thank you anyway!

    Giving an exact answer
    Saves a lot of time!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width