I'm trying to get the GetEnvironmentVariable("COMPUTERNAME", "") to work in vmWare v15.1.0 on my PC.
I'm running MacOS El capitan. JavaFX seems to work fine with RNE v8 and v9, went back to v8 but this command still returns an empty string.
My virtual Mac's name is Macstation in system properties. The command to find the Computername works on my PC however.
Can anyone of you out there test this on a real mac, or a Mac emulator to confirm if it works or not. Perhaps this is a vmware issue and not in B4J.
I'm running MacOS El capitan. JavaFX seems to work fine with RNE v8 and v9, went back to v8 but this command still returns an empty string.
My virtual Mac's name is Macstation in system properties. The command to find the Computername works on my PC however.
Can anyone of you out there test this on a real mac, or a Mac emulator to confirm if it works or not. Perhaps this is a vmware issue and not in B4J.
B4X:
Dim name As String = GetEnvironmentVariable("COMPUTERNAME", "")
Xui.MsgboxAsync(name, "Result")
Last edited: