473,569 Members | 2,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating traffic simulator with VB .NET

Dear Readers,

This is my first post to this group. I was pointed to this group in a
other vb group, so i have better luck here!

For my learning curve of VB .NET i want to make a traffic simulation
program. Before i start programming, i need to know if there even is a
possibility to make a algorithm in VB .NET that is able to let traffic
drive and making the lights go green, orange or red.

Thanks in advance,

Wouter van Teijlingen
Nov 21 '05 #1
26 5562

"Wouter van Teijlingen" <wo*****@nedlin ux.nl> wrote
For my learning curve of VB .NET i want to make a traffic simulation
program. Before i start programming, i need to know if there even is a
possibility to make a algorithm in VB .NET that is able to let traffic
drive and making the lights go green, orange or red.

What sort of algorithm do you anticipate that may cause it trouble?
VB.Net is a programing language, after all....

LFS
Nov 21 '05 #2

"Wouter van Teijlingen" <wo*****@nedlin ux.nl> wrote
For my learning curve of VB .NET i want to make a traffic simulation
program. Before i start programming, i need to know if there even is a
possibility to make a algorithm in VB .NET that is able to let traffic
drive and making the lights go green, orange or red.

What sort of algorithm do you anticipate that may cause it trouble?
VB.Net is a programing language, after all....

LFS
Nov 21 '05 #3
Wouter,

In addition to Larry, when you cannot do it with VBNet you probably cannot
do it with any programming language. Although there are languages which
better fit for special situations as deep in the operating system
programming and creating browser plugins.

I saw nedLinux in your email adress, there is a VBNet mono. Here we almost
all do VBNet microsoft (therefore is it a microsoft newsgroup). Most of us
don't know how VBNet in Mono is acting at the moment.

Just a little bit to get the traffic in the right direction.

Cor
Nov 21 '05 #4
Wouter,

In addition to Larry, when you cannot do it with VBNet you probably cannot
do it with any programming language. Although there are languages which
better fit for special situations as deep in the operating system
programming and creating browser plugins.

I saw nedLinux in your email adress, there is a VBNet mono. Here we almost
all do VBNet microsoft (therefore is it a microsoft newsgroup). Most of us
don't know how VBNet in Mono is acting at the moment.

Just a little bit to get the traffic in the right direction.

Cor
Nov 21 '05 #5
Ok. But is it possible to make something that you can control the
traffic lights with button. So i press green then the traffic will start
driving? I press red it will stop?

My email ends with nedlinux, but i'm really using VB .NET 2003 here :-)

Thanks,

Wouter van Teijlingen
The Netherlands
Nov 21 '05 #6
Ok. But is it possible to make something that you can control the
traffic lights with button. So i press green then the traffic will start
driving? I press red it will stop?

My email ends with nedlinux, but i'm really using VB .NET 2003 here :-)

Thanks,

Wouter van Teijlingen
The Netherlands
Nov 21 '05 #7
Wouter,

You can control the RS232 port if you are asking that.
Mostly is that answered by Dick Grier in this newsgroup.

When you make a message like "how can I do the traffic lights using the comm
port or RS232" he will probably answer you because in my idea has he some
kind of filter on that in his newsreader.

This is his homepage
http://www.hardandsoftware.net/

There is a lot on MSDN, I never did this kind of things however here a
sample.
http://msdn.microsoft.com/library/de...versamples.asp

I hope this helps?

Cor

Nov 21 '05 #8
Wouter,

You can control the RS232 port if you are asking that.
Mostly is that answered by Dick Grier in this newsgroup.

When you make a message like "how can I do the traffic lights using the comm
port or RS232" he will probably answer you because in my idea has he some
kind of filter on that in his newsreader.

This is his homepage
http://www.hardandsoftware.net/

There is a lot on MSDN, I never did this kind of things however here a
sample.
http://msdn.microsoft.com/library/de...versamples.asp

I hope this helps?

Cor

Nov 21 '05 #9
Cor Ligthert wrote:
Wouter,

You can control the RS232 port if you are asking that.
Mostly is that answered by Dick Grier in this newsgroup.

When you make a message like "how can I do the traffic lights using the comm
port or RS232" he will probably answer you because in my idea has he some
kind of filter on that in his newsreader.


That's not what i mean. It has to be software only. Imagine the following:

I have train. When the train passes the train passage has to close. The
''battle trees'' have to be closed until the train is away. I don't want
to combine this with hardware at all (only the computer).

So when i press the button GREEN cars can ride. When i press RED, when
train comes by, cars must stop. So the train must comeby, let's say,
every five minutes.

I hope this makes things better understandable. Thank you for your help.

Bye,

Wouter van Teijlingen

Nov 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8345
by: Wouter van Teijlingen | last post by:
Dear Readers, For my learning curve of VB .NET i want to make a traffic simulation program. Before i start programming, i need to know if there even is a possibility to make a algorithm in VB .NET that is able to let traffic drive and making the lights go green, orange or red. Thanks in advance, Wouter van Teijlingen
0
2293
by: Alex Vinokur | last post by:
C++ Simulator of a Universal Turing Machine can be downloaded at : * http://alexvn.freeservers.com/s1/utm.html * http://sourceforge.net/projects/turing-machine/ The program simulates a Universal Turing Machine (UTM). The UTM used in the Simulator is three-tape Turing Machine: * Tape#0 contains transition table and initial instantaneous...
9
2621
by: Milk | last post by:
Hi all, Can anyone help me to do this Question. Coz this is my first time study C++ language and my lecture want me to do this kind of program, i really don't have any ideal pls help me here is the Question:: Improve the following (badly written) matrix multiplicationprogram and translate it into MIPs assembly language then assemble into...
61
16206
by: /* frank */ | last post by:
I have to do a homework: make a CPU simulator using C language. I have a set of asm instructions so I have to write a program that should: - load .asm file - view .asm file - do a step by step simulation - display registers contents I tried to search con google with no success.
0
1596
by: SatishPasala | last post by:
Hi I am developing a Windows Mobile application. I want Visual Studio to use Palm Simulator to display the application. Now it is pointing to Default Simulator. I downloaded the Palm Simulator. I need to add it to Visual Studio. Can some one help me to add the simulator?
0
1397
by: François | last post by:
Hi, My current job is to develop VoiceXML dialogs. The voice platform that we use provides neither a debugger nor a simulator, and each time I want to test a new dialog, I have to upload it on the remote production server, and to call the voice platform. So I would like to know where I can find a freeware VoiceXML simulator able to run a...
0
4063
by: Killingkids | last post by:
hello, everyone...im facing a big problem in my final year project, hope that u all can help me solve the problem ... i was doing a mobile web application which enable student to check the college information through mobile, however i just use simulator to test my system... one of modules or function was enable the student to downloads some...
0
1692
by: Killingkids | last post by:
hello, everyone...im facing a big problem in my final year project, hope that u all can help me solve the problem ... i was doing a mobile web application which enable student to check the college information through mobile, however i just use simulator to test my system... one of modules or function was enable the student to downloads some...
3
4728
by: DanielJohnson | last post by:
I was wondering if anyblody can suggest me a network simulator written in python in which I can add on my own code and extend its functionality. I am looking for a simulator which will simualte TCP, UDP, RTP and most networking protocol. The learning curve for ns2 and other simulator is too high for me at this time and thats why I am...
0
7701
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7615
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8130
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.