Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with BMPs in APP
Message
From
24/02/1997 23:16:05
 
 
To
24/02/1997 02:11:15
Narendra Lilaramani
Gentech Business Machines Ltd
Ahmedabad, India
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00021465
Message ID:
00021897
Views:
49
>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?

As far as I tryed it, you can. But since this problem with BMPs... I'm sure you can include a Config.fpw, for example.

>ii) I have created True Type Fonts which are used in my application only. Can I include .FOT file in EXE & use it.

I think you must register first any new font. I never done it by program, but look at AddFontResource(), RemoveFontResource() in Win32Api. There are also some messages to be send when you add/remove fonts.

>I have some APIs in mind to do that, but how exactly I should use.
>Fox example (GETMODULE, FINDRESOURCE & LOADRESOURCE APIs can be used. But I am not being successful yet. Do you have any idea?

Again, as far as I know, fonts are not resources (e.g. I don't think you can include them in a resource file).

So, no much help...

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform