Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wizard bitmap problem
Message
 
 
To
24/11/2000 10:31:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00444981
Message ID:
00445209
Views:
15
>Hi Mike,
>Thanks. I think I found the reason of why my picture on some buttons can't >shown up.
>The picture property of all buttons is =HOME()+"WIZARDS\WIZBMPS\WZXXX.BMP"
>When I run my form in VFP, the home() = "D:\VFP5\" which is my VFP's >directory, so everything works fine.
>But when I run the exe file, the home() becomes to "c:\windows\system" so >those picture's path is wrong. I still don't know why the New and Edit buttons >don't have this problem though their pictures is =HOME()>+"WIZARDS\WIZBMPS\WZXXX.BMP"
>I have searched the help file and options, can't find any hint why the home() >changed in the exe file and how can I set it to the correct path. Do you have >any hint?

You could copy them into your application directory (create a directory called "WIZARDS\WIZBMPS\ and instead of using:
HOME()>+"WIZARDS\WIZBMPS\WZXXX.BMP" ,
use
SYS(5)+ ()>+"WIZARDS\WIZBMPS\WZXXX.BMP"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform