Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 09:49

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Ausnahme "System.TypeInitializationException" ?

Discussion on Ausnahme "System.TypeInitializationException" ? within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
kleinkiiko's Avatar
 
elite*gold: 3
Join Date: Jul 2011
Posts: 385
Received Thanks: 41
Exclamation Ausnahme "System.TypeInitializationException" ?

Hallo,

Wie oben schon im Titel steht passiert das immer wenn ich auf einem Button klicke...
Ich habe versucht mit der Bass.dll ein Online Radio Stream anzuhören...

Der Code der mit der Bass.dll im Button zutun hat sieht so aus:

Dim url As String = "http://www.surfmusik.de/radio/technobase-fm-dsl,6542.html"
stream = Bass.BASS_StreamCreateURL(url, 0, BASSFlag.BASS_STREAM_AUTOFREE, Nothing, 0)
Bass.BASS_ChannelPlay(stream, True)


Mir wird immer dieses Zeile angezeigt wenn ich Debugge und auf dem Button klicke:

stream = Bass.BASS_StreamCreateURL(url, 0, BASSFlag.BASS_STREAM_AUTOFREE, Nothing, 0)


Der normale Code des Buttons sieht so aus:

PictureBox2.Visible = True
PictureBox3.Visible = True
WebBrowser1.Navigate("http://www.surfmusik.de/radio/technobase-fm-dsl,6542.html")

Dim url As String = "http://www.surfmusik.de/radio/technobase-fm-dsl,6542.html"
stream = Bass.BASS_StreamCreateURL(url, 0, BASSFlag.BASS_STREAM_AUTOFREE, Nothing, 0)
Bass.BASS_ChannelPlay(stream, True)

End Sub

Das Problem ist das ich mich mit der Bass.dll nicht wirklich auskenne und keine Ahnung hab was ich falsch mache :/
Kann mir wer helfen?
kleinkiiko is offline  
Old 09/22/2013, 18:59   #2
 
Schlüsselbein's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 1,137
Received Thanks: 869
Du möchtest eine HTML Webseite abspielen?
Schlüsselbein is offline  
Old 09/22/2013, 19:21   #3
 
kleinkiiko's Avatar
 
elite*gold: 3
Join Date: Jul 2011
Posts: 385
Received Thanks: 41
Ja möchte ich
kleinkiiko is offline  
Old 09/22/2013, 19:26   #4
 
Schlüsselbein's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 1,137
Received Thanks: 869
Das geht nicht.
Schlüsselbein is offline  
Thanks
1 User
Old 09/22/2013, 19:35   #5
 
kleinkiiko's Avatar
 
elite*gold: 3
Join Date: Jul 2011
Posts: 385
Received Thanks: 41
Mhmm wie kann ich dann die Bass.dll in mein Programm einbauen?
kleinkiiko is offline  
Old 09/22/2013, 20:54   #6


 
Requi's Avatar
 
elite*gold: 3570
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252

Das ist der eigentliche Link, den du brauchst.
Requi is offline  
Old 09/25/2013, 01:08   #7


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,909
Received Thanks: 25,409
Arrow General Coding -> .NET Languages

#moved
MrSm!th is offline  
Reply




All times are GMT +1. The time now is 09:49.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.