Author Topic: CadAMP Windowless MP3 player for AutoCAD  (Read 23867 times)

0 Members and 1 Guest are viewing this topic.

daron

  • Guest
CadAMP Windowless MP3 player for AutoCAD
« Reply #45 on: October 20, 2004, 08:46:09 AM »
A problem occured in initializing MCI

What does that mean?

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
CadAMP Windowless MP3 player for AutoCAD
« Reply #46 on: October 20, 2004, 08:48:09 AM »
It may not be a supported format... let me check it out ....
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

daron

  • Guest
CadAMP Windowless MP3 player for AutoCAD
« Reply #47 on: October 20, 2004, 08:50:28 AM »
Appreciate it.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
CadAMP Windowless MP3 player for AutoCAD
« Reply #48 on: October 20, 2004, 08:56:34 AM »
you will need to add a couple of lines ...

To the Open_Comdlg32 routine you will need to add this filter ... you can add it directly after the wav filter ...
Code: [Select]

            "Windows Media (*.wma)" & Chr(0) & "*.wma" & Chr(0) & _


In the PlayFile sub add this to the Select Case
Code: [Select]

  Case "WMA"
   PlayMp3 (FileName)


It works for me ...
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

daron

  • Guest
CadAMP Windowless MP3 player for AutoCAD
« Reply #49 on: October 20, 2004, 11:17:47 AM »
Must be something else. I did exactly that.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
CadAMP Windowless MP3 player for AutoCAD
« Reply #50 on: October 20, 2004, 11:42:42 AM »
It works without flaw on my installation ... have you tried opening the wma file in media player ... if it does not play it could be codec issue.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

daron

  • Guest
CadAMP Windowless MP3 player for AutoCAD
« Reply #51 on: October 20, 2004, 01:48:47 PM »
I'm listening to it now in media player. Maybe I haven't loaded it properly or I have the wrong one. I downloaded the first thread links file.

cadbrowser

  • Guest
Dayum Kieth!
« Reply #52 on: January 06, 2005, 02:14:52 PM »
I never, in my wildest dreams would have thought of doing a vba application of an mp3 player for AutoCAD.  WOW WOW WOW.  Excellent work!

Twitch

  • Guest
CadAMP Windowless MP3 player for AutoCAD
« Reply #53 on: January 17, 2005, 12:18:26 AM »
Is anyone still working on this program?  If so let me know.  I've taken a look a the the code and think I have a few things to help out.

For example, change the line where modemacro is set in the MP3 basic module to the two lines below to only show the filename, not the full path:

Code: [Select]
 FileName = Mid(FileName, InStrRev(FileName, "\") + 1, Len(FileName) - InStrRev(FileName, "\") - 4)
  ThisDrawing.SetVariable "ModeMacro", "CADAmp: " & FileName

If nobody else is working on it, I would be happy to add in playlist and multi-play functionality.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
CadAMP Windowless MP3 player for AutoCAD
« Reply #54 on: January 17, 2005, 08:53:08 AM »
I havn't done anything major to it in a little while, but I would accept any updates to the code to be able to play playlists. Feel free to do so....just keep me posted of the changes.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

BREZI

  • Guest
CadAMP Windowless MP3 player for AutoCAD
« Reply #55 on: February 08, 2005, 08:16:25 AM »
Thats really cool!

Cheers!

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
CadAMP Windowless MP3 player for AutoCAD
« Reply #56 on: February 08, 2005, 09:01:23 AM »
Glad you like
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

ELOQUINTET

  • Guest
CadAMP Windowless MP3 player for AutoCAD
« Reply #57 on: February 08, 2005, 10:24:03 AM »
Keith i was trying to use the mp3 player again to see if it would work for me now but it's still no go. the toolbar loads fine and i can browse to my folder but then i get this message. how can i fix this?

runtime error '53':

File not found: VBA332.DLL



if i click on debug this line is highlighted in the code

Call GetCurrentVbaProject(lHproject)

ELOQUINTET

  • Guest
CadAMP Windowless MP3 player for AutoCAD
« Reply #58 on: February 08, 2005, 10:26:51 AM »
i see this when i go to help but not sure what to do.




The file was not found where specified. This error has the following causes and solutions:

A statement, for example, Kill, Name, or Open, refers to a file that doesn't exist.
Check the spelling of the file name and the path specification.

An attempt has been made to call a procedure in a dynamic-link library (DLL) or Macintosh code resource, but the library or resource file name specified in the Lib clause of the Declare statement can't be found.
Check the spelling of the file name and the path specification.

In the development environment, this error occurs if you attempt to open a project or load a text file that doesn't exist.
Check the spelling of the project name or file name and the path specification.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
CadAMP Windowless MP3 player for AutoCAD
« Reply #59 on: February 08, 2005, 10:30:16 AM »
you may not have all of the VBA files installed. Do a search on your computer for that file. If you find it then you have to register the file. If you don't find it, then you don't have that version of VBA installed. You can usually find the file available for download on the web. It would need to be put in C:\Program Files\Common Files\Microsoft Shared\VBA

*edit*

The file can normally be found on the installation CD for Office 97 and AutoCAD 2000.

If your AutoCAD program is 2002+ you may have VB6 installed.. in that case, you should replace all instances of MyAddressOf to AddressOf and the VBA332.dll will not be needed.

This problem most often occurs when the VBA332.dll is deleted or uninstalled.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie