Forms :: Ensure That A Form Stays Completely On-screen?
Sep 10, 2010
how to ensure that a form stays on-screen completely and cannot be dragged outside the bounds of the window.
This is because the user needs to be able to completely see the form without any of it being cut off.
View 5 Replies
ADVERTISEMENT
Jan 17, 2011
Using VS2008 Express and I want to use Silverlight within a webbrowser on a 64 bit machine. I have found various posts here about targetting x86 and have followed the instructions in this thread: [URL]
Unfortunately, running the project then brings up a completely blank screen so this is causing some other problem. Any further ideas on this old problem?
I downloaded VS2010 Express but could not see any equivalent settings in that.The equivalent procedure in my commercial version of VS2005 works ok but that has significant debug issues on this machine and is not really useable.
View 1 Replies
Feb 1, 2010
I want to rewrite logonui.exe completely. I want to add features that I just can't in ResHacker. Problem is I have no idea where to start. Well my idea is for it to be more visually appealing and faster. Almost like a dock with the user pics fading away as they are further away from the centre and having them zoom in and out aswell as move toward the centre when the mouse enters.
View 2 Replies
Jun 4, 2010
Is there a command that closes an application completey down, including any hidden forms, etc?
View 3 Replies
Nov 9, 2009
Okay so I'm making an on screen keyboard, and was wondering - when I click something in the background, my form stays on top, how can this be accomplished? Can someone point me in the right direction?
View 5 Replies
Mar 17, 2011
I've created a windows form application in vb 2010. I've got all my forms complete and now want to add a Login screen. One the login screen, after the username/password is entered and OK is pressed, I try to open the a connection string. Obviously if the connection fails, the user has entered the incorrect credentials. If the credentials are ok, True is returned and I then open up the Main form that shows the correct items for the logged in user.
[Code]...
View 5 Replies
Jan 11, 2011
to make my form full screen. i need the screen to be on top of the task bar and on top over any other application that is running behind it.
View 3 Replies
Aug 15, 2010
I want to make a software for game zone when running user should only see the form and also how to remove closebox.
View 1 Replies
Jul 31, 2011
I need to display two forms on the screen. When I change the record being viewed on form1 I need to change the display info on the second screen. I now know how to share the info, but need to be able to 'refresh' the information on the second form
[Code]...
View 3 Replies
May 24, 2011
I have a form that it do some calculations on datas,I create another form (for example progressform) that has a progressbar and a label with text:"Please Wait. I use progressform.SHOW() in first line of my analysis form load event, but when I run the project the progress form loads incompletely and you can not see the label and progressbar in the form! if I add a messagebox.SHOW("anything") after the line progressform.SHOW() the problem will solve and the label and progressbar apear in the form. it seems that before the progressform loads completely the computer starts the analysis...
View 2 Replies
Sep 22, 2009
I got a strange form in my project that doesn't close when I close it, so every time the user will use it, it will stay on system processes. The form is not even shown on the taskbar when it is loaded. It is just a regular form - System.Windows.Forms.Form.
View 9 Replies
Mar 26, 2010
I have a form with full of objects & fix in 1020 & 800 screen solution, but if I set screen solution to 800 x 640 (to see more clear other applications) then my form show mising the right & bottom parts
1. Can VB show with auto-adjustment screen (auto show the form smaller to be fit)?
2. My form somehow can be set with Horizontal & Vertical slide (or some thing similiar) so the user can see the rest?
View 2 Replies
Feb 13, 2011
I have a multiline textbox which is loading from a .dat file. However, despite telling it to load all of the .dat file, it misses off the end. I it copies the first large body of text and a load of spaces that are inbetween the first and second body, but doesn't load the second body of text. Here is the code I'm using to open my file:
RichTextBox2.Text = IO.File.ReadAllText("00061530.dat")
View 5 Replies
May 25, 2009
I am using the following code in the 'Application.Designer.vb' to set one of the two forms as the the mainform for my splash screen.The global string array gSetupStr(0,1) only produces a correct result when any Msgbox is inserted before the 'If' statement.However,I do not want the Msgbox during a splash screen, but do want to control the mainform. [code]
View 1 Replies
Dec 2, 2010
recently i came across a requirement. I have to create a text box with a vertical scroll bar. I hav to check whether the scroll bar is dragged down completely or not. i hav to do it in VB.net
View 1 Replies
Sep 24, 2010
I have a splash screen, the default from Visual studio. It loads up, is shown for a few seconds, then, when it disappears, the main form is loaded. Now here is the problem: the main form appears in the back, behind the windows explorer window I load the application from.
The weird thing is that this only happens on some computers, particularly Windows XP machines.I tried a lot of things like BringToFront() or TopMost = true in the on Load event of the form but nothing seems to change this.
View 3 Replies
Feb 15, 2011
how do i set my vb2008 form in such away that the form size aint affected by screen resolution settings
View 3 Replies
Sep 24, 2009
I've written a small program that monitors the customer field in Quickbooks and query's a database to determine if there are any important notes for the selected customer. This works fine however, I either need the messagebox or a form to come to the front of all open windows on the system to inform the user that the selected customer needs to be reviewed.
How can I ensure that a form (or messages box) that opens in my program comes to the front of any and all application windows that are open?
View 4 Replies
Sep 25, 2006
I have a form that I use to get the user to input such as a username and password in order to make a network connection. This connection can be disconnected and reconnected as many times as neccessary whilst the application continues to run.
I obviously, therefore, need the form's text boxes, combo boxes etc to reset to their blank versions every time that the form is shown.
In VB6 this was easy; you just unload the form which completely removed the form from memory and thus the next time you showed it it was reset to it's blank state. In VB 2005, however, there is no unload so we have to use Close. I have done this and assumed that it would function in the same was that unload did in VB6.
The problem is that when I close the form using the form.close event handler the form disappears perfectly but when the form.show/showdialog is used the old form data still remains telling me that the form hasn't actually been unloaded but rather appears to have just been hidden.
View 3 Replies
Sep 13, 2009
When i dim a variable as a form and then close it ( frm2.close() ) then just the form window will be closed. How can i close the form completely so that everything like a timer will be closed too?
View 4 Replies
May 25, 2011
How to hide the main form upon load (startup)??? I have tried Me.Hide() And some others ones, but none of them actually HIDE the form upon startup. It also has a NotifyIcon but once again it will not hide the main form..
View 6 Replies
May 22, 2009
I want to pass a few variables to another page. Currently I'm using response.redirect and passing the variables in the url. I'm not really interested in using Session Variables. Is there a way to pass hidden variables in .NET to a completely different form?
View 4 Replies
Jan 31, 2011
finally my programme works. It will test the other programme, which is a Bid Tabulation programme allowing up to 10 Supplier Quotes each one having up to 500 line items; handling mixed currencies; many additional lines of specific information; etc.; using any combination of Suppliers and Line Items.However, I thought that I would let you know about some of the things I had to do to make it run.Obviously, the programme can bring up the Bid Tabulation programme very quickly, and then moves on to obtain the handle of the first form. But I had to insert a timing delay in order for the programme to report that it had found the handle; I also had to add the same delay all over the programme in order to see a valid handle number instead of "0".In addition to this I had to cycle through the ChildHandles, as you had indicated in order to get to the handle I needed. This raised another problem. I wanted to enter information in the same sequence as the tab order, but I found that the ChildHandle order was all over the place; generally back to front. In other words the tab order which went from top to bottom, and left to right, whereas the ChildHandle order was sometimes all over the place.
Is there a simple method of rearranging the ChildHandle order, as there is for arranging the tab order? I had to reformat several of my forms in order that entries would make sense. Imagine the table below is a form with 23 TextBoxes. The order that I need them to be filled is from top to bottom, and left to right, but the actual order of the TextBoxes is as below: [code] This message does not really require a resolution to a problem, unless there is a way of re-ordering the handles without having to completely reformat the form.
View 1 Replies
Feb 26, 2009
How can I ensure that the currently selected row ID in Parent Table automatically appears in my child form when I create a new row in the Child Form.I am using VB 2008 Express I have a Stored Procedure for the chiled table called "Files" can I do it from there:-
ALTER PROCEDURE dbo.CreateFile
(
@FileName varchar(50),
@DateCreated varchar(50),
[code]....
View 1 Replies
Sep 24, 2009
If I have form say sized 1300 x 800, I would like to proportionally size the form to the computers screen size. I can get it to size to the screen size, but it is not proportional
View 11 Replies
Jul 6, 2010
I have a form in a Windows form application that I want to display on top of a main form, close it, and then immediately show a dialog box using MessageBox.Show(). But the first form is still showing when the message box is shown, and it does not disappear until I click OK on the message box. I tried waiting to show the message box in an event handler for the form's VisibleChanged event and even calling Refresh() on both the form and the main form. Is there a way I can determine when the first form has fully disappeared before displaying the message box?
Edit:Here is some code that demonstrates how the forms are being shown.
static class Program
{
// The main form is shown like this:
static void Main()
[code]....
View 3 Replies
Mar 2, 2009
I have a NotifyIcon in my system tray.
When my app closes, the NotifyIcon is still there until I run my mouse over it.
How can I make it go away when the app closes?
View 8 Replies
Aug 16, 2011
1. I run a program in VB, then i click X button to close the main form, the program exits.
2. Then I change the code slightly (for example I add MsgBox("abc") and try to run the program.
3. An error appers: "The operation could not be completed..." and then some text in my own language, I try to translate it into english: "...The process cant get access to file, because its been in use by another process"
View 8 Replies
Nov 21, 2010
[code] How come the ProgressBar's value stays the same?
View 1 Replies
Dec 24, 2009
This is the code I have
Function1()
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ProgressBar1.Minimum = 0
ProgressBar1.Maximum = 6
ProgressBar1.Value = 0
[Code] .....
However the progress bar stays empty. The application runs fully so I know one of the functions is not stuck in an infinite loop.
View 5 Replies