Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Remove Close button in MDI Form

Posted on 1999-07-11
Medium Priority
Last Modified: 2008-03-10
hai friend,

   I am Sasi from Hyderabad. I am developing an application in VB6.0 using RDO'S.I am using the MDI Form and i want to remove the close button (which is at the upper right corner) in that form.I have no solution to remove that button.Please give an idea about it with sample code .

Thanking you
Question by:sasisekhar
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

Edward98 earned 200 total points
ID: 1523638
You can try and set the Borderstyle = 0 , that will remove the close button.
LVL 13

Expert Comment

ID: 1523639
hmm, there are better answers
LVL 10

Expert Comment

ID: 1523640
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 10

Expert Comment

ID: 1523641
PS - it is not possible to set the Borderstyle of an MDI form :) (without apis)

Expert Comment

ID: 1523642
For an exact answer about how to do this, check out the following site:

The code is on this site.
LVL 10

Expert Comment

ID: 1523643
Sasi from Hyderabad must have forgotten about this question.
LVL 10

Expert Comment

ID: 2096554
anyone looking at this question please be advised that my homepage is has moved from domain to

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question