SFML community forums

Bindings - other languages => DotNet => Topic started by: daxterxx on December 25, 2012, 07:13:31 pm

Title: .net sound and music?
Post by: daxterxx on December 25, 2012, 07:13:31 pm
Okay so short and sweet im new to sfml, not programming. But im using vb.net 2010 and I want to be able to load a sound/music file on startup. The sound and music file i want to play is located in my application.startup path? please help.
Title: Re: .net sound and music?
Post by: Laurent on December 25, 2012, 07:48:50 pm
And what's your problem?
Title: Re: .net sound and music?
Post by: daxterxx on December 28, 2012, 08:59:19 pm
I cant seem to find a tutorial on it for .net and the samples dont work. I cant figure it out
Title: Re: .net sound and music?
Post by: eXpl0it3r on December 28, 2012, 09:14:20 pm
the samples dont work. I cant figure it out
If you'd say what doesn't work, instead of just stating that it doesn't work, we could actually help you out... ;)
Title: Re: .net sound and music?
Post by: daxterxx on December 29, 2012, 02:54:41 am
This is getting off topic. Id simply like to know how to use the sfml in visual basic.net. Thank you
Title: Re: .net sound and music?
Post by: Laurent on December 29, 2012, 09:42:28 am
There's no tutorial for .Net, but the C++ tutorials and documentation can almost directly be translated to .Net. There are only a few minor design and naming changes.

The samples do work. If they don't, you're doing something wrong.
Title: Re: .net sound and music?
Post by: daxterxx on January 13, 2013, 06:08:48 pm
How to I use this with vb.NEt then?
Title: Re: .net sound and music?
Post by: Laurent on January 13, 2013, 06:35:42 pm
Use what? Have you read the docs? What don't you understand?
Title: Re: .net sound and music?
Post by: daxterxx on January 13, 2013, 09:27:59 pm
Iv read everything to the point were I can recite to you every last word. None of the examples work for me, they all crash on startup, and im trying to just simply play a sound file, weather it be a music file or sound i dont care. I just want to see if this works in vb.net
Title: Re: .net sound and music?
Post by: Laurent on January 13, 2013, 10:57:13 pm
Can you show your code? Provide more information about the crash? What does the debugger say? Any error in the standard output?
Title: Re: .net sound and music?
Post by: eXpl0it3r on January 13, 2013, 10:58:39 pm
If you want actual help, then you start by describing extremly pedantic what you did from the beginning to the end.
As of now the only thing we know for certain is, that "It doesn't work"... ;)