home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / WINAMP_OCX45653122002.psc / README.txt < prev    next >
Encoding:
Text File  |  2002-01-02  |  1.6 KB  |  33 lines

  1. This project is extremely useful in the making of a Program that runs along side Winamp
  2. It's extremely easy to understand if you have knowledge of API
  3. Even if you don't understand exactly how it works, you can still use it in your own projects
  4. The syntax is easy on how to make it work and here are the steps on making it work
  5.  
  6. 1. Copy the "Winamp.ocx" to your "C:\WINDOWS\system32" folder
  7. 2. Click on your "Start" menu and click "Run"
  8. 3. In the text field, type the below text
  9.     regsvr32 "C:\WINDOWS\system32\Winamp.ocx"
  10. 4. Open a new VB project
  11. 5. Right Click on your toolbox and click "Components..."
  12. 6. Find OCXAmp from the list and mark the checkbox beside it.
  13. 7. The Winamp icon should be in your toolbox now.
  14. 8. Double click it to add it to your form.
  15. 9. Add "mdlWinamp.bas" and "clsWinamp.cls" to your project.
  16. 10. Then, In a button or in whatever you want to call an event, just type the below commands...
  17.     Winamp1.playtrack - This plays the current track
  18.     Winamp1.stoptrack - This stops the playing track
  19. And so on and so forth....
  20.  
  21. It's really easy to understand, and if you need help, email me at hardkore_620@msn.com
  22.  
  23. I also included a "dockable.bas" with this project.
  24. Thanks to Benjamin Wilger for making this absolutely perfect docking module.
  25. To use it, just add the module to your project and in the form load event type the following
  26.     Call dockingstart(me)
  27. and in the form unload event type the following
  28.     Call dockingterminate(me)
  29. Very easy to use....
  30.  
  31. PxHxAxNxTxOxM
  32. XP Inc. 2002
  33. .....................................................................................................................................XPI