Displayed For 5-7 Seconds And Then Form2 Shows?
Nov 23, 2010So when my application starts i'd like form1 to be displayed for 5-7 seconds and then form2 shows. How do I do this?
View 3 RepliesSo when my application starts i'd like form1 to be displayed for 5-7 seconds and then form2 shows. How do I do this?
View 3 RepliesI must have that at the end of a timer to be displayed every 2 seconds a series of images one after the other why using Threading.Thread.Sleep (2000)does not make me see the images and text on the label does not load?
[Code]...
I am using a stop watch to get the elapsed minutes and seconds which will then be displayed to user. How to I go about getting the elapsed time in the following format: 00:00
View 5 RepliesI have the Timer set at 2 seconds for now. It pulls the data in fine, sets the text for the label fine. But it only shows the last row of data and does not rotate through the rows.
Public Class MarqueTest
Private Sub MarqueTest_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.AdminMessTableAdapter.Fill(Me.MarqueDataSet.AdminMess)[code]....
I'm coding a splash screen in VB.Net that displays for 3 seconds then shows a login screen. But the splash shows up even when login shows and I have told the splash to hide. Here is my code:
[code]...
How can I check to see if when the user navigates to a webpage if the webpage cannot be displayed so I can run my own code?
View 1 RepliesLast one day I could not manage to pass data from one form2 other form.
When I am opening Form2 from Form1, I can pass data from Form1 to Form2.
When I am closing Form2, I want to pass data from Form2 to Form1 which is still open when I close form2.
I try to use shared textbox, but I understand that this is nt supported.
I want to convert seconds such as 254565443 seconds to hours, minutes, and seconds and thought if I could remove the decimal and the numbers behind it and not change the number in front of the decimal then it would work.
dim seconds = 254565443
dim Hour
dim minute
[Code]....
I have 2 forms. On form1 i have listview on form2 i have menu. I'd like to call form2 menu from Form1 ListView1_MouseUp. I tryed to use this code
[Code]...
This is my function to goto a specific time in a movie or music, ... check it out..
'GOTO TIME IN MOVIE, or SONG.
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
[Code]....
When a user clicks the + button on the binding navigator, I want to set the displayed item of acombobox to the value displayed in a label. The combobox is bound to a field in the table. Theproblemis that when the user clicks to add a new record the combobox is cleared and they forget to select a value before they click save.
View 7 RepliesIn my scenario when i press the "Get Book Details " of the Form1 , it will redirect to the Form2 , in the form load of Form2 a datagridview is filled with values along with the checkbox column and the desired rows of all the columns are selected and when OK button(form2) is pressed the selected rows should get populated to the datagridview of the form1.But i m not getting the selected rows to the form1t.
View 1 RepliesQuick question - if I have a timer set to 5000 (5 seconds) and the code in the timer takes longer than 5 seconds to run because of sql stuff, will the timer wait until the code is done till it fires again?
View 3 RepliesWhat I am aiming to do is when the user logs in Via MySQL query once they have loged in it will switch to form2.vb and there will be the users information displayed. else check your password and stuff.
View 4 Repliesi have 2 form..which is frm1 and frm2..my mainform is frm1 how can i load the form2?
View 9 Repliesif in vb.net, I can call like this form2.show (), but how in wpf vb.net?
View 1 RepliesI am having problems making changes to form1 from form2..I tried declaring form1 on form2 Dim f1 as form1.[code]I can change form2 from form1 but not the reverse.
View 5 Repliesthis looks like to the forum I need. I have a question on somethings. My data is pulled from a local SQL sever express. First, Form1(Customer) has has data. his customer has a vehicle in another form this form is called (Vehicle) form.I have created the customer form in a detailed form and the vehicle form on a grid design.
View 1 RepliesI have been converting my VB6 programmes to VB 2008, and I am beginning to regret it.According to the books that I am reading on the subject, I can call a second form from the first one. That is, when the first form code has completed, and the final line reads:
frmForm2.Show()
the second form should open and wait for input.This does not happen, the form flashes and then disappears without allowing any input, or button click.I must admit that I preferred being able to start from a module, with a Main() sub, which then read the forms, a la VB6. everything seemed to work fine then.
I made 2 form.
In form1 I have this:
form2.show()
form2 ends up behind form1, how can I make form2 appear in front of form1?
Form2.showdialog() will make form1 disappear until form2 is closed, that is not what I want.
There is no session in desktop app in vb.net .i want to transfer valuse from one form to other want to transfer form 1 (TextBox1.Text) value on form2 (objuserpage.Label1.Text)
'form 1=userpage.vb
Dim objuserpage As New userpage()
' form 1 textbox TextBox1.Text[code].....
I have two forms. In form 1, I have a textbox1 and in form two, I have a textbox2 and a button1. Now what I want to do is, write in textbox2 (That is in FORM2) and when I press the button, it just go to textbox1 (That is in FORM1)
View 3 RepliesI have a panel to form2 on my form1 which displays a picture box fine. I got a peice of code that stores 5 images in an image list and works off a keypress.
When I press the Comma key the image changes to the next one. This works fine on its own but when I put it in form2 and try to put the keypress code on form1 for it to change image in the panel it doesn't work.
Public Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim player As Integer = 2
End Sub[code]....
If I click button two it will pass variable player to form2 .If I click button three it will pass variable player to form2 can't seem to pass gas much less a variable,need to pass plater to form2
I have 2 forms. Form1 and Form2 When the user calls for a new record to be created, Form2 shows modally centered in form1. I have disabled the control box and need to stop the form from being moved by the mouse. I do not see (Movable) in the properties list.
View 3 RepliesI have been searching for days and have come up stumped. My applcation opens with Form1. There is a menu bar with a Tools menu. Under Tools is Options which opens Form2.Form2 contains a combobox which I need to use to control an IF on Form1.
Public Class Options
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ALSuffix.SelectedIndex = My.Settings.ALSuffix
End Sub
[code]....
I have tried SelecetedIndex, SelecetedValue and a number of other options.
I need search code for Form2..
What is in Form2:
2-TextBox's :
: 1 Texbox is where will appear the text when someone open a .bmd file
: 2 Texbox is what word to search in texbox1 when is opened (else if its not opened file to show error that is not opened file)
1-Button that when it is pressed to start searching in texbox1 for that word what is in Textbox2
I would like to do 2 things (or one of the two)
first, I have in form1 a textbox1 and i would like to bring the info of it to a textbox (or label) in form2
second, If it's possible i would like to set a picture from form1 to form2 (if that's possible)
In the FORM1, the datagridview contain some product column and user can input the number of product quantities they want to buy.if user press the "buy" button, i want it to open FORM2, with datagridview containing the list of the product they buy from datagridview in FORM1.[code]...
View 1 RepliesI have an equation on Form1.vb that calculates a number. I need that number to be used in another separate formula that's on Form2.vb. How do I do this? I thought using a Module would work but I can't get the function on the Module to "see" the formula and/or variables that I need on Form1.vb. I am using VB 2005.
View 8 Replies