gizmo1 Posted November 1, 2008 Author Share Posted November 1, 2008 well png and tiff i believe don't work with eclipse, how ever its possible for it to work with vb6, i found this alpha image thingy on teh internet:http://files.filefront.com/aicalphaimageocx/;12223284;/fileinfo.htmland i know cyrus used it to support .png. anyways if you can figure it out, can you give me a tut on how to get it working on the sub: sub custommenupicturecause i did it and my images are blank now :huh: Link to comment Share on other sites More sharing options...
Lenton Posted November 1, 2008 Share Posted November 1, 2008 I don't see how this is possible because VB6 doesn't support the image type.Why do you have to use .png anyway? Link to comment Share on other sites More sharing options...
gizmo1 Posted November 1, 2008 Author Share Posted November 1, 2008 lol, for transparency, and it does support .png. Link to comment Share on other sites More sharing options...
xeross Posted November 1, 2008 Share Posted November 1, 2008 eclipse will support png in 3.0 Link to comment Share on other sites More sharing options...
gizmo1 Posted November 1, 2008 Author Share Posted November 1, 2008 lol, well look at this :P:```If casestring = "loadpiccustommenu" Then CustomIndex = parse$(1) strfilename = parse$(2) CustomX = Val(parse$(3)) CustomY = Val(parse$(4)) If strfilename = "" Then strfilename = "MEGAUBERBLANKNESSOFUNHOLYPOWER" End If If FileExist(strfilename) = True Then frmCustom1.picCustom(CustomIndex).AutoSize = True If frmCustom1.picCustom(CustomIndex).LoadImage_FromFile(strfilename) Then End If frmCustom1.picCustom(CustomIndex).Top = CustomY frmCustom1.picCustom(CustomIndex).Left = CustomX frmCustom1.picCustom(CustomIndex).Visible = True Else frmCustom1.picCustom(CustomIndex).ClearImage frmCustom1.picCustom(CustomIndex).Visible = False End If Exit Sub End If``` Link to comment Share on other sites More sharing options...
Lenton Posted November 1, 2008 Share Posted November 1, 2008 I just checked and if i try and set the form background as a .png it won't work. Link to comment Share on other sites More sharing options...
gizmo1 Posted November 1, 2008 Author Share Posted November 1, 2008 lol, i'm setting up a tut, cause it works for me :P. Link to comment Share on other sites More sharing options...
gizmo1 Posted November 1, 2008 Author Share Posted November 1, 2008 bump, tut made: http://www.touchofdeathforums.com/smf/index.php/topic,33318.msg305332/topicseen.html#msg305332enjoy :P Link to comment Share on other sites More sharing options...
Tyr Posted November 2, 2008 Share Posted November 2, 2008 heh kwl idea :) Link to comment Share on other sites More sharing options...
gizmo1 Posted November 2, 2008 Author Share Posted November 2, 2008 np, i got it to work by doing a bit of modifications, its not hard either, i could do that and send it back to whoever is working on eclipse 2.8 :P. Link to comment Share on other sites More sharing options...
KevinBoy Posted November 2, 2008 Share Posted November 2, 2008 I'm not sure if it'll work but just change the number to the one you want so for you it'll be For i = **2** To 3, I guess.. lol I've never tried it.Private Sub Form_Load() Dim i As Long Dim Ending As String For i = 1 To 3 If i = 1 Then Ending = ".gif" End If If i = 2 Then Ending = ".jpg" End If If i = 3 Then Ending = ".png" End If If FileExists("GUI\IPConfig" & Ending) Then frmIpconfig.Picture = LoadPicture(App.Path & "\GUI\IPConfig" & Ending) End If Next i Link to comment Share on other sites More sharing options...
gizmo1 Posted November 2, 2008 Author Share Posted November 2, 2008 yeah it will work like this to in server:call custommenupicture(index, 1, "\path\path\picture.png", 0, 0) Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted November 7, 2008 Share Posted November 7, 2008 @â—‹:> np, i got it to work by doing a bit of modifications, its not hard either, i could do that and send it back to whoever is working on eclipse 2.8 :P.Ive already added .png support. Probably the first thing added to EE3.0. Link to comment Share on other sites More sharing options...
gizmo1 Posted November 7, 2008 Author Share Posted November 7, 2008 lol, that sucks :(. ok well this thread is worthless, mod close it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now