Robsonct Posted August 17, 2008 Author Share Posted August 17, 2008 I open the VB6 and edited my new GUI, I withdrew old pictures and put the new (and to adjust to the new pictures, I modified the width and height of the label), but after that compile and start the game, the menus are with the old pictures, as I solve this problem? :fart:(Excuse my bad English) Link to comment Share on other sites More sharing options...
Bobosk Posted August 17, 2008 Share Posted August 17, 2008 you have to delete some coding in each form…it generally looks like this```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\CreateGuild" & Ending) Then frmGuild.Picture = LoadPicture(App.Path & "\GUI\CreateGuild" & Ending) End If Next iEnd Sub```delete that in the forms you have your custom gui's in, and it should show up fine.. Link to comment Share on other sites More sharing options...
Robsonct Posted August 17, 2008 Author Share Posted August 17, 2008 Yes, but is in frmMirage I'm having this problem … (picInvetory, picWhosonline ..) And I can not find the source what you said, actually are not frm's ... How do I solve? (sorry have explained bad) Link to comment Share on other sites More sharing options...
unnown Posted August 20, 2008 Share Posted August 20, 2008 in the code of the form it loads the image 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