vidiware Posted January 3, 2003 Posted January 3, 2003 How can you instert sound and music in visual basic and other .net applications? Are there ways other than direcx? How do you do it in DX7 or 8... Is there a very easy component??? I'm writing a simple program controlling the Legominstorms robot for my younger brother... and want to enchante the program please answer quickly Quote
*Experts* Volte Posted January 3, 2003 *Experts* Posted January 3, 2003 I don't think there is any way to do it with built in methods (too platform specific on that one), so you'll need to look into the old fasioned API methods. Go to http://www.allapi.net and look at the mci APIs (their the ones that start with 'mci'). Sorry I can't be of much help right now, but it's 4:07am. That should be a start though. Quote
*Experts* Nerseus Posted January 3, 2003 *Experts* Posted January 3, 2003 For a very simple way to play sounds, look for PlaySound (an API call) as well. -Ner Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Leaders Iceplug Posted January 3, 2003 Leaders Posted January 3, 2003 Here is a site which has some VB6 explanations of DirectX process... http://www.directx4vb.com/ Quote Iceplug, USN One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(
*Experts* Volte Posted January 3, 2003 *Experts* Posted January 3, 2003 I would definately NOT recommend using DX7 or 8. DirectX 9 is the only version that runs half decently on .NET. Quote
vidiware Posted January 4, 2003 Author Posted January 4, 2003 are thy using the same commands or are DX7,8,9 completly different??? Quote
Leaders Iceplug Posted January 4, 2003 Leaders Posted January 4, 2003 Well, DX8 Music is somewhat similar to DX7 Music, but it would be a bit consuming to convert a DX7 program into a DX8... Sort of in the median between completely different and exactly the same. However, the graphics are completely different ;). Quote Iceplug, USN One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(
*Experts* Nerseus Posted January 4, 2003 *Experts* Posted January 4, 2003 Most importantly, DX9 is made for managed code while DX7 and DX8 are not. I have some samples in DX8 that work quite well, but MUCH better and easier in DX9. -Ner Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
vidiware Posted January 4, 2003 Author Posted January 4, 2003 Im a complete newbie to high level programming in vb 6/vb.net and i want to learn to develop dx applications in c++.net. Im a completly newbie in c++ but i can that basic cin/cout and variable stufff... and if and for and while... What guides/books do you recommand for me, I appreaciate free online guides..., and i wish i knew how to make a real time strategy with networking... any guides? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.