Hi, I am looking for some help doc or guideline to integrate 'Select Database' UI control into my c# application.
Add a reference to the OSIsoft.AF.UI.dll assembly found in %PIHOME%\AF\PublicAssemblies. Also see %PIHOME%\HELP\AFUIRef.chm.
Thanks Rick, I have latest AFSDK installed on my machine. But this UI still using the older version. What's the best way for me to resolve this?
Error 13 Assembly 'OSIsoft.AF.UI, Version=184.108.40.206, Culture=neutral, PublicKeyToken=6238be57836698e6' uses 'OSIsoft.AFSDK, Version=220.127.116.11, Culture=neutral, PublicKeyToken=6238be57836698e6' which has a higher version than referenced assembly 'OSIsoft.AFSDK, Version=18.104.22.168, Culture=neutral, PublicKeyToken=6238be57836698e6' c:\Program Files (x86)\PIPC\AF\PublicAssemblies\4.0\OSIsoft.AF.UI.dll AfConfigurationAddIn
Looks like your AFSDK reference is to the pre-.NET4 AFSDK assembly, but you've grabbed the .NET4 assembly of AF.UI.
Delete your references and grab both from the same folder:
I have another 101 question. Since I am trying to use the Select Database dilog box. But I am not able to add the ocx\toolicon to my IDE.. Haven't done ui coding for a while. Sorry for my 101 questions.. is there a step by step chm file u can suggest. Many thanks!
Have you had a look here: https://my.osisoft.com/ ?
Thanks Andreas. This help tremendously.
Retrieving data ...