Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Can't run xxxtest.prg

$
0
0
Re: Can't run xxxtest.prg
FoxInCloud
Re: Can't run xxxtest.prg
02/13/2012
08:02:59 AM
3FK0H979L Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None

In that case I am not sure how much help I can be at the moment since I can run it fine. However if I can and it is still an issue later I can install the trial on amachine and see what I can come up with.

Yes, these several commands I added last Friday as part of a test we made with Thierry. I have forgot to remove them afterwards, however they are not the source of GDI+ error. In fact they run correctly and print on VFP screen width and height of FoxInCloud-panel.jpg. Error comes later when RETURN this.wFormStandardPage('form1.scx') is executed.

Plamen


I can run fine your form with no errors. In the code you put into awprocess to create an image, you get error when you try and

? o.imageheight

because the previous call to
o.createfromfile

fails. If it fails, the props imageheight/width are not added to the object.

When I used a graphic that existed on my system, I had no errors there either.


Yes it has _gdiplus.vcx included in aw.app. I think Thierry is close to solution so you'd better wait a little.



Does the trial FiC maybe have GDI+ class lib built in? if so you could have a conflict.

Right now I do not have another machine I can install the trial on, but perhaps later today a machine will be free.

Thanks Tuvia, I haven't made changes to the project since I sent it to you. Thierry suspects some aw.vcx problems but we haven't come to end yet. I guess you would be able to reproduce the problem if you run my project in a test-version of FIC.


If you want to send me updated code/pics I still have your project set up I can take a look.

Hi Thierry,

Strange but paths to images in these forms are not broken. When I open forms I don't get a message about missing images. Paths are like this:

c:\program files\microsoft visual foxpro 9\tools\ab\graphics\indicator_remembermilk_orange.gif
c:\program files\microsoft visual foxpro 9\tools\ab\graphics\question64.png

the images are existing at these locations and following forms open without error messages:

C:\Program Files\Microsoft Visual FoxPro 9\Tools\AB\aw.vcx!awfrm
C:\Program Files\Microsoft Visual FoxPro 9\Tools\AB\aw.vcx!awfrmmb
C:\fic_small2a\xxx.vcx!xxxfrm (c:\fic_small2a\ is my project's folder)
C:\fic_small2a\xxx.vcx!xxxfrmmb
C:\fic_small2a\form1.scx

So I have no broken paths to fix, what else could I do?

Plamen helped us track down the bug :
it occurred when a VFP image.Picture link was broken (may happen if a vcx is moved between folders).

We've fixed the issue in code, will come with next release (V. 1.10 including full VFP event model support).

Meanwhile, one needs make sure all .picture pathes are correct in VFP classes and objects.

ThN


Viewing all articles
Browse latest Browse all 10393

Trending Articles