Results 1 to 4 of 4

Thread: [RESOLVED] Help with text box...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2007
    Posts
    118

    Resolved [RESOLVED] Help with text box...

    Okay... When I open my file with my media player by double clicking the file, it displays the file path in a text box but when it does that it has speach marks around it. Example: I double click the file and my media player opens up, but in the text box it displays
    Code:
    "E:\Musik\Tina Turner - Simply the Best.mp3"
    How do I remove the quotes?
    The code I used waz

    Code:
    Dim PathToMediaFile As String
    PathToMediaFile = Command
    Text1.Text = PathToMediaFile
    Thanks,
    Eliot.

  2. #2

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Help with text box...

    vb Code:
    1. PathToMediaFile = Replace(Command, """", "")

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Oct 2007
    Posts
    118

    Re: Help with text box...

    Thanks guys it worked

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