SharonLove
Programmer
Who knows what causes the return value of the App.EXEName property to be always upper case on Win98 systems, but not on NT systems?
Example:
Actual Exe name is "MyApp.exe"
On Win98 systems (same VB run time files), App.EXEName returns the value: "MYAPP".
On NT: "MyApp"
Reason: Per customer request, I'm trying to do a binary comparison of the Exe name so if anyone changes the name to something different than desired, the application will not run.
If StrComp(App.EXEName, "MyApp", vbBinaryCompare) = 0 Then
'Ok
Else
End
End If
Example:
Actual Exe name is "MyApp.exe"
On Win98 systems (same VB run time files), App.EXEName returns the value: "MYAPP".
On NT: "MyApp"
Reason: Per customer request, I'm trying to do a binary comparison of the Exe name so if anyone changes the name to something different than desired, the application will not run.
If StrComp(App.EXEName, "MyApp", vbBinaryCompare) = 0 Then
'Ok
Else
End
End If