lue
Posts: 20
|
Posted: 10/29/2006, 10:34 AM |
|
I want use (for example)
variable = rm.getString("CCS_Error")
in a public function, stored in the DataUtility.vb File to use translations of the System.Resources.ResourceManager. If i implement such variables in a normal page its no problem, but in the DataUtility.vb-File it doesnt function. I tried to declare rm in different forms but without success.
Who knows a solution? Thanks
Christian
|
|
|
Stan
|
Posted: 10/30/2006, 6:42 AM |
|
The instance of the ResourceManager is stored into the Application collection. You can obtain it via
rm = CType(Application("rm"),System.Resources.ResourceManager)
Stan
|
|
|
|