Make A Progress Bar Last 4 Seconds Then Switch To Another Form?
Nov 25, 2009
What 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
View 1 Replies
ADVERTISEMENT
Dec 17, 2009
How do i make a progress bar finish in 3 seconds after pressing a picture?
View 16 Replies
Mar 11, 2012
im using split containers right now to switch between 4 panels is it possible to make the form resize when i switch panels to the size of the contents of panel?
View 2 Replies
Aug 15, 2011
load another form and i want a progress bar to work with it.
View 19 Replies
Jul 15, 2010
I 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.
View 21 Replies
May 18, 2011
Is it possible in Visual Basic to make a Windows form vibrate randomly for a few seconds, similar to an "earthquake" effect?
View 3 Replies
Oct 12, 2010
Can 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 Replies
Nov 11, 2009
VB.NET is good for me, because it is simple and its not complicated and you don't need to be so strict with syntax. I want to switch to C# but I just don't feel up to it because of the syntax and C# being so strict. What are some good reasons to switch to C# and what will make the transition easier?
View 7 Replies
Feb 12, 2010
I have been learning VB.NET since the summer and I was wondering if it makes sense for me to skip learning the things in VB.NET that I do not know and move on to C#.
I think I may be more comfy in C# because I have been using Actionscript 3 for over two years and have toyed with Java and C.
On the other hand, I've never done anything serious with C or Java.
So, finish VB.NET or learn C#?
View 5 Replies
Feb 16, 2011
So I am trying to Make a Jewel Quest sort of Game and I need to be able to make the image from one picturebox trade places with an image from another picturebox, I m trying todo it with the MouseMove, DragEnter, and DragDrop events and so far i think ive gotten everything figured out for the first two but cant figure out how to code the drop event.....
View 3 Replies
Apr 27, 2009
I have a web browser on my form and it is definitely big enough to warrant a tab control, with the web browser being on the second tab. I have a button on the first tab that should have the browser navigate, but how do I make the program automatically switch to tab 2? i.e., this is what happens:
1 - user is on tab 1,
2 - user clicks a button on tab 1,
3 - the program does what it needs to do and automatically switches to tab 2
For instance, here is the button that will be clicked:
Private Sub swap_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles swap.Click
If video = False Then
[Code].....
So the button will make the web browser go somewhere, I just want to have the form switch to the other tab automatically so that the user doesn't have to do it. I tried using webbrowser1.focus() to no avail. Is there a tab switch?
View 2 Replies
Jan 5, 2010
How to switch between form in runtime
View 5 Replies
Aug 10, 2010
In my program I want to have two different 'modes', each has its own form. My main form in the program is 'Normal Mode', but there is also a mode called 'Basic Mode' which has a smaller form. How can I switch between the two forms (using buttons) by closing the other without my program closing on me?
View 6 Replies
Aug 8, 2005
i am trying to connect my vb.net form with an electrical switch.. like i have two buttons on the form one for turning on the switch and the other is to turn off the switch ...
View 39 Replies
Sep 20, 2010
If I have a form open already that is not modal, can I turn it modal by the click of a button on that form.
View 1 Replies
Mar 8, 2011
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 Replies
Mar 15, 2009
i 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 Replies
Oct 26, 2010
shutdown -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 Replies
Apr 22, 2012
How to make 5 seconds pause in VB?
View 4 Replies
Aug 7, 2009
I'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:
View 10 Replies
Aug 16, 2011
I am trying to make a UI that has a few forms / panels, each for a different "Tab" in the program.
I am guessing that the way to do this is using panels and code like:
Panel1.Visible = False
Panel2.Visible = False
Panel3.Visible = False
Panel4.Visible = True
Would I be correct in assuming that this is the best way to go? (I don't want lots of popup forms in the program, looking for the most streamlined way to go).
Also, if this is the correct way to go how would I go about hiding each panel in the IDE so that I can work on each one seperately using the designer view?
Here is the best example application I can think to use: [URL] Each of the tabs (Proxies, Harvester etc) has an image as the tab (Which I can't find an option to do with TabControl and then displays the container / panel below it
View 1 Replies
Jul 1, 2009
[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 Replies
Jun 9, 2011
how 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 Replies
Feb 15, 2012
For 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.
View 1 Replies
Dec 12, 2009
When a messagebox pops up, how can I bring a form infront of the messagebox (or switch betwen different forms) and then bring the messagebox back again again if I want to click OK button to proceed with the remaining code?
View 11 Replies
Oct 23, 2010
I 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 Replies
Jan 3, 2010
I 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]....
View 10 Replies
Jun 30, 2011
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]....
View 3 Replies
Aug 20, 2010
Is it possible to switch Visual Basic 2010 Express to MDI mode so I can view the code behind alongside the form design?
View 2 Replies
Aug 17, 2009
how to make tray baloon like in chat.that whenever is online it is popup and hide for how many seconds..?
View 5 Replies