Forms :: Displaying Forms Automatically On Different Monitors

Jun 13, 2012

I have created an application that uses two forms one is displayed on a touchscreen and is a basic input form, the other is displayed on a large display monitor and is basically an information form, both displays are connected to the same pc. The program works great I have just one annoyance is if the program is restarted it displays both forms on the touchscreen and I have to drag the information form onto the big display. Is there a way to specify on load that each form gets displayed maximized on a certain screen so I don't have to drag one form onto the correct screen?

View 7 Replies


ADVERTISEMENT

Multiple Monitors With Forms?

Jan 16, 2012

have a question. The scenario is this Main monitor (17 inch) is used for POS system.Will have at least 2 more monitors (50 inch tvs used for digital menu)I want the main pos program to be able to set what is written there (easy on a form) but have different forms to ALWAYS go onto one of the tvs (they would be plugged in via VGA).

I have read some examples but I havent seen anything with different size monitors.How can i ensure that the main program runs on the 17 inch screen while the 2 forms of the menu will display on tv1 and tv2 and the same tv each time?

View 3 Replies

Detecting Multiple Monitors & Centering Different Forms?

Oct 25, 2009

Basically, I have a program that uses up one Monitor (With maximize/minimize/etc options), and I'm going to develop another window that by default, you'll have to swap to. But, if there are two or more monitors detected, throw the 2nd form on the 2nd monitor.

I have found a way to detect multiple monitors (Using the SystemInformation Class to return the monitor count), but it's placing the form on the other monitor that's the problem.

View 2 Replies

Make My Forms Fit Varying Sizes Of Monitors?

Jan 5, 2012

I am looking for a way to make my forms fit varying sizes of monitors. I am guessing that I need to determine the screen size.

View 3 Replies

Forms :: Displaying Progress Bar On Windows Forms?

Apr 2, 2010

I have a progress bar on a Windows Form which displays the number of records as they are retrieved from the database.The problem I'm having is that the entire Form.Load() method seems to run prior to the form being displayed, which means all my code updating the progress bar is gone to waste.

View 4 Replies

Any Way Of Automatically Resizing Forms?

May 2, 2011

How to make my forms resize automatically. here's the situation. I have my intro screen, which a user may want to maximise. Once this is maximised, the whole program should stay maximised. Again, if the user chooses to restore the window to its default size, the whole program should remain in that default size. However, once the user clicks the button "Press here to start" on the intro screen, the form automatically reverts to its original size if it was maximised. I also need to be able to stretch the contents in the correct ratios to fit the new screen size.

View 9 Replies

Forms :: App Closes Automatically?

May 6, 2009

Actually I have a vb.net desktop application, it's quite a large application , POS actually. It was working fine since last few days, when it started acting up. What happening now is, while running smoothly it just closes automatically, no error nothing?!?

View 1 Replies

Automatically Change The Forms Resolution?

May 4, 2012

So.. I created an full-screen application. It worked out perfectly on my own computer, but at my friend's computer, it was totally ****ed up. I guess it's the screen resolution. So, here's the question: - How do I automatically change the forms resolution, based on the screen size? (I don't want the user to do it manually...)

View 2 Replies

Automatically Fill In Online Web Forms?

Jan 31, 2010

I'm trying to fill in web forms automatically by using the vb.net webbrowser. I'm using code like the following to fill in the name:

Dim elementsInput As HtmlElementCollection = wb1.Document.GetElementsByTagName("INPUT")
For Each element As HtmlElement In elementsInput

[Code]...

The problem is this solution is not global. It will only work on text boxes with the name "OWNER_NAME". Writing out hundreds of variations for every text input there might be for name would not be very smart. There must be an easier solution?

how I can write a program that will work on ANY web page, no matter what the names of the text inputs are?

View 2 Replies

Forms :: Getting A Wait Cursor Automatically?

Aug 25, 2009

I'm developing a big VB.Net Winforms application. Every now and again, processing or db connections take some time and therefore I'd like a wait cursor (hourglass) to appear sometimes. I know I can do it like in this thread (in case someone needs the code):Hourglass?- technical discussion - developer Fusion - ASP.NET, C# Programming, VB.NET, .NET Framework, Java and Visual Basic Tutorials However, I have LOTS of code and I don't know when the user will need to wait. So, what I'd really want is to tell my ApplicationEvents file or the like to globally intercept after say 0.3 seconds and turn the arrow (default cursor) into the hourglass and at the same time disable mouse clicks and the like.

View 4 Replies

Automatically Match Checkboxes On Two Different Forms After Loaded

Jun 3, 2010

