Link to home
Start Free TrialLog in
Avatar of m_durnell
m_durnellFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Alarm Clock Help!

With the help of EE I was able to build a working alarm clock which I was pleased with.  However I would like to build on this now and ask further questions.

The Question

I want to include certain music files (MP3s) in a setup package through the wizard, How can I save these files and automatically install them in a folder on the hard disk (hopefully the same folder as the clock.exe program).

Additionally how can I write the code to go to these files for example - What if when installation of the program if the user does not use the default folder for installation?

Any help greatly appreciated.

Regards

Mark
ASKER CERTIFIED SOLUTION
Avatar of rspahitz
rspahitz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sanjaykattimani
sanjaykattimani

Further in you vb application to access a music file say stored in user selected directory\MP3 you can access the files  with following command

sMusicFile=App.Path & "\Ding.Mp3"

app.path returns the directory where the software is installed [assuming application is not installed in root in which case you need to conditionally add '\'].

Good luck.
Good point, sanjaykattimani.

However, you forgot the MP3 reference in your assignment:

sMusicFile=App.Path & "\MP3\Ding.Mp3"
Avatar of DanRollins
Hi m_durnell,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept rspahitz's comment(s) as an answer.

m_durnell, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange