Load-picture strange behaviour

  • Thread starter progresscommunities@progr
  • Start date
Status
Not open for further replies.
P

progresscommunities@progr

Guest
Hi,



OE10.2ASP03 - Win 7



We're having a problem with the load-picture statement.

We have two programs that uses the same OCX (Gantt-chart).

It's possible to load icons in the chart to display.

Everything works fine when we run our application with 'prowin32.exe' in the shortcut.

The piece of code is :



DEF VAR chpic AS COM-HANDLE.

chpic = LOAD-PICTURE(G-clientimg + "alertplanning.ico").



Strange thing is, when we change the application shortcut to 'prowc.exe' the webclient just crashes on the load-picture statement.

When we change 'alertplanning.ico' to a jpg-file it works with prowin32.exe and prowc.exe. Problem is then that the OCX only can load .ico-files.

Is there a workaround, because it seems that prowc.exe can't handle load-pictue(".ico").



Kind regards,

Bart Syryn

Continue reading...
 
Status
Not open for further replies.
Top