Creating first ever screen : NullReferenceException
-
- Posts: 55
- Joined: Thu Jun 12, 2014 1:02 pm
Re: Creating first ever screen : NullReferenceException
I have reverted back to the original one, not yours and it's date is 21st July 2013 12:08pm
Re: Creating first ever screen : NullReferenceException
Was the newer one giving you problems?
-
- Posts: 55
- Joined: Thu Jun 12, 2014 1:02 pm
Re: Creating first ever screen : NullReferenceException
Still no luck with the latest DLL file...
- Attachments
-
- This is the resulting object that I have to delete before my screen works again....
- 2014-07-04_164330.jpg (133.23 KiB) Viewed 2008 times
-
- 2014-07-04_164156.jpg (39.64 KiB) Viewed 2008 times
-
- 2014-07-04_164142.jpg (20.83 KiB) Viewed 2008 times
-
- Posts: 55
- Joined: Thu Jun 12, 2014 1:02 pm
Re: Creating first ever screen : NullReferenceException
Poked around and changed the State 1 name and State 2 name from OFF and ON to OPEN and CLOSED and now my screen works okay....
- Attachments
-
- 2014-07-04_165551.jpg (25.14 KiB) Viewed 2008 times
Re: Creating first ever screen : NullReferenceException
The file I posted in this topic is the same as the one in the linked topic. I just posted it again for convenience.
I have seen cases where Windows recognizes that a file is not the same version as the one from the OSA Installer and so it overwrites it with the original file.
That's why I'm asking the file date/time of C:\Program Files\OSA\OSAE.UI.Controls.dll
I have seen cases where Windows recognizes that a file is not the same version as the one from the OSA Installer and so it overwrites it with the original file.
That's why I'm asking the file date/time of C:\Program Files\OSA\OSAE.UI.Controls.dll
Re: Creating first ever screen : NullReferenceException
There has been a little bouncing back and forth on the Name/Label thing. The System should match on either in most places, definitely at the DB & API level, but apps like Screens may hard code against one or the other. OPENED/CLOSED should be the Label and the labels should be displayed, but pretty much every function should work with or at least accept the State Name. I will try to pay attention to that as I am working on the Screens app. But whatever the Dropdown boxes offer you should work because that is whatever one else is using for every State Image... that has never changed. Did you edit the object type by chance? Did you make the State Name OPENED/CLOSED? If so, I recommend using ON/OFF for the Name and Opened/Closed for the Labels...
Vaughn
Vaughn
-
- Posts: 55
- Joined: Thu Jun 12, 2014 1:02 pm
Re: Creating first ever screen : NullReferenceException
Hey Vaughn, you are beginning to speak too technical for my current OSA expertise 
I didn't do anything custom except try add a control as per my screenshots above.
Sent from my Nexus 5 using Tapatalk

I didn't do anything custom except try add a control as per my screenshots above.
Sent from my Nexus 5 using Tapatalk
Re: Creating first ever screen : NullReferenceException
Did you ever find this information?That's why I'm asking the file date/time of C:\Program Files\OSA\OSAE.UI.Controls.dll
-
- Posts: 55
- Joined: Thu Jun 12, 2014 1:02 pm
Re: Creating first ever screen : NullReferenceException
Yeah this is what the date is of the DLL that got installed as part of 043.tommysharp wrote:I have reverted back to the original one, not yours and it's date is 21st July 2013 12:08pm
Sent from my Nexus 5 using Tapatalk
Re: Creating first ever screen : NullReferenceException
I am curious what Object Type that Alarm Zone 2 - Lounge is. There shouldn't be types used OPEN/CLOSED for the State Name.