Thread: Plz help

Results 1 to 11 of 11
  1. #1
    Coper's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    BlackOps3.exe
    Posts
    449
    Reputation
    17
    Thanks
    3,648
    My Mood
    In Love

    Thumbs up Plz help

    So.i have a promblem with my backround changer.
    image:

    Plz i need help fast

    YOU ONLY LIVE ONCE


  2. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by Coper View Post
    Plz i need help fast
    Add the file extension ?

    .png | .jpg / .jpeg

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  3. #3
    DawgiiStylz's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Dawg House
    Posts
    7,811
    Reputation
    219
    Thanks
    2,896
    My Mood
    Tired
    What he said ^

    File path doesn't return an image.
    Backgroundimage property has to be an image.

  4. #4
    Coper's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    BlackOps3.exe
    Posts
    449
    Reputation
    17
    Thanks
    3,648
    My Mood
    In Love
    it is an image

    YOU ONLY LIVE ONCE


  5. #5
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by Coper View Post
    it is an image
    And yet you have to add the file extension

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  6. #6
    Coper's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    BlackOps3.exe
    Posts
    449
    Reputation
    17
    Thanks
    3,648
    My Mood
    In Love
    Quote Originally Posted by Jorndel View Post


    And yet you have to add the file extension
    what do u mean?

    YOU ONLY LIVE ONCE


  7. #7
    DawgiiStylz's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Dawg House
    Posts
    7,811
    Reputation
    219
    Thanks
    2,896
    My Mood
    Tired
    Quote Originally Posted by Coper View Post
    it is an image
    mm.. check the properties of the file. The string you wrote would return a folder, not an image simply because the string does not end with an extension.
    Why do you think image file formats consist a variety of formats.. .png, .gif, .bmp.. The string you wrote does not return any.. so resulting in an error.. multiple actually.

    One.. The string does not return an image.
    Two.. to be able to change a property properly.. , you'll need to match iamge with image.. although some ases there are exception, but in this case theres not.

    Hope you understand.

  8. The Following User Says Thank You to DawgiiStylz For This Useful Post:

    Coper (04-28-2013)

  9. #8
    Coper's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    BlackOps3.exe
    Posts
    449
    Reputation
    17
    Thanks
    3,648
    My Mood
    In Love
    Quote Originally Posted by DawgiiStylz View Post

    mm.. check the properties of the file. The string you wrote would return a folder, not an image simply because the string does not end with an extension.
    Why do you think image file formats consist a variety of formats.. .png, .gif, .bmp.. The string you wrote does not return any.. so resulting in an error.. multiple actually.

    One.. The string does not return an image.
    Two.. to be able to change a property properly.. , you'll need to match iamge with image.. although some ases there are exception, but in this case theres not.

    Hope you understand.
    <3
    ty man

    YOU ONLY LIVE ONCE


  10. #9
    DawgiiStylz's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Dawg House
    Posts
    7,811
    Reputation
    219
    Thanks
    2,896
    My Mood
    Tired
    Quote Originally Posted by Coper View Post
    <3
    ty man
    Rich click the image, click properties..



    Put 2 and 2 together and you'll get the filepath.

    File location:
    C:\Users\Aaron\Pictures

    File Name: dawgi

    File Extension: .png

    File Path = C:\Users\Aaron\Pictures\dawgi.png | Thus, returning an image.

    Simple

  11. #10
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Suppose it's solved then?

    Well, made a Function for you just in case tho
     
    Code:
    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
            Me.BackgroundImage = GetImage("C:\Users\Jorndel\Desktop\LoL BattleCon", "Annie_E")
        End Sub
    
        Function GetImage(ByVal Path As String, ByVal FileName As String) As Image
            For Each Fi As String In System****.Directory.GetFiles(Path)
                If Fi.Contains(FileName) Then
                    Return Image.FromFile(Fi)
                End If
            Next
        End Function

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  12. #11
    Coper's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    BlackOps3.exe
    Posts
    449
    Reputation
    17
    Thanks
    3,648
    My Mood
    In Love
    now Guys Its time for my new update in 2 minutes look in this visual basic programming section:P
    Coper stone is coming!!

    YOU ONLY LIVE ONCE


Similar Threads

  1. [Help Request] Plz help with acc
    By elcamu987 in forum Combat Arms Help
    Replies: 2
    Last Post: 06-23-2011, 12:33 PM
  2. [Help Request] plz help me
    By kareemooo2 in forum CrossFire Help
    Replies: 5
    Last Post: 06-19-2011, 03:04 AM
  3. [Help Request] omfg plz help me my acc is suspended
    By sk8mark11 in forum Combat Arms Help
    Replies: 32
    Last Post: 06-08-2011, 01:55 PM
  4. [Help Request] Syntax error plz help
    By pizza127 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 12
    Last Post: 06-02-2011, 12:51 AM
  5. [Help Request] runtime error. plz help me '-'
    By qqhhqqli in forum Vindictus Help
    Replies: 6
    Last Post: 05-16-2011, 11:01 PM