I have a form that opens another. I want the second form's checkbox to match the first form's after the second has loaded. I tried using MyForm2_Load, MyForm2_Activated and MyForm2_Shown but the checkbox checked state of the second form always changes the checkbox in first form. The code below works if I check the checkbox in either form, the other changes to match it. The problem occurs only when MyForm2 is first loaded. How can I get it to work the way I want it?

[Code]...

View 5 Replies

Forms :: Datetimepicker Pop-up Calendar Does Not Disappearing Automatically?

Oct 27, 2010

I am using datetimepicker control.

Initially I am setting
DateTimePicker1.CustomFormat = " "
DateTimePicker1.Format = DateTimePickerFormat.Custom

[code].....

View 1 Replies

Forms :: Getting Code To Run When Returning From Dialogbox Automatically?

Feb 27, 2009

i got two forms

form1 (frmUserDetails)
form2 (frmSearchForm)

when i click the search button in form1, form2 appears.i get the information i want from form 2 and store it in a variable.when i close form2 and form1 is active again i want this code to run automatically:

Me.userIDsearch = frmUserSearch.NuNameTB
Try
'TODO: This line of code loads data into the 'SoftwareLookupDataSet.tbl_software' table. You can move, or remove it, as needed.
Me.Tbl_softwareTableAdapter.Fill(Me.SoftwareLookupDataSet.tbl_software)

[code]....

how would i get the above code to run when the focus is back on form1?

View 8 Replies

Use A WebBrowser Control To Automatically Fill Forms?

Mar 26, 2010

I need to automatically fill forms in a WebBrowser Control. There are TextBoxes and CheckBoxes. How can I automatically set their value programatically? Language: VB 2008?

View 2 Replies

Forms :: Displaying Date As Unanswered Value

Sep 26, 2011

I have a datepicker control that displays an appointment date. This date may be nothing, but the datepicker always displays a date, understandable I suppose.There a plenty of occasions when I want a date to be null, and to display that status, how is this commonly handled in the user interface? I don't want to give up the nice functionality of the datapicker, but I need to somehow indicate that no date has yet been set.

View 3 Replies

Forms :: Displaying GIF Image That Says Please Wait

May 4, 2011

I have a .net 4 form application. On a button click event, I want to open a form that has a GIF image in a webbrowser control, that says please wait. Then it opens a second form that has a datagridview that is being populated from a SQL query. Then I just hide the wait form. The reason I have resorted to this method is that sometimes it takes a while to display the results from with datagridview depending on what the user selected previously. The issue that I am having is the wait form displays but the GIF does not show up. If I make the application wait by using the following code the GIF show up like it supposed to until the timer runs out. At that point the image stops moving but is still present.

Private Sub wait(ByVal interval As Integer)
Dim sw As New Stopwatch
sw.Start()
Do While sw.ElapsedMilliseconds < interval
' Allows UI to remain responsive
Application.DoEvents()
Loop
sw.Stop()
End Sub

My original intent was to use the show method to display the results form and then hide the previous form, but sometimes the previous form would close before I could display the results form.

View 2 Replies

Forms :: Displaying Objects On PropertyGrid

Mar 31, 2009

I am having a problem with objects that have other objects as properties on a property grid. Now when I display the object clsPropsFrame on the property grid, everything shows up as expected, except when I try to edit the x, y, or z of location which is of type clsPropsVec3, it ignores the change. What's strange is that when I type the vector in as a string (like "0, 16, 0"), it changes.

I have the following
'//////////////////Object Component///////////////////////////
<TypeConverter(GetType(ExpandableObjectConverter))> _
Public Class clsPropsVec3
Inherits ExpandableObjectConverter
Private refvec As TV_3DVECTOR
Public Sub New()
[Code] .....

I noticed that when I changed a component of clsPropsVec3, the property change in clsPropsFrame does not get executed. I tried making it fire of an event when a component is changed in clsPropsVec3, with the following additional
Public Property X() As Single
Get
Return refvec.x
End Get
Set(ByVal value As Single)
[Code] .....
But for some reason it ever fires off the ValueChanged event. So how can I make the sub properties of clsPropsVec3 work?

View 10 Replies

Forms - WebBrowser - Automatically, Randomly Fill Data

Jan 18, 2009

I'm currently making a Program that will automatically and randomly fill in Username and stuff like that, in a webbrowser. A yahoo account maker. and i'm stuck at the part with that image. I want to copy the image to a Picture Box inside the Visual Basic 2008 program. [Code]

View 3 Replies

Forms :: Automatically Update Value When A User Changes The Listbox Item?

Feb 17, 2009

how can i automatically update my value when a user changs the listbox item. At the moment i have a button click when the user changes the list box item and press the button the values get updated, everytime the listbox item get changed i have to repeat it click the button to update the value. I want something where automitically as soon as the listbox item selected the total value in the text box to change without clicking the button:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If ComboBox1.SelectedItem = "Seafood" Then
TextBox1.Text = 3.5 * ComboBox2.SelectedItem

