Refreshing Form - Display Two Forms On The Screen?

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


ADVERTISEMENT

Forms :: Display Full Form With Different Screen Solution?

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

Forms :: How To Control Splash Screen Display Duration

Dec 4, 2007

My application opens pretty quick but just for looks I put the splash screen and loading has slowed down. can i decrease the normal time for which the splash screen is shown?

View 5 Replies

Crop Form Screenshot - Screen Capture Of Twindows Form And Display Only A Certain Specified Area

Aug 2, 2010

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.PictureBox1.Load(bm2)

[CODE]...

So I'm trying to take a screen capture of the windows form and display only a certain specified area of that screen capture in a picturebox on a different form. Kind of like this. First, take the screen capture of the form: Then get a specified area of that form through x,y coordinates or something and display it on a picturebox on a separate form.

View 1 Replies

Refreshing Screen With New Graphics From Button/text Box Event?

Jun 26, 2011

The program below works fine except for the problem for which The program below allows input of a volume and value which are both successfully drawn to the screen. I will be adding variables to retain the value of each new Volume and new Value input. However, I need code to delete the volume and value graphic numbers
drawn to screen when new volume and value's are input. At present new numbers are drawn on top of the existing graphics rather than replacing them. Every attempt to clear, draw over etc has failed. from a very grateful member about to go on holiday and I need this to work for use on hols.

The private sub resetting() does not work but I cannot see why.

[Code]...

View 4 Replies

Form Display With Splash Screen

Dec 7, 2009

I'm writing a small app which I want to display a splash screen. The problem is my form 1 is appearing before the splash screen disappears. In fact is appears on startup blocking the splash screen. I have some code in form_load and have managed to figure out which line is causing the error, but I cant figure out why or how to prevent it.

The line reads
LoadSettings()

If I comment out this line everything runs fine and there's nothing in that sub that should affect form1. I'm doing this in vb express 2010.

Here's the code for my form_load:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
LoadSettings() ' this line is causing the problem
My.Application.MinimumSplashScreenDisplayTime = intSSDelay * 1000
'resolution check
[Code] .....

View 5 Replies

Adjusting Form Size According To Screen Display

Nov 25, 2010

I've a form set to size 1240:750. On my PC where I've VB2010 installed, the screen size is set to 1680:1024 and the form can be viewed fine but on a PC with screen size set to 1280:1024 (higher than the form) the form in question is cropped almost a third of it. To adjust the form to everyone screen size I set the below code at load with no avail.

'Autosize form to screen
Me.Height = (SystemInformation.PrimaryMonitorSize.Height) * (0.9)
Me.Width = (SystemInformation.PrimaryMonitorSize.Width) '* (0.9)
Me.MaximumSize = New System.Drawing.Size(Me.Width, Me.Height)
Me.MinimumSize = New System.Drawing.Size(1240, 750)

View 3 Replies

Display The Splash Screen Before Going To The Main Form?

Jan 14, 2010

Hello.. I'm using a splash screen for the first time in an exercise. I have it set up to display the splash screen before going to the main form. I made changes to the splash screen title and copyright information. When I execute the program, the splash screen comes up but it's not displaying the information I changed. When I view the splash screen the changes are saved. It displays the project name where the application name should be.

View 18 Replies

Forms :: Add A Login Screen In Main Form

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

Forms :: How To Make Form Full Screen

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

Forms :: Make Form Cover Whole Screen?

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

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

Make A Form Popup On The Bottom Right Hand Corner Of Screen To Display A Message

Feb 4, 2010

Im trying to make a form popup on the bottom right hand corner of my screen to display a message when the application opens.I know i can set the location in the properties but that may vary depending on the monitor the application is displayed on, how can i code it so that it can detect were the bottom right hand corner of any screen is ?

View 3 Replies

Using 'Application.Designer.vb' To Set One Of Two Forms As Main-form For Splash Screen

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

Forms :: Question After Splash-screen Shows Main Form Is In The Back?

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

Resizing Forms - Form Size Aint Affected By Screen Resolution Settings

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

Refreshing DataGrid On Parent Form After A Child Form Has Updated DB?

Dec 3, 2009

Basically I have two forms - Form1 has a DataGrid on it (Infragistics) and in the double-click row event it creates an instance of the EditForm and passes along the UniqueId for editing. Once the user saves the changes (if they make changes) - I want the DataGrid on Form1 to refresh. Here is how I thought I could get this to work ... I create a public property called RefreshRequired as boolean. Before unloading the EditForm it sets this property to true. Then Unloads. This continues the code in Form1 (which showed the EditForm as modal) but RefreshRequired is still showing as False? Why isn't my EditForm able to set the property?

FORM 1
Private Sub grdList_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles grdList.DoubleClick
' TODO Ignore Double-Click Event when Right Mouse Button Triggers Event

[code]....

View 1 Replies

VS 2010 - Form.Activated - Refreshing A Form Bound To Different Tables

Feb 4, 2011

I had issues in refreshing a form that is bound to different tables in a database. Various forms allow the user to change and add and update information on the form via the database. I had created a public sub in that form that the other forms could call, after saving the data, that was supposed to refresh the data on the main form. This was not working so I researched the problem. I came across this page which pertains to Form.Activated: [url]

I placed all of the table adapter fills into this event, instead of in Form_Load, and it seems to work now, when the form first loads, and when other forms update data. My question is does anyone have experience using this and what are the consequences, if any, in using this to reload/refresh the data showing on the form?

View 4 Replies

Forms :: Display Form At Cursor Position

Mar 5, 2010

I am trying to use a windows form as a custom contextmenu which is fine as I have done a form with translucent background colour. However the problem is that I am having problems displaying the form at my cursor position. I have a mdi chaild form in my app and when I right click I want to display my custom contextmenu form at the point where I right click in the mdichild form. The only other thing is that I want the middle of the form to be displayed at the cursor point.

View 1 Replies

Forms :: Display Particular Portion Of Webpage In Form?

Feb 21, 2010

Was trying to make a little project which will login to a site. The problem i am facing is with the captcha code display..

Was searching around to get the captcha to the form directly but didn't found anything useful.

So my question is how to display only the area of the captcha on the form instead of the complete form.

Like suppose I want to display only the portion where the logo of Visual Basic .NET Forums - The Exclusive VB.NET Community is located instead of complete webpage.

Application using : VS 2008

Answer expected for : VB 2008 or C#

View 2 Replies

Refreshing First Datagrdiview-form From Activated Second Detailview-form?

Jul 8, 2009

I am working on supplier maintenance file. From mainmenu, opening first form shows records on datagridview through databinding. Clicking add new record, i fired a second form as my data entry with detail view through databinding, minus navigational buttons. I left the delete and save button only. Once through data entry, i save it on server. My problem is, how can i reflect the added record on the first form while i am on my second form? I prefer the new record be added only to the first form. I don't want the idea of retrieving the records again from my server.

View 3 Replies

Display Child Forms Using Menustip In MDI Parent Form?

Apr 7, 2011

When I click on Borrow Book(s) from Transaction menu it should open frmborrow.vb

Also to it should do the same to rest of the menu(s)......

What should i write in the click event for Borrow Books from Menustrip menu

View 7 Replies

Display Date And Time On Top Of The Form Where Normally Written Form1 Forms Name?

Jun 6, 2011

I want to display date and time on top of the form where normally written form1 forms name. i want to display date in formate of for example 23 August 2010 and time in this formate 12:33:20AM

View 7 Replies

Forms :: Automatically Resize A Windows Form To Fit A Smaller Display?

Jul 13, 2009

Is there a way to automatically resize a windows form to fit a smaller display? I created a program on a computer with a 12" display, everything works fine. However, when I load the same program on a computer with a 8" display, I am not able to view all the contents on the windows form. Is there a way to correct this without manually resizing all the contents on the form?

View 1 Replies

Forms :: Display 2 Table Records In Two Datagridviews In Windows Form?

Aug 30, 2011

why cant i display my 2 table records in two datagridviews in windows form? it only display the records of table 1 to the 2 datagrid views

[Code]...

View 3 Replies

Child Form Not Refreshing When I Try To Start App From MDI Form

Dec 1, 2010

I have MDI form and child forms in my app.[code]...

now if i try to refresh the items of combo box of Register form from Desig form, then it is not refreshing. i.e. i can't see my new items in that combo box on Register form.

Now when i try to start my app directly from Register form then the same code works perfectly but same code is not running when i try to start the app from MDI form.[code]...

View 1 Replies

Display A Welcome Screen For 3 Seconds Then Close And Display Form1?

Dec 19, 2009

Im trying to make a custom splash screen , but i cant seem to get it to work. Im trying to display a welcome screen for 3 seconds then close and display form1 (main form).Heres my current code.

[Code]...

View 2 Replies

Cash Register Program With Separate Forms For The Items And The Display Form?

Jan 15, 2011

I have this cash register program with separate forms for the items and the display form. The code works untill you press the button 2x. It says 5.5 + 5.5 = 11.5??? Can you fix this code?

CashReg.ListBox1.Items.Add("Item 1")
Dim cash As String
cash = (5.5)[code]....

View 3 Replies

Forms :: Next & Previous Button - Fetch The Records From Database And Display It On Form?

May 7, 2009

I want the coding for next and previous button and its given on my form. I want to fetch the records from my database and display it on my form.

View 6 Replies

Refreshing Datagridview From A Second Form?

Jan 24, 2011

I am trying to refresh a datagridview from a second form to display newly written data. I have read the posts on this topic and can't figure mine out. My first form opens and you input data into text fields, etc. and then you need to select items from one table to copy and write to a new table. The datgridview on the first form shows the new table, and I have a new form that pops up to select the line items to add. Everything works perfectly except when I close the selection form after selecting lines, I would like the datgridview on the first form to refresh to show that the lines have been selected and displayed in the datagrid.

My data is loaded into the datagridview as so;

Public
Sub ShowVoucherLines()
cmd =

[Code]......

View 12 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved