Results 1 to 2 of 2

Thread: run programs within VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    haifa,israel
    Posts
    12

    Post

    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

  2. #2
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Post

    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
  •  



Click Here to Expand Forum to Full Width