Make A Form That Imitates A Load And Waits A Few Seconds?
Aug 15, 2011load another form and i want a progress bar to work with it.
View 19 Repliesload another form and i want a progress bar to work with it.
View 19 RepliesI have created a splash screen and would like it to display for 5 seconds and then display the MainMenu form. The book I am following suggested using
Threading.Thread.Sleep(5000)
but it just makes the splash screen APPEAR after 5 seconds of nothing.
How can I make a timer start 30 seconds after form1.load
View 6 Replieshow i can make a udp server that waits client to communicate with him and the server answer them back even if the server doesn't know the ip of the client in vb.
View 3 RepliesWhat code would I use to make a progress bar last 4 seconds then switch to another form?
I can't find any good code for a progress bar besides on youtube which I don't know how to change the timing on it
Is it possible in Visual Basic to make a Windows form vibrate randomly for a few seconds, similar to an "earthquake" effect?
View 3 RepliesI am looking for a Visual Basic control(s) which imitates the look and feel of the Microsoft Encarta Kids
View 1 RepliesCan I make a certian function that will fade out [make a black screen that fades out for 2 seconds], then come back? Is that possible? ON A FORM.
View 3 RepliesI'm doing a project in computer programing. I need to make a game so I made pong.everything is working fine, except when it loads it is often so low that you cant see the bottom paddle and i have to move the form up.is there a way that i can make the form automatically load already maximized, or load at a certain point in my screen?
View 3 RepliesIs there an Equivalent for the following code in VB2008?
VB6:
Load frmAlarm ' Loads the form
frmAlarm.EditAlarm oAlarm ' Loads what was saved on that form
[code]....
I'm trying to make a progressbar that shows the load time of the next form.I've tried alot of different ways to do it, but it and the speed is always the same whether the next form loads faster or slower.I'm not sure what variables to use or anything.
View 3 RepliesHow to make the File menu drop down on form load ?
I want to make the File Menu to drop down when the form is opened.
i would like to have a shared function in a separate class file to address the form location . but i dont know how can i get this to work. if i use this below code in my form its working . but i cannot move this to a class file.
Shared Sub Formlocation()
Me.StartPosition = FormStartPosition.Manual
Me.Location = Screen.GetWorkingArea(Me).Location
End Sub
I am using an API in order to get a program to print, when i load this api using print(), i get a dialog with ok, cancel, etc that needs to be dismissed before the vb app can run further: i never get to see MsgBox("hello world") until i dismiss it.
how i can run "mdwobj.Print()" and sequentially "MsgBox("hello)"?
Imports CcBase
Dim mdwobj As New CCMDW.MDW
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
[Code].....
Dim LabelArray(12) As Integer
LabelArray(0) = Label3.BackColor = Color.White
LabelArray(1) = Label4.BackColor = Color.White
[CODE]..................
i have made an array. first of all i want to make it global and on form load i wanna show it's first position and on a button' s click i want to increase it's position by one how can i do that
I am acquiring data with an HID device. The code below is a rough outline of my timing mechanism.
Dim CANTimer as New System.Diagnostics.Stopwatch
Dim resetEvent as New Threading.ManualResetEvent(False)
....
[code].....
i would like to pause and show my splash screen for few moments when the program loads. How can i do it in vb.net winforms...
View 2 Repliesi was wondering How Would I make Like Button Two Click It Self Like Every 2 seconds so like once I run The Debug It ...It Will Start Clicking It self every 2 seconds
View 2 Repliesshutdown -s t 60shuts down the PC in 1 minute. I would like to make the seconds part of the syntax variable as:Dim varSec as integer Process.start(shutdown s t & varSec)But it doesnt work nor produces errors. Can it be done this way?
View 3 RepliesHow to make 5 seconds pause in VB?
View 4 RepliesI'm having an interesting issue that I can't reproduce on a different project, but can consistently on this one. I have no clue what might be causing it, but am hoping that someone may have seen it before.
I have a main form, from which I run a series of checks. On this form, I have a listview control. Because of some issues with the refreshing of this listview control, I had to create my own messagebox. It's just a form that displays some text ( it also happens to look nicer than MsgBox; in my opinion, anyways ). It's been working great for months, until recently.
My problem is that on my main form's load event, I run this check, which returns an error within a try/catch block. I then call my custom messagebox with a message. It in turns calls it's ShowDialog() function.
In any other situation ( after the main form has been loaded ), I have no problems. The messagebox goes on the screen and behaves appropriately ( ie: waits for my input and acts as a modal dialog ( stops execution of my main form's thread ) ). However, on this onload event, my messagebox comes up and goes away almost immediately afterwards.
I've traced it all the way to the showdialog() call. For no explicable reason, it appears to skip right over this call, without me doing anything on the form.
Here's what the inner trace looks like ( when I put a breakpoint on the onclosing event for this messagebox form ):
CODE:
Imports System.Data
Imports System.Data.OleDb
Public Class Form1
Dim con As OleDbConnection
Dim cmd As OleDbCommand
[CODE]...............
The insertion part of the form works great. But my problem is in the form load part......If i leave a field blank(Null),then perform Save operation,close the form after successful insertion and then reopen the form,then it retains the previous values during the form load......This is only in case where i leave a field blank in the previous data entry in the database.......But if i enter values in all fields then form load is working great.
[code] This code will make the progressbar increase by 1 tick every 0.25 seconds?But the thing I need help with is to make TextBox1.Text write out a message typed in it to TextBox2.Text when the progressbar is full. And when that's done I want the progressbar to go back to 0. [code]
View 9 Replieshow can i make a Label control to have the present day an time value and also make the time tick as in a normal digital watch.
View 2 RepliesHow do i make a progress bar finish in 3 seconds after pressing a picture?
View 16 RepliesFor a school project I need to make a timer with a bell sound that sounds every 60 seconds in VB, I cannot work out how to make the bell sound on the 60th second, I am not getting any errors in the VB console, so I assume that I am just using the wrong code or it is in the wrong place.
Public Class OSCETimerControl
Dim t As Integer
Dim s As Integer
Dim a As Integer
[CODE]..........
There are actually 3 text boxes (not yet coded the final one) one for minutes, one for seconds and the final one is for the bell sound which will not be visible.
I have created a banner for a sl3 app . What I need now is a timer(timespan?) event to trigger the banner to load new info every 5 seconds. I can't find info on timespan on how to trigger this event.
View 10 RepliesHow can I load a form and allow it to run it's code in the form load but keep it not visible. I want it to do what it needs to but but not display.
View 3 RepliesI have been asked by a friend to make a basic timer that counts down from 3 mins and 1 mins intervals but at the end of it i have a Critical message box pop up with the sound to alert him that the time is up.i have set it so that once ok on the msg box is pressed the timer restarts..I am Just wondering if there is a way to just make sound for x seconds then the timer restarts without any button pressing?[code]
View 2 RepliesI have 4 textboxes Hours, Minutes,Seconds,Milliseconds. When textboxes values are set the count down begins. So far everything works except the milliseconds
Timer1.Tick
Timer1.interval = 100
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Dim Vals3(3)
[code]....