Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Oct 2003
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Opening picture files (2000)

    Good afternoon...

    I am trying to open various picture type files from a hyperlink path stored in a table without much success. I tried the file scripting object but not really familiar with those yet. Basically the user will be presented with a list box of available pictures related to a particular contact...by double-clicking on the list box I want to open the picture (bmp/jpg).

    I have created the code to capture the available files and store them in a table in a Hyperlink field.

    I am looking for some help on the double click code for the list box.

    Thanking you in advance I am...

    Steve

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Opening picture files (2000)

    If you're not going to display the file names in a text box, there's no point in storing them in a hyperlink field, you'd be better off storing them in a text field. You can then use

    Application.FollowHyperlink Me.lbxFiles

    or use the ShellExecute function - do a search in this forum for examples.

Posting Permissions

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