LocationMy.Application.GetEnvironmentVariable SyntaxDim result As String = My.Application.GetEnvironmentVariable(name)
DescriptionThe GetEnvironmentVariable method returns the value of the named Windows environment variable. Usage at a Glance
ExampleThe following example displays the value of the triggerValue environment variable. Try MsgBox("Application triggered at " & _ My.Application.GetEnvironmentVariable("TriggerValue")) Catch ex As System.ArgumentException MsgBox("Trigger value not configured.") End Try Related Framework Entries
See AlsoApplication Object, CommandLineArgs Property |