02-16-2012 01:55 AM
hi, i'm using an activeX control that has a property that needs a picture.
the problem that it is not a path to a picture.
it is StdType.picture refference.
i searched the internet for answers but couldn't find.
please help.
guy.
Solved! Go to Solution.
02-17-2012 12:40 PM
Hi hookso,
Is it possible for you to clarify more on the application of the VI so I have more of an understanding of the problem you are having? It could be helpful to show a snippet of your code so I can visually see what you are asking. Also, which ActiveX controller are you trying to use?
Regards,
02-19-2012 04:47 AM
I can't attach the VI nor picture of the block diagram because i work on a closed private network !
we bought in our company a moving map activeX several years ago from GMS (www.globalmajic.com).
our programmers worked with it on visual studio platform with no problem.
Now i'm trying to use it in labview.
when i select a property node named "Map picture" in order to insert an image of a map, - it requests an object named StdType.picture.
I know it is somehow related to OLE automation but i don't understand nothing of it.
02-20-2012 05:07 PM
Hi hookso,
I’m not sure exactly what file type you are going to need to go into the property node but, we can give this a shot to see if it works. If you have the specific image you need to input into the property node, you can place that image into an ActiveX container and see if that reference will wire to the property node.
You can do this by placing an ActiveX container on the front panel. Right clicking on the ActiveX container and selecting Insert ActiveX object… and then select create object from file. From there, select the picture you need to input into the property node. Now with the picture in the ActiveX container, go to the block diagram and try to wire that ActiveX reference into the property node.
Regards,
02-20-2012 09:43 PM
Problem Solved !
Just look at that Post : "How can I load a picture and use it in ActiveX in run time ??"