[code]....

View 6 Replies

The Code Automatically Generated By VB Forms When Adding Controls

Mar 27, 2012

In the early generations of VB.NET visual studio, I used to see an automatically generated region named "Windows Form Designer generated code" that includes the code that generates the controls at the surface of a form. But what happened with VS 2008, I can't see that region any more ? Where are the lines of code that are automatically generated that create controls and set there properties ????? Luai Alrantisi, BSc in Computer Engineering, University of Ottawa 2007, Canada. IT Manager of MTN Mobile Telecom.

View 2 Replies

Displaying / Reading Data On Forms From Arrays

Feb 25, 2009

I am having some trouble with some data I want to display on a form. The data is in a 2-D array, call it myarray(x,y). My attempts to display it have so far not worked. Similarly, I also need to read this data from the form back into an array for further calculations.

View 3 Replies

Displaying Non-modal Forms Via Interop From COM DLLs

Jul 17, 2009

I am trying to load a VB6 program into VB .Net project via COM. I have exactly the same problem as this thread from 2005.

[URL]

View 1 Replies

Displaying Two Forms On Left / Right Side Of Screen

Aug 11, 2010

I would like to display 2 forms side by side. Frm1 will call Frm2. The problem is, if Frm1 is too near the edge of the computer screen, when Fr2 is shown, part of it will be outside the screen. How do I make it so that if Frm1 is near the right-side of the screen then Frm2 will show on the left-side of Frm1 and vise-versa?

View 2 Replies

Forms :: Displaying Child Windows Without Title Bar?

Feb 28, 2011

I try to create a MDI child form that should be resizable but it should not have a title bar visible. Is it possible? Or is there a better method to display child windows within a main form than displaying other forms. In this case the panel would be visually better than the form but the panel cannot be set to act as a child like a form.

View 3 Replies

Forms :: Displaying Paragraphs Of Text In A Label?

Jul 24, 2009

I want to read from a text file and display it in a label. However, when I do that, I see that there is no word wrapping. In the sense, a whole paragraph is displayed in one line and the next one in the next line and so on. Can some one please tell me how to read text from a file and make it display as it is (lines as they are)? I am using the following code right now:

Imports Microsoft.Office.Tools.Word
Imports System.Runtime.InteropServices
Imports Microsoft.Office.Interop.Word

[code]....

View 2 Replies

Forms :: Displaying Text Inside A Form?

Jun 29, 2009

actually i'm trying to write a small program for my project's presentation. i created a form with buttons, each time i click on a button, i want a text loaded from MS word document to be displayed inside the form.

i thought about dislaying the text inside a label or textbox, but the problem is that the text doesn't preserve its state, i mean colors and fonts which are defined in the MS word document, it just displays everything in black color, small size..etc, even if i change the properties of the label in color or font, thoses changes will be applied to the whole text.

is there any control who can display the text loaded from a MS word coument with its colors and fonts which are already defined in the word document, or there any solution to do this ?

View 3 Replies

Forms :: How To Stop WebBrowser From Displaying Pictures

Jun 6, 2011

I want the web browser to run much quicker: To acheive this I would like to disable the vb webbrowser from displaying pictures. I could not find a property to do this, within the vb browser settings + I would rather not have to fiddle with computer's registry files.

View 3 Replies

Forms :: WebBrowser In Form Not Displaying PDF Output In Win 7

Oct 24, 2010

Just moved a .NET 2.0 App from VS2005 to VS2010 and noticed that now when a window containing a WebBrowser tries to retrieve a pdf it thows out an error (unknown file type System.Byte[]). This would usually indicate that Acrobat Reader has not been installed - but open up IE9 and enter the link into the address bar and the PDF displays in the browser without any incident!

Should point out that the app created in VS2005 and installed on Win 7 (actually Server 2008 R2 in 'Workstation Mode') has the same issue.. All works fine in XP and below... Do seem to remember this on a Vista box, but put that down to Acrobat not being installed!

View 3 Replies

Interface And Graphics :: Displaying Forms In Another Form?

Nov 17, 2011

I'm looking for a tool that will allow me to display, and change forms, inside my original form.

View 5 Replies

VS 2005 - Displaying Forms In Landscape Format

Sep 5, 2009

The functionality of the application is not that difficult. The challenge is in the displaying of the forms. I have not started coding yet. When I run the application, the screen should be in the land scape format irrelevant of which computer or laptop you are using and how costly it is. The form should be displayed 90 degrees rotated in counter clock wise direction. How is that possible? Attached is the screen shot of what I want.

View 21 Replies







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