|
-
Jan 26th, 2009, 06:52 AM
#1
Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
This is a music Player Addin for Excel 2003. The code can be seen by pressing Alt + F11.
Would appreciate if you can share your thoughts, if any. Please do not reply in that thread.
Sidz
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jan 27th, 2009, 04:52 PM
#2
Addicted Member
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
Sid, I like it!
Using office 2007, i open my mp3
click the mute button and I receive
Object variable or With block variable not set
i'm guessing because the tool bars aren't created in the same way?
Code:
Sub AdjustSound()
If MuteMe = False Then
MuteMe = True
UserForm1.MediaPlayer1.Mute = True
With SndBtn
.FaceId = 3730
.TooltipText = "Enable Sound"
.Tag = "SndButton"
.OnAction = "AdjustSound"
End With
Else
MuteMe = False
UserForm1.MediaPlayer1.Mute = False
With SndBtn
.FaceId = 68
.TooltipText = "Mute Sound"
.Tag = "SndButton"
.OnAction = "AdjustSound"
End With
End If
End Sub
-
Jan 28th, 2009, 01:06 AM
#3
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
@ koolsid,
It looks cool! I'm going to try it now. 
 Originally Posted by Mitch_s_s
Sid, I like it!
You do realize Sid said the music player was for Excel 2003 not 2007?
Edit:
I get the following error:
Method 'Play' of object "IMediaPlayer2" failed!
In
Code:
Private Sub UserForm_Activate()
UserForm1.Hide
MediaPlayer1.Filename = UserForm2.List1.List(i, 1)
MediaPlayer1.Play
End Sub
The bold part is the error!
Last edited by Nightwalker83; Jan 28th, 2009 at 01:22 AM.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jan 28th, 2009, 07:10 AM
#4
Addicted Member
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
nope that didn't even register ha!
ah well, ignore me
-
Jan 29th, 2009, 01:49 AM
#5
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
@Mitch: Let me se If I can make one for 2007 
@Night: Is media player installed on your pc? If yes, which version?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jan 29th, 2009, 06:12 AM
#6
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
 Originally Posted by koolsid
@Mitch: Let me se If I can make one for 2007
@Night: Is media player installed on your pc? If yes, which version?
Yes, it is Media Player 11! I also have the MP11 run-time files installed too.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jan 30th, 2009, 04:57 AM
#7
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
Yes, it is Media Player 11! I also have the MP11 run-time files installed too.
No wonder. It is supposed to work with 9.0. Congratulations. You have managed to find one bug.
I guess I have to redevelop it keeping it version free...
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jan 31st, 2009, 02:19 AM
#8
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
@Night: I have used a new control. It should work now
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jan 31st, 2009, 02:40 AM
#9
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
I now receive:
Method or data member not found
In
Code:
Sub PlayMusic()
i = frmPlayList.List1.ListIndex
If Boolpause = False Then
MMControlForm.Show
BoolStop = True
Else
MMControlForm.mmKool.Command = "Play"
End If
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jan 31st, 2009, 02:47 AM
#10
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
Like I mentioned there, you need MCI32.Ocx
Check if this file is there in windows system32 directory?
Give me a moment will upload the ocx file. Save the file in the windows system32 folder and then click on the Start=>Run and type the following. (Before you do this close Excel.)
C:\WINDOWS\system32\regsvr32 C:\WINDOWS\system32\Mci32.ocx
Now open excel and run it
Last edited by Siddharth Rout; Jan 31st, 2009 at 03:01 AM.
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jan 31st, 2009, 03:03 AM
#11
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
 Originally Posted by koolsid
Like I mentioned there, you need MCI32.Ocx
Check if this file is there in windows system32 directory? Before using the tool, go to VBA Editor and in the toolbox add reference to this file. It should work then.
Give me a moment will upload the ocx file. Save the file in the windows system32 folder and then click on the Start=>Run and type the following. (Before you do this close Excel.)
C:\WINDOWS\system32\regsvr32 C:\WINDOWS\system32\Mci32.ocx
Now open excel and run it 
I must have overlooked the Mci32.ocx when I read the original thread! The program is working now.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Jan 31st, 2009, 03:05 AM
#12
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
I must have overlooked the Mci32.ocx when I read the original thread! The program is working now.
Phew!!! Finally
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Feb 24th, 2009, 11:50 AM
#13
Fanatic Member
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
-
Feb 24th, 2009, 11:56 AM
#14
Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...
Close Excel first.
Download the file "My Music Player Ver 1.1.zip", unzip it. There is an xla file. Double click it....
Now when Excel opens you won't see a workbook. That is okay. Press Alt+F11. You will enter the Vba Code area. There on the LHS you will see the VBA Project(My Music Player Ver 1.1.xla)
Expand it to see the code...
Hope this helps...
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|