>> Compiled the exe with the toolbars open then set the foxuser files to
read only but it doesn't work.<<

The key is to use the FoxUser file you ship with the application

In the Command Window:

* Set the resource file to the one you will ship, I recommend a new one, not
the one you use for development
SET RESOURCE TO <your app FoxUser>

* Open a report
MODIFY REPORT ?

* Open the report toolbars you want the users to use (Report Controls,
Layout and Color Palette)
* Close the report

SET RESOURCE OFF

* Save off the FoxUser file to a safe place 
* Making it read only is so it keeps the coordinate for the toolbar location
fixed and so the user does not close the toolbar permanently.
* Make sure the application knows to use this resource file at runtime.
* Make sure it is part of the deployment package.

Much of this is discussed in 1001 Things You Wanted to Know About Visual
FoxPro on page 543.

Rick
White Light Computing, Inc.

www.whitelightcomputing.com
www.swfox.net
www.rickschummer.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/004201cb5be7$7ae3bef0$70ab3c...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to