YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

use custom .NET Controls in ProcessBook Options · View
be.sule
#1 Posted : Wednesday, May 11, 2011 9:23:47 AM
Rank: Newbie
Groups: Member

Joined: 2/15/2011
Posts: 7
Hello guys,

is it possible to use a custom control created in VB.NET in an ProcessBook pdi ?
Sponsor  
 

OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System.
We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ  or contact OSIsoft vCampus for more details.
maxim
#2 Posted : Tuesday, September 20, 2011 12:52:01 PM
Rank: Member
Groups: Member

Joined: 6/10/2010
Posts: 16
Location: UK
be.sule wrote:
Hello guys,

is it possible to use a custom control created in VB.NET in an ProcessBook pdi ?


Yes it is possible.
make your control com visible in Assembly and In both the Debug and Release modes of the Property Pages, set the "Register for COM Interop" checkbox
then
To register the assembly, you must use the .NET equivalent of regsvr32, regasm. This is located in the framework directory, usually "C:\WINDOWS\Microsoft.NET\Frmaework\v2.0.50727". To register it, open a command prompt and run the following command, assuming that the framework directory and the assemblies directory are in the environment's current path.

And after that you can add reference to yor vba
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.