Register for your free account! | Forgot your password?

You last visited: Today at 15:21

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

Advertisement



Frage

Discussion on Frage within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
The Black Market: 105/0/2
Join Date: Jan 2015
Posts: 745
Received Thanks: 27
Frage

Hey Com, ich verzweifel hier gerade.. ich bin ein totaler neuling bei Visual Basic und habe folgendes Problem. Ich möchte, das wenn ich einen Button klicke sich ein Programm vom Desktop öffnet. Das Problem ist ich mache das für unseren Clan und wenn dort der C:\Users\NAME\Desktop\Sempi.exe
anders ist funktioniert das ganze nicht mehr oder?

(so ist es gerade aufgebaut Process.Start("C:\Users\Juli\Desktop\Test123.exe")
ChiLetiMex3 is offline  
Old 07/14/2015, 22:13   #2
 
elite*gold: 8
Join Date: Sep 2014
Posts: 625
Received Thanks: 178
OpenFileDialog sollte dir beim Auswählen der richtigen Datei helfen. Und das nächste Mal bitte einen besseren Thread-Titel wählen. "Frage" hilft einem nicht sehr. Gruß
qqdev is offline  
Old 07/14/2015, 22:16   #3
 
elite*gold: 0
The Black Market: 105/0/2
Join Date: Jan 2015
Posts: 745
Received Thanks: 27
Danke werde ich mal austesten
ChiLetiMex3 is offline  
Old 07/14/2015, 22:47   #4
 
Biesi's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 182
Received Thanks: 185
Code:
Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
Gibt immer den Pfad zum Desktop des aktuellen Benutzers als String zurück
Biesi is offline  
Thanks
1 User
Old 07/19/2015, 14:33   #5
 
elite*gold: 0
Join Date: Jul 2015
Posts: 159
Received Thanks: 71
Und dann das ganze in Kombination mit Path.Combine() nutzen und alles ist super. xD
Yothri is offline  
Reply




All times are GMT +1. The time now is 15:22.


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.