How to use THBImage control via code in .NET?
Create the THBImage control via code and add it to the controls collection, it will show up a big black “X”. To prevent this please search in your forms for the SysKey property. Its a very long encrypted text. After creating the THBImage control via code assign the SysKey property to get rid of the black X. Your documentation talks about a THBStdPicture property all over the place, but for the life of me I cannot find this object in your assembly. This is the way it has to be done in ActiveX/Com: Set THBImage.Picture = ie.THBStdPicture But in .Net use the THBImageEdit property to assign a THBImageEdit object for viewing: thbImage1.THBImageEdit = ie; Or assign a .net image directly thbImg.Picture = Image.FromFile(@”C:\YourPath\YourPic.
Related Questions
- A 15% genetic variation was found between the samples and the control in an animal colony. What is the proper lab code reference for published study results?
- What standard process control features should be considered, and do they cover N.F.P.A and O.S.H.A code requirement?
- How to use THBImage control via code in .NET?