Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VB 2008 Express

Empfohlene Antworten

Hallo Jungs,

vielleicht kann mir jemand von euch helfen. Was das proggen angeht bin ich noch ziemlich am Anfang und versuche erstmal mir Grundkenntnisse anzueignen.

Zur Zeit arbeite ich mit der kostenlosen Version von MS Visual Basic 2008. (Express Edition)

Jetzt zu meiner Frage:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Shell("C:\ % ProgramFiles % \Microsoft Office\Visio11\Visio.exe ", vbNormalFocus)

Wie kann ich Variablen, wie in einer Batch Datei in VB eingeben? Hier in diesem Beispiel ist der Programm Ordner bei internationalen und nationalen Windows Version unterschiedlich. Mit der Variable %ProgramFiles% will ich das prog für jeden Rechner einrichten.

Hat jemand Rat?

Gruß

MASTEQ

versuchs mal hiermit:

'erst eine Variable deklarieren

dim strProgramFilesPath As String= System.Environment.GetFolderPath( Environment.SpecialFolder.ProgramFiles)

Shell("C:\" & strProgramFilesPath & " \Microsoft Office\Visio11\Visio.exe ", vbNormalFocus)

anzumerkenderweise liefert GetFolderPath immer den vollqualifizierten pfad, auf deutschen systemen also "C:\Programme".

"C:\" & strProgramFilesPath wäre also doppelt gemoppelt.

s'Amstel

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.