Search found 13 matches

by andis59
Fri May 26, 2017 6:06 am
Forum: Application Development
Topic: DataGrid gives ValidatesOnNotifyDataError
Replies: 4
Views: 9648

Re: DataGrid gives ValidatesOnNotifyDataError

Hello Andrea, The short answer: No! Beijer support have reproduced the error, but have not found why. (this was last year in February). They recommended that I change to the DataGrid in Windows.Forms instead. Which I did (I didn't have that much code that used the DataGrid but it took some time to r...
by andis59
Thu Mar 31, 2016 12:36 pm
Forum: Application Development
Topic: RESTful Web Service API - Write (PUT)
Replies: 1
Views: 7324

Re: RESTful Web Service API - Write (PUT)

I had a talk with Support and they can't get it to work either! But it's possible to use the TagBatch command. I can't get the getTag to work, but the putTag works. No error message if you try to update a tag that doesn't exist! Sort of a work around, but not very good! Hope these bugs will get fixe...
by andis59
Wed Mar 09, 2016 1:16 am
Forum: Scripting
Topic: How to Get Tag Value using string to Tag Function ?
Replies: 5
Views: 20180

Re: How to Get Tag Value using string to Tag Function ?

Wow! That must have taken a while to figure out!

Thank you very much!

// Anders
by andis59
Tue Mar 08, 2016 1:19 am
Forum: Scripting
Topic: How to Get Tag Value using string to Tag Function ?
Replies: 5
Views: 20180

Re: How to Get Tag Value using string to Tag Function ?

The problem is that the StringToTag don't work! It will always return null. You should never do: MessageBox.Show(StringToTag("value1").Value); When you have a function that can return null. You need to split it into several lines GlobalDataItem item = StringToTag("value1"); if(item!=null) { // here ...
by andis59
Sun Mar 06, 2016 3:56 pm
Forum: Application Development
Topic: RESTful Web Service API - Write (PUT)
Replies: 1
Views: 7324

RESTful Web Service API - Write (PUT)

I'm trying to read and write Tag values from an external program using the RESTful Web Service API. I have managed to get the read part to work, but not the Write! What I can see my program is sending the PUT call as described in the Reference Manual, but all the response I get is {"Code":404,"Messa...
by andis59
Thu Feb 25, 2016 2:36 am
Forum: Tags
Topic: Don't work - FAQ: How to convert a string to a Screen or Tag
Replies: 1
Views: 10017

Don't work - FAQ: How to convert a string to a Screen or Tag

I have tried to use the code from the FAQ: How to convert a string to a Screen or Tag, but I can't get it to work... First the GlobalDataItem is not found so this is needed using Neo.ApplicationFramework.Tools.OpcClient; But then it will not find my tag!? I have added the StringToTag function public...
by andis59
Thu Jun 25, 2015 6:43 am
Forum: Application Development
Topic: DataGrid gives ValidatesOnNotifyDataError
Replies: 4
Views: 9648

Re: DataGrid gives ValidatesOnNotifyDataError

I think is has to do with the .NET Framework version! iX Developer installs v3.5 and v4.0, but Microsoft wants to upgrade 4.0 to a later version. Om my machine "it" had upgraded to v4.5.1 When I reinstalled Windows and only installed iX Developer, thus getting v3.5 and v4.0 then the DataGrid works! ...
by andis59
Wed Jun 24, 2015 8:03 am
Forum: Application Development
Topic: DataGrid gives ValidatesOnNotifyDataError
Replies: 4
Views: 9648

DataGrid gives ValidatesOnNotifyDataError

I have an old application that has worked very well, but now all of a sudden I get this error The property 'ValidatesOnNotifyDataError' does not exist in XML namespace 'http//schemas.microsoft.com/winfx/2006/xaml/presentation' and it points to the Screen1.xaml Line 87 Position 71 On this line and po...
by andis59
Fri Apr 17, 2015 3:45 am
Forum: Application Development
Topic: log4net.config
Replies: 1
Views: 5799

log4net.config

iX is using log4net to do its logging, which is fine I like log4net!

My problem is that I can't get iX to use my log4net.config, it will always create a default config file in \temp\output.

How do I make iX use my log4.net.config file?

// Anders