VB.NET-Quellcode
- Public Sub vButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
- Try
- If Not panel Is Nothing Then
- Dim files As String = ""
- For Each con As Control In panel.Controls
- If TypeOf con Is Label Then
- files = con.Text & ".lnk"
- End If
- Next
- Process.Start(Application.StartupPath & "\Daten\Desktop\" & files, vbMaximizedFocus)
so jetzt möchte ich das wenn mehrere panels bestehen man auch das andere prog ausführen kann