1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

File Paths Changing Randomly

Discussion in 'Software Development' started by Cdn XxRRODxX, Nov 15, 2009.

Thread Status:
Not open for further replies.
  1. Cdn XxRRODxX

    Cdn XxRRODxX Thread Starter

    Joined:
    Jan 4, 2009
    Messages:
    74
    I have a program that plays music on VB 2008 Express Edition. It accesses music from my memory stick because I'm going to need to move the program to another computer. However, the memory stick was always listed under the J:\ drive, but now randomly it's listed under the K:/ drive. Is there a way so that I can just get the music "into" the program so that it can just play the music no matter what computer it is on. P.S. I also need to get this program to run on XP, and the file path is E:\, I'm afraid that since mine changed randomly, the XP computer I'm moving it to will also change randomly.

    Please Help!:(
     
  2. Daveskater

    Daveskater

    Joined:
    Nov 15, 2009
    Messages:
    28
    You can change the drive letter by going to Administrative Tools in Control Panel and them going into Computer Management, there is a section called Disk Management which will show all connected drives, from there you can change the drive path.
     
  3. Ent

    Ent Trusted Advisor

    Joined:
    Apr 11, 2009
    Messages:
    5,465
    First Name:
    Josiah
    I can't rememeber whether this is possible with music, but you can put some files (pictures, Icons, text, etc) in your project's resources. Those files should be directly included into the exe. Even so, you would probably be better just moving the music to the same folder as your program, and using the active directory rather than specifying the drive. That would mean that you'd need to keep the folder together when distributing it.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/877511

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice