Computing.Net > Forums > Programming > in visual basic.net can i do this.?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

in visual basic.net can i do this.?

Reply to Message Icon

Name: secrets
Date: May 11, 2005 at 13:17:32 Pacific
OS: windows
CPU/Ram: 2.4ht
Comment:

i have developed a visual basic.net application now i want that when i run my application it looks the entire screen so that user must responds to it...like the way logoff in windows....
how can i do this ...



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: May 11, 2005 at 23:24:13 Pacific
Reply:

Look up Modal in the Help files.

Forms can be displayed either modal or modeless. If model the user must respond before the application can continue.

However, this only applies to the application in question, the user can still switch between applications. If you want to make it system wide, then you need to start delving into the API. This is usually reserved for critical errors and is not recommended for applications. If your application crashes while a system modal form is displayed, it will bring the whole system down with it.

Stuart


0

Response Number 2
Name: secrets
Date: May 13, 2005 at 07:40:32 Pacific
Reply:

Stuart actually i am making a security application which will ensure user privacy so it requires user to must respond to the application...thats why its required but could you please tell me which api's are required in .net for this purpose....


0

Response Number 3
Name: StuartS
Date: May 13, 2005 at 10:13:59 Pacific
Reply:

I don't know the .NET API, you will have to look at the manual for that. However, you don't need an API to make the form Modal to the application. All you need is to append 1 to the form load command.

Form.Show 1 is all that is required.

Stuart


0

Response Number 4
Name: secrets
Date: May 13, 2005 at 10:57:44 Pacific
Reply:

if you know the vb6 api then please tell me that....about modal i have used it,,,,,but my requirement is different.


0

Response Number 5
Name: StuartS
Date: May 13, 2005 at 11:39:53 Pacific
Reply:

http://support.microsoft.com/default.aspx?scid=kb;en-us;147817

This only works in Windows 9X. Not 2000/XP

Stuart


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

gotoxy function Ascending Array



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: in visual basic.net can i do this.?

How do I do this in Batch?? www.computing.net/answers/programming/how-do-i-do-this-in-batch/11238.html

How can i do this? www.computing.net/answers/programming/how-can-i-do-this/9063.html

Forms in Visual Basic www.computing.net/answers/programming/forms-in-visual-basic-/10231.html