Results 1 to 3 of 3

Thread: How to specify dynamic path? [Resolved]

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2004
    Location
    LA
    Posts
    57

    Question How to specify dynamic path? [Resolved]

    Hi Guys,

    How can I specify path of my image dynamically to point to install path of my program

    Code:
    Dim img As Image
            img = Image.FromFile("some.ico")
    Last edited by igorsky; Jul 29th, 2004 at 10:32 AM.

  2. #2
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    Like this?
    VB Code:
    1. img = Image.FromFile(Application.StartupPath & "\some.ico")

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2004
    Location
    LA
    Posts
    57

    Talking

    Thank you very match!!!


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