Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Software Development
Tag Cloud
access acer asus bios bsod computer crash desktop dns driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
File Paths Changing Randomly

Reply  
Thread Tools
Cdn XxRRODxX's Avatar
Computer Specs
Member with 74 posts.
 
Join Date: Jan 2009
15-Nov-2009, 12:33 PM #1
Exclamation File Paths Changing Randomly
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!
__________________
It's loading.....still loading....it's gonna! Oh wait it crashed.
Daveskater's Avatar
Computer Specs
Junior Member with 28 posts.
 
Join Date: Nov 2009
Location: Oxford, UK
Experience: Advanced
15-Nov-2009, 01:38 PM #2
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.
Ent's Avatar
Ent Ent is offline Ent is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 3,237 posts.
 
Join Date: Apr 2009
Location: United Kingdom
Experience: Intermediate
25-Nov-2009, 08:14 AM #3
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.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:37 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.