This runs fine on my development machine but dies without complaining when I build then run on a client. The offending code is below. I get a messagebox saying "Setting Globals" then after a few more seconds the program quits.
I have tried just copying the exe from the release folder and using publish and installing it - same things happen. Any ideas?
I have tried just copying the exe from the release folder and using publish and installing it - same things happen. Any ideas?
VB.NET:
MsgBox("Setting Globals")
dbPath = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData)
dbPath = Path.Combine(dbPath, "PdmPOS")
MsgBox("dbGlobals set")