473,324 Members | 2,313 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Benefits of MDI Form

Can n e one tell me the benefits of using an MDI form???
In my project (vb6 n access) i have a main form from where the control goes to other forms depending upon what option the user selects. I thought of making MDI form the main form but i fail to understand the benefits of doing so. right now i have a regular form for it and it works fine. so is it advisable to switch over to MDI form or no???
Feb 2 '08 #1
5 3883
lotus18
866 512MB
Hi

This depends upon what application are you going to create. One benefit I think is that if you have many MDIChild forms and you want to close them all, you can simply close the MDIParent form : )

Rey Sean
Feb 3 '08 #2
You can also make your own windows like frames that you can move.

The benefits of that is that you can have a better controll of them, choose a different style, make a window in a window in another window.... and have all code in the same visual module.

The bad things is that you can't duplicate the frames at runtime like you can with real MDI and it's hard to use property bags when making the windows.

You can read about property bags in this site that I have used.
http://vb6mnt.blogspot.com/

You can look at the active X controlls that I have made in my application at
http://dawoodoz.com/fysik4_english.html
just download, unzip with the password "nosecret" and look at
DavidsWindowFrames.ocx
you can run the application and press edit to see how you can move and resize some of them.
Feb 3 '08 #3
dnb
34
You can also make your own windows like frames that you can move.

The benefits of that is that you can have a better controll of them, choose a different style, make a window in a window in another window.... and have all code in the same visual module.

The bad things is that you can't duplicate the frames at runtime like you can with real MDI and it's hard to use property bags when making the windows.

You can read about property bags in this site that I have used.
http://vb6mnt.blogspot.com/

You can look at the active X controlls that I have made in my application at
http://dawoodoz.com/fysik4_english.html
just download, unzip with the password "nosecret" and look at
DavidsWindowFrames.ocx
you can run the application and press edit to see how you can move and resize some of them.


Hi
i have been download "fysik4_english.html"
but after download "fysik4_english.html" i run that but there is error display "3DSTATE8" please say me solution of this error.

Thanks in advance..................
Feb 6 '08 #4
debasisdas
8,127 Expert 4TB
Hi
i have been download "fysik4_english.html"
but after download "fysik4_english.html" i run that but there is error display "3DSTATE8" please say me solution of this error.

Thanks in advance..................
It is always better to search for help in the site from where you have downloaded the files.
Feb 6 '08 #5
Hi
i have been download "fysik4_english.html"
but after download "fysik4_english.html" i run that but there is error display "3DSTATE8" please say me solution of this error.

Thanks in advance..................
Have you unzipped the package and started the executable? If it's a message in the application, write an error report with the full message in my site's guestbook. Questions about using my active X controlls can also be sent to the guestbook.
Feb 8 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Hamed | last post by:
Hello I have employed as a developer in a software company that its team uses FoxPro / VB 6.0 / VC++ 6.0 as the developing tools and newly is going to migrate to VS.NET. There is a project...
7
by: Norman Wooten | last post by:
Ok, I currently program in visual basic 5.0 (ouch, i know its old), Classic ASP & VBScript... I am about to make the jump to Visual Studio 2003, yet I have questions.. C#.NET I hear is quite...
4
by: kaosyeti | last post by:
what's the best way to get a form to always open at a specific size. i've sized and saved the forms, changed the borders and had popup on and off all over but can't seem to get it to stay one way...
5
by: Jeff S | last post by:
Okay, I just finally figured out the Model View Presenter pattern as presented by Martin Fowler (http://www.martinfowler.com/eaaDev/ModelViewPresenter.html). I even got a small model of it working...
7
by: GeorgeAtkins | last post by:
I want to create a web-based form or page that consists of a series of formatted questions and answers. The form will resemble an existing paper form. When the form is filled in, I want the user to...
7
by: jmp | last post by:
(I hope this isn't considered too far off-topic.) I work as a developer on a browser product found on handheld devices, and I'm trying to specify behavior for the browser to make it "as...
35
by: Smithers | last post by:
Is it common practise to begin the name of form classes with "frm" (e.g., frmOneForm, frmAnotherForm). Or is that generally considered an outdated convention? If not "frm" what is a common or...
1
by: Critical Skills, Inc. | last post by:
Oracle Advanced Benefits Analyst / Lead Start: 08/15/2004 End: 03/01/2005 Pay Rate: $80 - $85 per hour Job Duties: Must be open to travel. Must have designed and implemented...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.