B4J Question version 3.0 Beta 7. (SOLVED)

Discussion in 'B4J Questions' started by BeneBarros, May 23, 2015.

  1. BeneBarros

    BeneBarros Active Member Licensed User

    an error is occurring in version 3.0 Beta 7.
    the system does not find an image, but she's in the folder.
    see attached image

    in version 2.80 runs normally
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    Please open the jar file with 7zip or a similar tool and check whether the file is in the Files folder.
     
  3. BeneBarros

    BeneBarros Active Member Licensed User

    The image exists in jar file and it is used in all forms of the same project without returning error.
    the image is part of the header of all forms and as few in this subroutine that generates the error.
    Code:
    Dim ImageFiles() As String=Array As String("CkFalse.png""CkTrue.png""logoinn.png""TxtSepar.png")
        CopyAssetsToTemp(ImageFiles)   
    ...
    ...
    Private Sub CopyAssetsToTemp(Filenames() As String)
        
    Dim i As Int
        
    For i=0 To Filenames.Length-1
            
    If Not(File.Exists(tpPath, Filenames(i))) Then
                
    File.Copy(File.DirAssets, Filenames(i), tpPath, Filenames(i))
            
    End If
        
    Next
    End sub
    Thanks for listening
     

    Attached Files:

  4. Erel

    Erel Administrator Staff Member Licensed User

  5. BeneBarros

    BeneBarros Active Member Licensed User

    no problem.
    8.56 MB
    it's OK?
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    See my private message.
     
  7. BeneBarros

    BeneBarros Active Member Licensed User

    sent
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    The name of the file in the jar is logoInn.png not logoinn.png.
     
  9. BeneBarros

    BeneBarros Active Member Licensed User

    in the "Files" folder was correct, and when compiling put wrong in jar file.

    the mistake was in fxml files

    already corrected and running satisfactorily
    Thank you for your help ...
     
Loading...
  1. 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.
    Dismiss Notice