Hello,
I have a normal VB 2008 form with a WebBrowser control inside it (docked to fill the whole form). I have FormBorderStyle set to none and the TransparentKey is red. I then have this HTML code inside the WebBrowser that loads a Flash file, makes the background of the Flash object...
Okay I'm loading a GIF or PNG with
Dim Img1 as Image = Image.FromFile(FileName$)
Then, according to msdn, I should be able to retrieve the transparency index by doing the following:
TransparencyIndex = Img1.GetPropertyItem(&h5104).Value(0)
&h5104 corresponds to the property item for the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.