Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 08:40

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

Advertisement



[VB 2010] Brauche Hilfe :(

Discussion on [VB 2010] Brauche Hilfe :( within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
Pati1112's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 248
Received Thanks: 380
Red face [VB 2010] Brauche Hilfe :(



Das is mein Problem wo ich die ganze zeit dran hänge

der fehler tritt auf wenn ich als erstes die RadioButtonRock anklicke und einen sender aus der dazugehörigen combobox abspielen will. Der fehler tritt aber nich auf wenn ich den erste radiobutton (radioButtonTechno) und die dazugehörige combobox zuerst abspiele und danach den radiobuttonRock klicke ....

Für hilfe währ ich echt dankbar. Bin erst neu in VB :/

OK hat sich erledigt, habe woanders schnelle hilfe bekommen
Hier die zwei lösungswege

1. das And als AndAlso schreiben

2.
Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If RadioButtonElectro.Checked = True Then
            If ComboBoxElectro.SelectedItem.ToString = "Technobase.fm" Then
                AxWindowsMediaPlayer1.URL = ("http://listen.technobase.fm/dsl.asx")
            ElseIf ComboBoxElectro.SelectedItem.ToString = "Housetime.fm" Then
                AxWindowsMediaPlayer1.URL = ("http://listen.housetime.fm/dsl.asx")
            ElseIf ComboBoxElectro.SelectedItem.ToString = "Hardbase.fm" Then
                AxWindowsMediaPlayer1.URL = ("http://listen.hardbase.fm/dsl.asx")
            ElseIf ComboBoxElectro.SelectedItem.ToString = "Trancebase.fm" Then
                AxWindowsMediaPlayer1.URL = ("http://listen.trancebase.fm/dsl.asx")
            ElseIf ComboBoxElectro.SelectedItem.ToString = "Coretime.fm" Then
                AxWindowsMediaPlayer1.URL = ("http://listen.coretime.fm/dsl.asx")
            ElseIf ComboBoxElectro.SelectedItem.ToString = "RauteMusik Club" Then
                AxWindowsMediaPlayer1.URL = ("http://club-high.rautemusik.fm/listen.asx")
            ElseIf ComboBoxElectro.SelectedItem.ToString = "RauteMusik FunkY" Then
                AxWindowsMediaPlayer1.URL = ("http://funky-high.rautemusik.fm/listen.asx")
            ElseIf ComboBoxElectro.SelectedItem.ToString = "RauteMusik HardeR" Then
                AxWindowsMediaPlayer1.URL = ("http://harder-high.rautemusik.fm/listen.asx")
            ElseIf ComboBoxElectro.SelectedItem.ToString = "RauteMusik BigCityBeats" Then
                AxWindowsMediaPlayer1.URL = ("http://bcb-high.rautemusik.fm/listen.asx")
            ElseIf ComboBoxRock.SelectedItem.ToString = "Sky.fm Alternativ Rock" Then
                AxWindowsMediaPlayer1.URL = ("http://www.sky.fm/wma/altrock.asx")
            ElseIf ComboBoxRock.SelectedItem.ToString = "ChronixRadio" Then
                AxWindowsMediaPlayer1.URL = ("http://www.chronixradio.com/chronixaggression/listen/listen.asx")
            End If
        End If
        If RadioButtonRock.Checked = True Then
            If ComboBoxRock.SelectedItem.ToString = "Sky.fm Alternativ Rock" Then
                AxWindowsMediaPlayer1.URL = ("http://www.sky.fm/wma/altrock.asx")
            ElseIf ComboBoxRock.SelectedItem.ToString = "ChronixRadio" Then
                AxWindowsMediaPlayer1.URL = ("http://www.chronixradio.com/chronixaggression/listen/listen.asx")
            End If
        End If
    End Sub
Kann geclosed werden
Pati1112 is offline  
Old 02/24/2011, 21:23   #2
 
elite*gold: 0
Join Date: Jan 2011
Posts: 144
Received Thanks: 73
Hi,
du solltest anstatt ComboBoxElectro.SelectedItem.ToString folgendes verwenden ComboBoxElectro.Text
Ronox is offline  
Old 02/25/2011, 22:39   #3
 
Pati1112's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 248
Received Thanks: 380
ist das besser?
Pati1112 is offline  
Reply


Similar Threads Similar Threads
BRAUCHE HILFE 2010 SF
02/16/2011 - Metin2 Private Server - 5 Replies
Ich brauche hilfe.. ich hab mir die sf von computerkrank v2 runtergeladen und will die 2010er db und so raufhauen.. ich hab aber keine ahnung wo ich 2010er db finden soll oder wie ich sie raufhauen soll.. :( ich hoffe es kann mir jemand helfen..
[Brauche unbedingt Hilfe 2010 Client/Files]Lagerverwalter & Lehrer
02/06/2011 - Metin2 Private Server - 5 Replies
Hallo, ich brauch unbedingt Hilfe, ich kann die Lehrer nicht anklicken ebenso öffnet sich das Lager nicht, ansonstn gehen eig alle Quests. Kann mir evtl jmd per Messenger die Lager & Lehrer quest schicken oder mir sagen wie ich das verbessern kann? Lg
Brauche Hilfe Bei 2010 client
11/23/2010 - Metin2 Private Server - 2 Replies
ich kann 2010ClientHelper.dll aus dem 2010 client nicht entpacken kann mir jemand helfen?
brauche hilfe für 2010 client
09/23/2010 - Metin2 Private Server - 16 Replies
ich habe folgendes problem ich habe meinen 2010 client soweit das bis zu char auswahl komme danach bekomme ich kick zum login screen hab alles so gemacht wies sein sollte.... hat jemand ideen



All times are GMT +1. The time now is 08:42.


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.