MrKim Well-Known Member Licensed User Longtime User Wednesday at 3:24 PM #1 The following file worked fine until I created an executable (note the space). WCLightTheme .css It was in the files DIR. I was able to add it to the files tab. The following line worked: B4X: MachinesFrm.Stylesheets.Add(File.GetUri(File.DirAssets, "WCLightTheme .css")) It didn't fail until I tried to run the executable.
The following file worked fine until I created an executable (note the space). WCLightTheme .css It was in the files DIR. I was able to add it to the files tab. The following line worked: B4X: MachinesFrm.Stylesheets.Add(File.GetUri(File.DirAssets, "WCLightTheme .css")) It didn't fail until I tried to run the executable.
MicroDrie Well-Known Member Licensed User Longtime User Today at 2:42 PM #2 If you insist that the filename can contain a space, you could try to replace the space character with a hard space character. Upvote 0
If you insist that the filename can contain a space, you could try to replace the space character with a hard space character.