473,387 Members | 1,481 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,387 software developers and data experts.

About Dialog

Hi All,
I would like to make a about dialog which have the effect like setting
the main form enable = false, and when it closed main form will return
enable. I remember that in VB6 there is some ways to do it and pass a parent
parameter to the function. I would like to know how should it be done in the
standard VB dotnet worlds.
Thanks
Rena,
Nov 20 '05 #1
6 1835
Hi Rena,

I think you are just looking to the
frm.showdialog

It does all the things automaticly in my idea where you are asking for?

Cor
Nov 20 '05 #2
Hi Rena,

I think you are just looking to the
frm.showdialog

It does all the things automaticly in my idea where you are asking for?

Cor
Nov 20 '05 #3
* "rena" <re**@hotmail.com> scripsit:
I would like to make a about dialog which have the effect like setting
the main form enable = false, and when it closed main form will return
enable. I remember that in VB6 there is some ways to do it and pass a parent
parameter to the function. I would like to know how should it be done in the
standard VB dotnet worlds.


Set the form's 'FormBorderStyle' property to 'FixedDialog', then call
the form's 'ShowDialog' method to show it.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
* "rena" <re**@hotmail.com> scripsit:
I would like to make a about dialog which have the effect like setting
the main form enable = false, and when it closed main form will return
enable. I remember that in VB6 there is some ways to do it and pass a parent
parameter to the function. I would like to know how should it be done in the
standard VB dotnet worlds.


Set the form's 'FormBorderStyle' property to 'FixedDialog', then call
the form's 'ShowDialog' method to show it.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5
What I mean is there is a Form A, with mainmenu,
when user click on the menu I will prompt up a New form and the user cannot
get focus of Form A, unless he close the New Form.
How could it be achieve?

are there any simple code?
Thanks

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> ???
news:c7************@ID-208219.news.uni-berlin.de ???...
* "rena" <re**@hotmail.com> scripsit:
I would like to make a about dialog which have the effect like setting
the main form enable = false, and when it closed main form will return
enable. I remember that in VB6 there is some ways to do it and pass a parent parameter to the function. I would like to know how should it be done in the standard VB dotnet worlds.


Set the form's 'FormBorderStyle' property to 'FixedDialog', then call
the form's 'ShowDialog' method to show it.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #6
* "rena" <re**@hotmail.com> scripsit:
What I mean is there is a Form A, with mainmenu,
when user click on the menu I will prompt up a New form and the user cannot
get focus of Form A, unless he close the New Form.
How could it be achieve?


\\\
Dim f As New AboutForm()
f.ShowDialog()
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: George | last post by:
Is there a way to customize the open file common dialog? I am trying to modify the button text so I can create a delete file common dialog. I need the same functionality of the open file common...
5
by: Sam Sungshik Kong | last post by:
Hello! The normal way of Main for a Windows Forms application is like this. Application.Run(new Form1()); If I change it like the following, is there any problem? (new...
4
by: Steve | last post by:
1) How can I perform backward search in editor of Visual Studio .NET? In VC++ 6.0 it was enough just to hold Shift button. This combination doesn't work anymore in Visual Studio .NET? 2) Each...
10
by: Guadala Harry | last post by:
I have a modal dialog that currently does all of the following except item 4. 1. lets users select a graphic from a list of thumbnails (and when selected, displays the full-size image in a...
3
by: Diana M | last post by:
Hello, I have started my first asp.net application (beginner). I have 2 text boxes on the form that should contain 2 different dates (beginning and end). It would be nice to have 2 small buttons...
5
by: ad | last post by:
Is there any difference about namespace between VB.NET and C#. All functions in c# must include in a namespace. Why I can't find namespace in the files .vb . How VB.NET implement the...
6
by: Dennis | last post by:
I have a question about thread safety in a VB application written using Visual Studio.Net 2003. Here is the situation... I am running a process thread in a modal dialog. I have written it so...
2
by: sonu | last post by:
Hi all, I have a problem regarding use of a usercontrol in .NET. My usercontrol consists of two listviews which I say as source and destination lisviews which contains the files and folders. I...
3
by: Victor | last post by:
Hi guys. I want to implement a customized user webcontrol (.ascx). Inside this control I have a dropdownlist and a button. when user click the button, it will open a pop up window(not Ajax popup...
6
by: Tony Johansson | last post by:
Hello! I know there exist some commonDialogs in .NET such as SaveFileDialog,OpenFileDialog printDialog and so. I just want to know if a dialog is the same as a form ? I mean when these...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.