Forum Discussion
I attempted to work with Allen via Support email, but he told me to work with you on a problem I have with dotNET object. After using this solution for the WpfEditor controls, I began to notice Microsoft Visual C++ Error messages sometimes appear after these calls.
Here's my email to Allen:
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="Word.Document" name="ProgId" />
<meta content="Microsoft Word 12" name="Generator" />
<meta content="Microsoft Word 12" name="Originator" />
Hi Allen,
Yes regular values do not work against these fields. There are currently three different types we
use - System.Integer, System.Double, System.DateTime.
I created a forum thread about this
and David suggested to use the dotNET object to give me the correct type and it
works except sometimes this error message comes up.
[Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\...
R6034
An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information]
We're using DevComponents.WpfEditors.IntegerInput,
DevComponents.WpfEditors.DoubleInput, DevComponents.WpfEditors.DateTimeInput
fields.
Here's a code sample:
var object = NameMapping.Sys.pCatalyst.[More Child
Objects Here].WPFObject("mCustomEndTime");
var dotNETValue =
NameMapping.Sys.pCatalyst.AppDomain("UNX.Catalyst.Application.exe").dotNET.System.Double.Parse(value);
object.value = dotNETValue;
Again, the error message does not abort script
execution. After clicking Ok to dismiss
the message, the script continues to run and sets the value in the field.
Steve