nztankgirl
Programmer
Hi,
I'm getting the following error on a machine which is running Windows in French when trying to run the below function.
Le format de la chaîne d'entrée est incorrect. (the format of string is invalid)
[The format of the input string is incorrect. (the size of string is invalid)]
The error seems to occur just after the OpenDBLink line.
if (_session_object == null)
{
_session_object = new AccpacSessionClass();
_session_object.Init("", "XX", "XX1000", "60A");
_session_object.Open(_accpac_user, _accpac_password, _company_name, DateTime.Today, 0, "");
_accpac_db_link_class = _session_object.OpenDBLink(tagDBLinkTypeEnum.DBLINK_COMPANY,tagDBLinkFlagsEnum.DBLINK_FLG_READWRITE);
}
Hoping someone will have some ideas please.
Thanks
I'm getting the following error on a machine which is running Windows in French when trying to run the below function.
Le format de la chaîne d'entrée est incorrect. (the format of string is invalid)
[The format of the input string is incorrect. (the size of string is invalid)]
The error seems to occur just after the OpenDBLink line.
if (_session_object == null)
{
_session_object = new AccpacSessionClass();
_session_object.Init("", "XX", "XX1000", "60A");
_session_object.Open(_accpac_user, _accpac_password, _company_name, DateTime.Today, 0, "");
_accpac_db_link_class = _session_object.OpenDBLink(tagDBLinkTypeEnum.DBLINK_COMPANY,tagDBLinkFlagsEnum.DBLINK_FLG_READWRITE);
}
Hoping someone will have some ideas please.
Thanks