Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to use THBImage control via code in .NET?

code CONTROL thbimage
0
Posted

How to use THBImage control via code in .NET?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123