PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD18] WD doesn't see any external resources
[WD18] WD doesn't see any external resources
Iniciado por guest, 21,nov. 2014 01:21 - 15 respuestas
Publicado el 21,noviembre 2014 - 01:21
Hi

I am having a nitemare right now with WD.

1st I could not get a checkbox in a table column to appear when I ran my app from the EXE. It shows up when I run the app from WD but disappears when I run the app at runtime from the EXE file. I did a work around but even with people giving me a lot of help the problem was not solved. OK it's scary to think I will never be able to use checkboxes in the future and that was bad enough.

I just put an image in an image control on my start page. And guess what, yes you're right. It shows up when I run the app from WD but it does not show up at runtime when I run the app from the EXE. I have made sure that the jpeg file is in my resource list in my compile configuration.

I never use a theme style on my windows. I always select None for my window theme. What I did was I changed the Window Theme to the Zune theme in the window properties. Then I clicked the run button. Inside the WD environment it looks great. I then built an EXE and ran it. The window had nothing but RED X's everywhere an image probably should of been..

My project can not see any themes styles images as well as any type of image at all, period. WD can not see any file external from WD, even it's own theme style images provided by WD. Does anybody know what would cause this.

This is a show stopper. God, I need some help. I have been using WD for 10 years now. I am too old to have to learn another development tool. But I have to be able to sleep at night. Is this going to happen with all my future projects. I just finished a project I worked on for 2 years and that project works just fine. This was the first new project that I started since that project. Thank God it still works fine but it is always on my mine that it could start doing the same thing.

I really, really need some help here. This is my last hope. I thank everyone who has tried to help me so far. I will be in the debt for a long long time to anyone who has the answer to this problem.
Publicado el 21,noviembre 2014 - 01:42
John,

It might be an idea to put the project on DropBox or similar and let people have a look? If you don't want to do that, then start a new project and try to do a similar thing and if it happens, put that on DB? I can't guarantee that I can help, but I don't like to see a fellow WD'er suffer... <img src="/NG2013_WEB/ui/smiley/2.gif" align=absmiddle border=0 alt=":-(">
Publicado el 21,noviembre 2014 - 01:51
Hi Darren

I put the project folder named HDWDL in my Dropbox folder. Here is the link.

<a class="ExternalLink" rel="nofollow" target="_blank" href="https://www.dropbox.com/sh/pl4rwkz06slj5wl/AABY6Z4deiLIKjB6L_eLCksqa?dl=0">https://www.dropbox.com/sh/pl4rwkz06slj5wl/AABY6Z4deiLIKjB6L_eLCksqa&hellip;</a>

Thanks so much Darren. Anybody can access the folder. I hope I did it right. I just started using dropbox about a month ago. This is the first time I have used it so if you have any problems let me know.
Publicado el 21,noviembre 2014 - 02:53
Hello John

I tried downloading but the project wouldn't load.
Any chance you could just put a single zip file into the dropbox ?

Regards
Al
Publicado el 21,noviembre 2014 - 03:34
Hi Al

Here is the link to HDWDL.zip

<a class="ExternalLink" rel="nofollow" target="_blank" href="https://www.dropbox.com/s/e6saf12qrlgt9vt/HDWDL.zip?dl=0">https://www.dropbox.com/s/e6saf12qrlgt9vt/HDWDL.zip&hellip;</a>

Thanks Al for your time effort. Hope you can figure this out.
Publicado el 21,noviembre 2014 - 11:04
Hi John,

I managed to download from your link and if it's any consolation (I'm sure it's not), I get the same result as you do.

Now, I have a question and please note that it's based on 10 minutes of downloading and compiling your app:

My first observation is; your image "seems" to be on plane zero and is overlaying your buttons. Now, according to the Help (and the bits of stuff I've done with planes in the past), everything on plane zero is displayed on the window irrespective of what other planes are displayed - that's my understanding anyway. I've not looked at your code (and I'm away from my dev machine at the mo), so my question is have a look at how you are handling your planes. Maybe because the image is a single image control overlaying by many other controls on a different plane - this might be causing your issue?
Publicado el 21,noviembre 2014 - 11:13
Hello John

Does "NFI" mean the same in your country as mine, because that's where I am.

I have tried a few things with no luck at all, even running it under V19 changes nothing.
It has to be image/style related as if you change the column from Boolean to numeric it works perfectly. When I put a style on it I get the red crosses that you referred to for missing images and manually adding the images in at the exe creation did not fix the problem, neither did removing the style and using one of mine or substituting one of my tables that works fine with checkboxs for yours. Changing from a file based table to memory based did not fix it either which is why it has to be style/image related.

The only thing I can think of is to create a complete new project with absolutely no style or theme and create it again, because the problem may be in the internal fabric of the project.

Now that you have created a test project, you could send it straight off to tech support and let them have a go.

Regards
Al
Publicado el 21,noviembre 2014 - 12:47
Hi John

I think I found the problem... This is what I did:
- downloaded your project
- test it/go: racehorse image visible
- Created the exe (and that is when I had THE idea) and tested it: no racehorse image visible
- created the exe again, and this time, in the list of DLLs, included the IMAGE MANAGEMENT dll which was for an unknown reason, marked as useless. tested: RACEHORSE IMAGE VISIBLE!!!

Hope that is the only problem....

Best regards
Publicado el 21,noviembre 2014 - 12:49
John,

for some reason the wd180img.dll is not marked on the framework-page of the executable-creation-wizard.
If you turn that on the horses image is visible again, and I guess is solves the other image issues as well.
Publicado el 21,noviembre 2014 - 12:50
Fabrice you won. Just saw your post...
Publicado el 21,noviembre 2014 - 13:08
:cheers:
Publicado el 21,noviembre 2014 - 13:38
Fabrice and Arie,

Well done - good catch <img src="/NG2013_WEB/ui/smiley/1.gif" align=absmiddle border=0 alt=":)">

I think we all knew that it had to be something project specifc but this was a bit further "out there" !!
Publicado el 21,noviembre 2014 - 14:29
Hi Darren

Everything on plane 0 will be visible on all the planes. The version I first put up I had just put the image control in my program and when it didn't show at runtime I didn't put in the code to manage the visible property of the image based on what plane I was on. I then finished the code and put a new version up. I did this within 5 minutes of putting up the first version. You must of beat me to it. Thanks so much for all your time and effort and caring. I won't forget.
Publicado el 21,noviembre 2014 - 14:40
Hi Darren, Fabrice, Ari, JP and AL:cheers:

I want to thank you guys so much and I mean so much. I scanned that list 2 or 3 times and over looked that dll. I can't believe I did that. I also suspected it had to be project specific since my other projects didn't have the problem But I can't believe I scanned that list at least twice and over looked a file named wd180img.dll.

Again I want to thank you guys and everyone else so very very much.

I am going to sleep great tonite.
Publicado el 21,noviembre 2014 - 19:38
Hi John,

No worries - as long as it's sorted :spos:

Just one other thing; did you spot the typo on the Files drop-down menu - "Cofiguration"?
Publicado el 21,noviembre 2014 - 19:41
Hi Darren

I didn't notice that. You the man.

Thanks Darren