GetActiveLanguage question...


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Actually the DAT file is automatically managed so you do not need to deploy this.  However, this may be a potential issue and I will look into this.  The problem is that the if more than one person is trying to open the same DAT file then it will corrupt the file.  More than likely this is what is happening and the file became corrupt.  Thanks for the heads up.
StarkMike
StarkMike
StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)
Group: Forum Members
Posts: 436, Visits: 944
I just deployed a simple app I wrote and i figured out that this was the line causing a problem.



MicroFour.StrataFrame.UI.Localization.MessageLocaleID = MicroFour.StrataFrame.UI.Localization.GetActiveLanguage("BluePrintLog2K5")



Our users connect to our apps through remote desktop (terminal server) and GetActiveLanguage is looking for a .dat file in AllUsers. I was curious as whether the .dat file its looking for gets placed there when you install the app? We deploy our apps using the "XCopy" method so we never actually "install" them per se.



I changed the line of code to this: MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1033 which is fine because i dont ever see us writing apps in different languages but I was just curious as to the hows and whys i mentioned above.



Thanks

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search