|
-
Feb 2nd, 2000, 07:37 AM
#1
Thread Starter
New Member
how can I run programs within VB
I want to run winamp with a specified song but with the shell command I can only use 8.3 file name format
thanks
-
Feb 2nd, 2000, 07:58 AM
#2
So Unbanned
Here:
Code:
Shell "c:\program files\winamp\winamp.exe ""<FileName>"""
you extra " 's are because the file could have a space so if you did:
...winamp.exe C:\MyMp3\Blink182 - What's My Age Again"
it'ld load all the seperate words as songs! You can also load a directory by doing:
...winamp.exe C:\MyMp3"
Good luck,
------------------
DiGiTaIErRoR
VB, QBasic, Iptscrae, HTML
Quote: There are no stupid questions, just stupid people.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|