Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with BMPs in APP
Message
De
25/02/1997 03:55:53
Narendra Lilaramani
Gentech Business Machines Ltd
Ahmedabad, Inde
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00021465
Message ID:
00021906
Vues:
58
>>>>This is a same discussion I initiated few days back. But I think there is no solution to the problem. I have included BMPs & ICOs in EXE, but does problemremains same
>>>>
>>>>Narendra
>>>
>>>You're right. I'm sorry I didn't remember your name when I reinitiated the thread. The only solution I found until now: build your APP/EXE on the C drive. Since almost any PC has a C drive, it should work.
>>>
>>>Did you notice any similar problem with other types of files?
>>>
>>>Vlad
>>
>>No, not yet. But one other thing I noticed. In other files option of Project, you can include all sorts of files. Now I wonder if I can do following things
>>i) My application uses few ReadOnly text files. Since data in the files should not be touched by End User, can I some how include this file in my EXE and refer to it?
>>ii) I have created True Type Fonts which are used in my application only. Can I include .FOT file in EXE & use it.
>>I have some APIs in mind to do that, but how exactly I should use.
>>Fox example (GETMODULE, FINaDRESOURCE & LOADRESOURCE APIs can be used. But I am not being successful yet. Do you have any idea?
>>
>>Narendra
>Including the text files will work fine. The font files need to be on the users' disk since this is a Windows resource and Windows will look for it. I have a routine that will install a TrueType font from FoxPro, if you are interested.

Rob,
If I include txt file in exe then will foll statement work properly
fp=fopen("test.txt") because i think this statement will only
search the file in current directory not in exe.

Yes, I want routine for installing TTF thru Foxpro. It will help me a lot.
Many many thanks for that in advance
My email is: gentech@ad1.vsnl.net.in
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform