×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Toolbar with exe file

Toolbar with exe file

Toolbar with exe file

(OP)
I have a new exe file compiled and I see this toolbar across the top of my app's window
How can I remove it please?
The blue above is my desktop and the ochre below is my app's screen.


GenDev

RE: Toolbar with exe file

That's the standard toolbar from the VFP IDE. It usually is only available in the IDE, but would appear in your EXE, if you share your development foxuser.dbf with your EXE.

So don't share the foxuser.dbf. The simplest way to not share it is: Move your EXE into a new folder, starting it, it will create its own foxuser.dbf and that by default will not show IDE toolbars.

If you intentionally share a foxuser.dbf for having some other features, a customized report preview toolbar, for example, well, then close the toolbars in the IDE, copy the foxuser.dbf in that state and your EXE also will have no IDE toolbars opened.

Chriss

RE: Toolbar with exe file

You can hide the toolbar as follows:

CODE -->

IF WEXIST("Standard")
  HIDE WINDOW "Standard"
ENDIF 


Put that at the start of your main program.

And to bring it back:

CODE -->

IF WEXIST("Standard")
  SHOW WINDOW "Standard"
ENDIF 


Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: Toolbar with exe file

You can hide and show other toolbars in exactly the same way. Just use the relevant toolbar name in place of "Standard". For example:

CODE -->

IF WEXIST("Form Designer")
  HIDE WINDOW "Form Designer"
ENDIF 


For a full list of toolbar names, see the Help topic for SHOW WINDOW.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: Toolbar with exe file

(OP)
Thanks to both of you...

GenDev

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close