Jump to content

Error loading UniImage


Tonivi

Recommended Posts

Hi,

 

when i'm trying to load a picture with this instruction

 

FormCRM.UniImage1.Picture.LoadFromFile('C:\Images\Image1.jpg');

 

The application give this error 

 

Uniimage1:TUniImage:Cannot create file "c:

\Users\Toni\Documents\embarcadero\S

tudio\projects\CRM1\Win32\Debug\cache\crm1_exe\vkZmavmZWFFE96C

30\LSWHTF17071821

0221833.jpg". El sistema no puede encontrar la ruta especificada

 

 

 

Unigui licensed FMSoft_uniGUI_Complete_Professional_1.0.0.1399_RC

 

Best regards

 

Link to comment
Share on other sites

  • Administrators

Hi,

 

when i'm trying to load a picture with this instruction

 

FormCRM.UniImage1.Picture.LoadFromFile('C:\Images\Image1.jpg');

 

The application give this error 

 

Uniimage1:TUniImage:Cannot create file "c:

\Users\Toni\Documents\embarcadero\S

tudio\projects\CRM1\Win32\Debug\cache\crm1_exe\vkZmavmZWFFE96C

30\LSWHTF17071821

0221833.jpg". El sistema no puede encontrar la ruta especificada

 

 

 

Unigui licensed FMSoft_uniGUI_Complete_Professional_1.0.0.1399_RC

 

Best regards

 

There is a problem with access rights to that folder. Make sure your EXE has full R/W access to cache folder.

Link to comment
Share on other sites

The problem was that i made reference to a label of a form that was not create yet.

In delphi normally gives en Access Violation, but in this case, no error was given, and when I tried to load en image, give me the error that seems problem with access rights.

It seems a bug, althought the error was mine.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...