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

Retrieve a Procbook Control into VIsual Studio Applicaiton Options · View
Black_Wolf44
#1 Posted : Wednesday, June 08, 2011 6:41:33 PM
Rank: Newbie
Groups: Member

Joined: 6/8/2011
Posts: 2
Location: Ontario, Canada
Hi,

I've got an addin I built for a processbook application that allows me to view images stored in the PI system. In my processbook display, I'm using a VSFlexGrid to list the images. When I click on a cell in this grid, the image appears in a pbImage box. In terms of functionality the application works well.

However, I wanted to add a feature to this application that VB6.0 does not support (uses the graphics library). So, I developed an addin in Visual Studio 2010, language VB. This addin also works well when separate from the program.

I want to join these two applications together. In order to do that, I need a way to retreive the pbControl (the activeX VSFlexGrid) into my addin. So far, I've been able to identify it as a symbol on the display, however, I cannot convert it to a VSFlexGrid class to use the sub procedures in my addin.

Any ideas?
BW44
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.
Black_Wolf44
#2 Posted : Wednesday, June 08, 2011 8:46:02 PM
Rank: Newbie
Groups: Member

Joined: 6/8/2011
Posts: 2
Location: Ontario, Canada
Never mind, I got it. Use a PBObjLib.Symbol.object to use ActiveX controls.
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.