Upgrading Symbol Factory ActiveX Projects
Please note: Symbol Factory .NET is not
an upgrade to the Symbol Factory ActiveX control. Any of your old projects will not automatically upgrade from using the ActiveX control. This means Symbol Factory .NET is technically not an upgrade, but rather a completely new product.
Moving your Symbol Factory ActiveX Projects to Symbol Factory .NET
However, it is perfectly acceptable to have both the .NET and ActiveX controls on the same Visual Studio project. So, to "upgrade" your ActiveX version, do the following:
- Place the SF.NET components into your toolbox (this should have already been done for you by the installation program if you choose for it to do so).
- For every Standard control you have, place a new SF.NET standard control next to it. Set the properties exactly as you did for the ActiveX version.
- For every Cutaway control you have, place a new SF.NET cutaway control next to it. Set the properties exactly as you did for the ActiveX version.
Changing the ActiveX References
For each piece of code that you wrote which referenced the older ActiveX controls, you will now need to change the object from the ActiveX Control to the .NET Control. For example, suppose you had this line:
axSFStandard1.AnalogValue1 = 50
And the SF.NET component "StandardControl1" replaced it, the new line of code will be:
StandardControl1.AnalogValue1 = 50
Of course, your component names may be different, but using the default names, here is a table that will describe what needs to be changed:
|
Symbol Factory ActiveX Control Name
|
Symbol Factory .NET Component Name
|
|
SFStandard
|
standardControl
|
|
axSFStandard
|
standardControl
|
|
SFCutaway
|
cutawayControl
|
|
axSFCutaway
|
cutawayControl
|
|
|