Where's the file?

DroopyPawn
09-10-2003, 08:45 PM
If I want to include some .wav files with my app, and put them in the app's program directory, what's the correct path?

I assume it's something like App.path & filename.wav

Would that get it done? Am I close? I haven't used extra files for a couple of years.

pinster
09-10-2003, 09:05 PM
You should add a backslash before the filename.


App.Path & "\filename.wav"


BTW, you might want to embed the wav file as part of your program's resource by using the resource editor...

DroopyPawn
09-10-2003, 09:10 PM
Can you tell me a little more about embedding? Last time I needed wave files, I just inluded them in the package and deploy file. But it's been a long time.

pinster
09-11-2003, 07:23 AM
http://www.visualbasicforum.com/showthread.php?t=103533&highlight=resource+editor

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum