Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    GreenPro's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    0
    My Mood
    Innocent
    Quote Originally Posted by abuckau907 View Post
    Don't forget btn_credits 8-)

    "But is it possible to just display the icon/png/jpeg of the program instead of the whole file path ?"
    Sure. Google "how to add images to a ListView"...

    "and also how can i give an error using a label , which will say that "The File Was Not Found , It Might Have Been Changed , Removed Or Moved. Please Browse The Add The File Again If Its Still In Your Machine." And Thanks =)"

    If System . IO . File . Exists ( ) = False Then '' or lots of other functions.
    myLabel.Text = "paste your error message here"
    End If
    Hello , Thank You . helped me alot by the way any good suggestions to learn proramming , , , like ebooks or video tutorials . i am actually quite a newbie and really interested in learn programming even though i dont have that much time . Thanks

  2. #17
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    Stereotypical "read a book" I'm afraid : )

    "...even though i dont have that much time." - No advice for that. You get back what you put in, just like everything else in life.
    Last edited by abuckau907; 04-26-2013 at 02:12 PM.
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

  3. #18
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,123
    My Mood
    Angelic
    Quote Originally Posted by King Aldrin View Post
    Is this what you want? (download the attachment)

    Virus Scans:
    /Problem

    I'm sorry to inform you that you're attachment is affected by our current problem.
    -We're unable to download it due to some updates

    This problem should be solved within the next 24 hours.

    -Jorndel, Programming Minion

     
    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

  4. #19
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    @OP If you're only uploading an image, maybe upload it to a public image hosting service and then just post the link in here.
    (as "bb code" ie. [ I M G ] h t t p : / / w w w . somesite . com / yourimage . jpg [ / I M G ] without spaces of course)
    - I use tinypic , has worked well so far. or https://www.google.com/#q=Free+image+hosting
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

  5. #20
    DawgiiStylz's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Dawg House
    Posts
    7,809
    Reputation
    219
    Thanks
    2,902
    My Mood
    Tired
    Quote Originally Posted by GreenPro View Post
    Nice ! But is it possible to just display the icon/png/jpeg of the program instead of the whole file path ? and also how can i give an error using a label , which will say that "The File Was Not Found , It Might Have Been Changed , Removed Or Moved. Please Browse The Add The File Again If Its Still In Your Machine." And Thanks =)
    If you added the files via openfiledialog that file is going to exist, unless when you run it and the file is not there, then you could execute the code where the file doesn't exist.

    Code:
    If My.Computer.FileSystem.FileExists(ListView1.FocusedItem.Text) Then
                Shell(ListView1.FocusedItem.Text) 'Shell also have additional parameters if you want a few more options
    Else
    Label1.Text = ListView1.FocusedItem.Text & " does not exist"
            End If
    About the image, add a imagelist and set the listview smallimageindex to the imagelist that you've added. Then, on the open event, you'll just need to populate the imagelist.images
    Last edited by DawgiiStylz; 04-26-2013 at 05:14 PM.

  6. #21
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,123
    My Mood
    Angelic
    //Approved

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Release] i wona make air wall pass glitch and i need help with fraps sentings etc
    By Diogo40440 in forum CrossFire Glitches
    Replies: 8
    Last Post: 03-15-2013, 04:02 PM
  2. [Solved] i need help with the ip programs ( To make the offers)
    By sonik12317 in forum CrossFire Help
    Replies: 7
    Last Post: 07-18-2012, 02:24 AM
  3. [Help Request] Dll I openned with NotePad need help !
    By deathtrap in forum CrossFire Help
    Replies: 9
    Last Post: 08-01-2011, 04:20 PM
  4. Opening Another Program
    By aanthonyz in forum C++/C Programming
    Replies: 15
    Last Post: 02-10-2011, 08:22 PM
  5. UCE....How to program and what i'll need.
    By scooby107 in forum WarRock - International Hacks
    Replies: 6
    Last Post: 04-17-2007, 02:23 PM

Tags for this Thread