Make A Window That Cannot Exit?
Jun 23, 2010how to make a window that you cannot exit and how do you make the window log you out cause I am making a program that will act like a secondary login system
View 2 Replieshow to make a window that you cannot exit and how do you make the window log you out cause I am making a program that will act like a secondary login system
View 2 RepliesI am not able to get the exit window button to terminate once I click on it. I am not sure what I am doing wrong. This is the code I am using for it: btnExitWindow.Enabled = True. Everything else is working fine when I run the program.
[Code]...
I am working on some custom components that I would like to sell with a form of licensing,
Is there a way to make a component exit a application?
Meaning, if the license key is no good, i want it to pop up a msg box, then throw a quit.
I figure I can always run a 'Throw New Exception("Invalid Key")', but that won't cause the program to stop since it's behind the scenes.
I realize that if i add checks, then i can say 'If CodeIsInvalid then don't process the process'.
If you have ever noticed in the Task Manager, when you right-click on the running task, you have many options which include 'Minimize' and 'Maximize'. Is there anyway to do achieve this in vb?
View 1 Repliesam trying to make a normal button as minimize and exit ... I want three different picture for example button with exit:
1) Stable opened window has exit_1.png
2) When you mose-over it it display exit_2.png
3) When you mouse-leave it display again standard exit_1.png
4) When you press it (click) it display exit_3.png => this situation i dont know how to solve in Visual Basic
My code:
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
Me.WindowState = FormWindowState.Minimized
[Code]....
I am suppose to make a form with a recieve, ship, value, and exit button. You are suppose to be able to click a button an input box comes up and whatever your put in there is suppose to show up in the text box and whatever number you put in is suppose to keep adding to textbox. Does anybody know how to do this?
View 14 RepliesI'm developing a program using VB 2005.I've tried to use the following instructions to "kill" the application
Application.Exit()
Environment.Exit(0)
(not at the same time)
[code]....
I'm having a bit of a problem getting my application to close properly. Basically I have one main form from which all other forms open. If a user tries to close that main form, I want to bring up a MessageBox asking if they want to exit the application.However, when I try to do that it asks the question twice. It seems that the Application.Exit() is triggering the FormClosing event again for some reason, but I don't know of another way to exit the application. BTW, the main form isn't the startup form so I can't use the option to close when the startup form closes.
View 9 RepliesNow I have a sub to validate a bunch of textboxes and combo boxes.I previously used many IF statements to validate and pop up different messageboxes and Exit Sub in every IF statement.But I heard that too many Exits will decrease the efficiency and they were not recommended to use. Instead, nested IF is better because it will let the process naturally go to the end.Then I found out that if I use nested IF,it will be hard to read, since messageboxes are all separated from conditions.
View 2 RepliesI have created a Form, added a MenuStrip to it and inserted the standard Items. My question is that I know some of the options won't work like 'Save' and 'Save As' but how do you make ones like 'Open' 'Exit' 'Undo' and Redo' work when start debugging?
View 9 RepliesHow do I exit from the recursive loop from the code below. I would like to notify the end-user to select a checkbox in a msgBox before I exit the loop.
[Code]....
I have just done my program, just skeleton not completely, the final problem has not been solved up to this time.When I run my application, the Icon of its will be showed at TaskTray. I would like the icon is there when I exit fom of application and then If I double click on the Icon, the application will be showed.
View 5 Repliesi have an application, which was also having socket programming for communicating (just like messaging or chat). when any one from other system sends a messages. the designated system will popup a window (form). But the issue is, if i work with any other application in maximized mode then the popup windows is going behind. Is there a method to make this windows always top (Just like the message box that appears when we use the windows NETSEND command)
View 2 Replieswhen i use the "anything.show" command, it will always open in a new window... How can i make it open in the same window?
View 11 RepliesI want my form to never dissapear unless instructed to do so by code. I build a desktop gadget that stays there even when multiple other windows are open, but if the "Show Desktop" button is clicked on the taskbar it will dissapear completely (until another window, whatever that might be, is opened, in which case it pops up again).Take Windows Gadgets as an example. If you click "show desktop" they do not dissapear, they are stuck to the desktop and are constant, and only dissapear when you click the exit button on the gadget. Is there a similar method i can implement for my own form so that it never dissapears?
View 11 RepliesI want to make a window like the solution explorer or the properties wondow and put it on a form.
View 5 RepliesAll i want to de is make a window like this one (not for networking) just the design. MOstly the top part with the back and foward button witht teh blank spece
View 3 Repliesi just uninstalled vb2010 express beta 2 + installed vs2010pro rc1.
how do i make the immediate window visible? i tried ctrl+shift+i but it doesn't show...
I am currently trying to make a Window Hider. I have just started and already have problems. Public Class Form1
[Code]...
The problem is I can hide as many window's as I want, but I won't be able to Show them again. I need a way to put all the hidden window title's in a list, so that I can select a window and unhide. I think it is called EnumWindow Function. I have Google'd for hour's but have no clue how to use it at all. 2. Is it possible to pause and hide Windows Media Player? Not a Media Player Control, an actual wmplayer.exe Also I know I did copy the:
[Code]...
When my App open, it will download data from server.How to make a pop-up window (messagebox) saying that "Please wait..." and then auto close when download finished?
View 1 Repliesi need to know how too make a dialog stay attached to the side off another window.
View 6 RepliesI am writing a program that is navigated manly by using tabs, the tab panels (If that is what they are called) hold the vast majority of the GUI, only leaving space for the menue bar and a few rarely used window forms. So my question is this, what do I need to do/set to make the tab control (Or tab Panels) re-size with the window it is in when the user re-sizes the window?
View 5 RepliesHow to make tabcontrol appear in my window application...? And also adding tabItem to the tabcontrol using vb code. I'm working on a wpf application.
View 2 RepliesI have a problem I have of a mistake touched a setting which make the window with the textboxes transparent I check the background but they are not transparent.
View 3 RepliesWhat is command to make window active? I want one of my windows to be on top of all other windows that I have opened so I can work with it
View 9 RepliesI have a .NET WinForms application that has a single form that is set as TopMost so that it runs above all windows on the desktop.This form has a single button on it to launch some other application, such as:Dim app as Processapp = Process.Start("notepad")How can I then make the app TopMost above my application which is already set to TopMost?
View 5 RepliesOn my userform there is the typical min, max, close options in the upper right hand corner. If the user maximizes the userform can I make the WebBrowser control scale to size but never smaller than initial settings?
View 5 RepliesI'm using Visual Basic 2010 Express.I have a form that can be minimized.There's also a tray icon.I've coded it so that if you double-click on the tray icon, the form's FormWindowState becomes set to Normal; this restores the form to where was before it became minimized, but the form does not become the active window on my desktop.
How can I make the form become the active most foreground window? I've tried various functions that I can think of but no luck yet. Tried searching with various queries to try and find the right wording but no luck.I'm new to Visual Basic - only started a couple hours ago.Probably something simple but I can't seem to find the correct function or anything.I have the form/window open, and then I overlap said form with a window of another application. When I double-click my app's tray icon, I want my window to become the active window, bringing it to the front, but can't figure out how
I am using a WebBrowser control in my application. When i try to download the file through this control, it will show a pop-up of "File Download".I tried to handle it automatically and hove done this.But now I want to hide this window and want to make whole operation at back end.
View 1 Repliesis it possible to make a button that when it is pressed it opens up a window i am using vb 2008
View 10 Replies