Results 1 to 1 of 1

Finding file path without citing

Threaded View

  1. #1
    Registered User
    Join Date
    10-30-2008
    Location
    Kragujevac
    Posts
    7

    Finding file path without citing

    Hello,
    Is it possible that in the code instead of the path to the avi file with the specified drive and folders is just the name of the file. This means that only on the basis of names find a file and activates it.

    Private Sub CommandButton1_Click()
    
    USF.WindowsMediaPlayer1.URL = "D:\Mirko\1.avi"    'Adjust the position and name!!!!
    USF.WindowsMediaPlayer1.Controls.Play
    Golbl
    End Sub
    Last edited by DonkeyOte; 01-04-2011 at 07:43 AM. Reason: corrected CODE tags - please be sure to form properly going forward

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1