[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.
Re: Help with text box...
Code:
Dim PathToMediaFile As String
Const QUOTE = """"
PathToMediaFile = Command
Text1.Text = Replace(PathToMediaFile, QUOTE, "")
Re: Help with text box...
vb Code:
PathToMediaFile = Replace(Command, """", "")
Re: Help with text box...