![]() |
#16
|
||||
|
||||
![]()
I'd still be inclined to leave the file associations alone, as changing them entails messing around with the Windows Registry. A better approach would be to extract the mp3s from the zip files, then play them. Either way, a fair bit of programming would be involved and, for the same reasons the files don't seem to be playing now, I'm not sure that would actually cause the mp3 files to play.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#17
|
|||
|
|||
![]()
Oh ok for sure it isn't a good idea at all to mess with Windows Registry. I wasn't aware of that.
Another idea I had and don't know if it is possible or not, is to make vba create a .bat and execute it. So as I mentioned before, if I type this in Run or Cmd: Code:
"C:\Program Files (x86)\KaraFun Player\KaraFunPlayer.exe" "C:\Users\P\Desktop\Karaokes\Phil Collins - Another Day In Paradise.zip" If I make a .bat file with this exact content and nothing more or less, as I double click on it it also works perfectly, starting KaraFun Player playing Another Day In Paradise (just tested it). So could it be done in vba to create a .bat file for each time needed, with the cell containing the path of KaraFun Player.exe and the cell of the chosen song (a cell containing the full path and file name of the song zip file) and then execute it after been created? EDIT: And then also delete the created .bat file after it has been executed? |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
ximpostor | Word VBA | 10 | 10-12-2012 12:35 PM |
Preventing word/excel from trying to open external template locations | Perhill | Office | 0 | 03-02-2011 04:44 AM |
changing default program from works to word to open attachments | catskier | Outlook | 0 | 03-10-2009 01:35 PM |
Can't open the program/Was trying to setup email | lbauge | Outlook | 1 | 04-18-2006 03:40 AM |
I cannot open a hyperlink in an office 2003 program | ArmandoS | Office | 3 | 11-26-2005 12:11 PM |