VS 2010 - Make A Traffic Lights Program - Lights To Change Within A Give Time
Jul 4, 2011
How to use time in vb.net.I would like to make a traffic lights program in vb.net but am not yet sure where to start besides the interface.I want the lights to change within a give time.
how to use time in vb.net.I would like to make a traffic lights program in vb.net but am not yet sure where to start besides the interface.I want the lights to change within a give time.
I have found a program called ledsdriver( http:slicksolution...edsdriver.shtml ). i can control the serial ports on your pc but also the keyboards lights (caps lock,num lock and scroll lock). The good thing is if i connect 2 keyboards i can chose which one i want to change the lights.I want to make one that could control the keyboard lights but only on one keyboard. I wold like to make my own because i could customize it(that one isn't open-source). How can i do that?
Hey everyone, i am in the process of making a replica deal or no deal game.It will have 20 cases, and have done half of the program i am up to programming the game stage I am a little confusd on how to make the program give a bank offer after x number of clicks?
How to make when the program loads to give 1 textbox to enter password: if they enter wrong password to give them message that the password is not right and to try again..if the password is right to open the corect form.can someone help me with that i have made 1 keygen program and i have insert there the keygens and to make the program to has more than 1 password inside to check
Me and a few other people are developing a piece of software that measures levels of distraction based on some user settings. The user will be able to designate certain programs, websites, etc. as "on task" and anything else will be considered "off task" by the program. The only road block we have run into is being able to grab the user's current web page in real time -- at any given second we need to be able to programatically determine what web page the user is viewing (in any browser) and determine whether it falls under "on task" or "off task". We would like to do this by creating a C# extension for Fiddler2 but are open to other suggestions as well (the software itself is programmed in VB.NET).
1st label is "Clock" this pulls the time from the users current time zone/local time
2nd label is "UTCClock" Which would be UTC time
Now I have this for the first label: clock.Text = Format(TimeOfDay, "hh:mm:ss tt")
Which would give the users current time zone/local time. As for the UTC.. how would I add in for the UTC time from where the user is located at? I did some searches.. but couldnt find what I was looking for.. IM pretty sure its not as easy as getting the users current time zone/local time.. So im assuming that Theres a "bit more" code into getting UTC time..
I need to create a program that rolls a dice a user generated number of times and give the frequencies of the numbers that come up.I cannot for the life of me figure out how to get the frequencies?
I want just a code that calculate and show the traffic (volume) of sending and receiving to/from internet?for example, IE is opening a page and IDM is downloading a file ; NOW , how many bytes has been sent / received
I want to make a Small Traffic Monitoring Program for our house. Since in South Africa Internet is One of the many things that are way overpriced I want to monitor each computers traffic with a small Program since even when we are not at home for a day we might easily use 2 gigs of data. Somewhere a computer is downloading like mad?For a 4 mib(you only get 3.5 at most) line here Will cost you around R413(36 GBP/ 58 Usd) per month and One gig of data around R19(1.68 GBP/ 2.70 Usd) - R112(9.9 GBP - 15 USD).Ok enough Complaining. Each Computer in our house Connects to the internet either with lan or Wlan So is their a way to get how much traffic passes through one of those OR is there a way to monitor the total internet traffic regardless of how it connects to the internet ?
I made vb.net program for 1440x900 resolution, if i run my program on 800x600 or 1024x768, my program's resolution is bigger then windows, so i have problem with resolution. Now i want to change my program's size and i am interested in, wich resolution is correct to make program, 800x600 such as minimum?
I have a game which has a chatbox in it and was wondering if its possible to create a program that intercepts the traffic going into and out of the game including whats writen in the chatbox.I am the host of the game.Basicly I want the information to be displayed in something like a richtextbox?
While trying to set date time using SetSystemTime by passing the Structure.Only the date of the system is changed.Time is also gets changed but incorect time is showing in the System Clock of the Taskbar.e.g When I pass the following Structure(timeStru) to the SetSystemTime [code]...
I'm making a speed game in VB.Net (Console Application) and users have a certain time to press a certain key. So how can I give the Console.ReadKey function a timeout without just waiting until a key was pressed?
I work with the Visual Basic Express Edition 2008. I'd like to write in a text box : 1s5 but the 5 has to be the exponent of s like 1s5 does anyone know how I've to write this in Visual Basic?
Second problem is:
Dim foo As New clsParallelPort(&H378, &H379, &H37A) foo.communicate(2, clsParallelPort.switch.SWITCH_ON) 'switch data 1 on foo.communicate(3, clsParallelPort.switch.SWITCH_ON) 'switch data 2 on
[Code]...
The problem is that I give out a signal to the 8 data lines and then to the control line 10 and then to the control line 1 but what I'd like to do is to give firste a signal out to the 8 data lines and then at the same time a signal out to control line 10 and 1. How can I do that?
Ok but I think you are well! I have created my class for picturebox but the problem is that I have failed to give it object which will change its image after a time t.
My class is:
CODE:
my problem is how I caan create different picture box at different position and make them to change their pictures in time(Picture list should be available in resources folder).
im currently writing a program calculates commute costs. How can i have the class that calculates the costs of the commute, to be able to change the .text value of a label?
Is there a command in vb that can be used to pause a routine to give time for the form to show before the routine starts as my routine is running and completing before my form shows up?
I would like to make the user of my program able to change the hotkeys to what ever he wants..I tried to use the following code in a module and on MainForm load event RegisterHotKeys Sub will be executed..[code]
I am creating a program for which will calculate the time taken for a user to make a number keystrokes. I want to start the timer running from the beginning of the first key stroke and end on the final keystroke. Each keystroke has been linked to a label which will change colour according to whether the key has been pressed. When the keystrokes have been finished I want to save this timespan in a field in a database. To test that the timer is running I have made a messagebox which will show the time taken however it is constantly showing zero and the label for the final keystroke is remaining in the keydown colour.
Public Class Form1 Dim dteStart, dteFinish As Date Dim span As TimeSpan
I need to make a packet sniffer that will give me SSL packets. It doesn't need to give me any other information than the body of the packet, the actual data being sent to me. It does not need to differentiate between different IP addresses. And, it doesn't even need to differentiate between things which are and are not SSL packets. Any packets will be fine, it just needs to support SSL packets. The fewer lines of code the better...
Out of curiosity, is there a way i can make a program stop or pause for a period of time (which i would choose) before continuing the code WITHOUT a timer.I think I've seen this done before, but I'm not positive.Also note that I'm talking about a forms application (not a console app if that would be any different.)
I am working on a project in Visual Basic .NET 2010 on Windows 7 SP1 that previously ran fine in Windows XP SP3 but has recently started crashing immediately upon running the executable. I have made several additions/changes since the last time it was tested on XP, so it is difficult to pinpoint what might be the problem. (I commented out all of the start form's _Load event, which causes the form to load with no events triggered in the IDE, but the program still crashes in XP, so I suspect it's something other than my code, though I don't know what else could have changed to trigger it.)
I am wondering on how to write the code such that the program will respond when 2 arrow keys are pressed at the same time. In other words, I would like to have the program to behave like a racing game.