Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Case of Missing Icons...
Message
De
23/12/1997 13:21:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00067362
Message ID:
00067720
Vues:
35
>>>>>Thanks for the reply. I checked the path and it's EXACTLY correct, INcluding the filename. The weird thing is that ALL the pictures on my buttons (form or toolbar class) WERE working fine on both my local machine AND my client's PC. The only thing I did was go back and EXclude the forms, reports, and the prg's (but not the MAIN.PRG which is set to main). I did this because I didn't know to do it upon the initial installation. I now know it makes for much faster updates! But the pictures are all gone at the client's pc.
>>>>>
>>>>>Any other ideas? Did I mention I even went as far as to re-build the SETUP files, transfer, and re-install on the client's pc? That didn't work either!
>>>>>
>>>>>Relp!
>>>>>
>>>>>Happy holidays to you as well!
>>>>>
>>>>>TIA!
>>>>>
>>>>>Sincerely,
>>>>>
>>>>>Mark
>>>>
>>>>Mark, I'm surprised your program runs at all if you've excluded the forms. Forms, programs, classes should ALL be in the final EXE. Data (DBC and tables) and reports should NOT be included, although you'll get arguments about the reports.
>>>>
>>>>I'm not sure why you think anything would be faster with the Forms and PRGs excluded.....
>>>>
>>>>Barbara
>>>
>>>
>>>Barbara,
>>>
>>>touching on your comments... I EXcluded the forms because someone suggested I do so to speed updating the client's PC. Having to transfer only the scx and sct files for a form, versus an entire EXE is much faster. That's the only reason I have done this. Are you saying this is really no good with Microsoft and VFP or are you saying this is simply not good practice? Truthfully, I've not had a problem with the forms running whilst EXcluded from the project. Same goes for the prg's; I was uncertain about the MAIN.PRG because it's set to main, so I retained it as INcluded. I have my forms, reports, and prg's (less main.prg) all EXcluded. My classes (only 2) are INcluded, yet as noted below, the program asks for them after installation.
>>>
>>>
>>>Here's an update...
>>>
>>>this eve I recompiled my project (exe), and then created setup disks (netsetup); then I installed locally to another hard
drive.  Guess what!  No icons or bmps show up! -- just like my client's pc.
>>>
>>>Now, let me understand something, and hopefully you can figure out what I'm doing wrong... I've EXcluded all the forms, reports, and prg's (less the MAIN.PRG because it's set to main); I've INcluded the classes, yet when I install, the program reports it's missing the classes (there are two); only when I copy those vcx and vct files to the installed directory does the message go away.  This shouldn't be, should it?
>>>
>>>For the ico and bmp files...I know the path is right because 1) they show up on the form/toolbar, and 2) they are added to the 'other files' list.  When I compile the EXE, those ico and bmp files are quickly printed at the bottom-left of the screen (done by VFP showing its status) so I know they're getting into the final EXE file.
>>>
>>>What's so puzzling is that from the very first installation at the client's, the program and its pictures worked just fine!
>>>
>>>I recently installed service pack 3 -- I think maybe I installed SP3, updated my client's program, including EXcluding certain files to speed updates, and now the problem.  Could it be related?
>>>
>>>I appreciate your advice and efforts!
>>>
>>>Sincerely,
>>>
>>>Mark
>
>Sorry, everyone... Let's try this again with an actual MESSAGE!
>
>Mark, I still think it has to do with pathing to the BMP files. I've never tried to make an EXE with the forms not included, however I HAVE had problems with BMPs when they are in several places on my hard disk. The form may point to one place and the Other Files to a second place. On my computer it looks fine, on the client's computer it's a disaster.
>
>Try putting your BMP files onto the client's PC in exactly the same folder as the path in the form and see if they show up. If so, it may be that you can't call an INCLUDED bmp from an EXCLUDED form.
>
>The second possiblility is to add the BMP files to the form with relative pathing, using the ="mypicts\xxx.bmp" syntax. Then if you needed to install the BMPs for the client they would always be in the same place relative to the EXE.
>
>Let me know if anything helps.
>
>Barbara


Barbara,

I was wondering about that empty reply... ;-)

Seriously -- thanks again for the follow-up. I HAVE tried placing the icons (bmp or ico) onto the client's pc in EXACTLY the same folder (sub-dir). I placed them in the same folder as my local machine as well as in the installed directory on the client's, just incase. Still no luck! ALL of my icons are in one sub-dir on my machine, so the path is the same in all cases. I added a new button to the form, with a bmp picture on it -- it showed up on the client's end! Go figure! Something corrupt or what? I thought perhaps the project was corrupted in some way so I re-vamped it, but it still didn't help. I know, I just know this is yet another bug, compliments of Microsoft. I recently upgraded to SP3; could that have anything to do with it? I believe I upgraded in between my client's pc working WITH icons and then it working withOUT icons.

If I hear from you before, have a great Christmas! Type again with you soon.

Sincerely,

Mark W. Mitchell
mark@remarkable-systems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform