| | |
VB6: Road map implementation
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Hi!
Before we get started, take a look on the picture below:
http://img524.imageshack.us/img524/5440/mapms1.gif
If you use your imagination, you could see there a road map with two points: the "start point" and the "goal point". The truck must start in the "start point", follow the "road nº2", then the "road nº1", then the "highway" to get the "goal point".
Well, I'll load the image into a picturebox in vb6 and load it into memory to work with the pixels values.
I need a clue. I am not talking about code. I need to know if you have any ideas how to program the move of the truck across the roads to get the goal point.
I was thinking on paint the different elements in the maps using very different colors to catch the contrast variation to determine what is a road and what is not.
Oops, Almost forget, the maps will be different according to where the user is using the software.
What do you think about that?
Any other idea?
Thanks.
Before we get started, take a look on the picture below:
http://img524.imageshack.us/img524/5440/mapms1.gif
If you use your imagination, you could see there a road map with two points: the "start point" and the "goal point". The truck must start in the "start point", follow the "road nº2", then the "road nº1", then the "highway" to get the "goal point".
Well, I'll load the image into a picturebox in vb6 and load it into memory to work with the pixels values.
I need a clue. I am not talking about code. I need to know if you have any ideas how to program the move of the truck across the roads to get the goal point.
I was thinking on paint the different elements in the maps using very different colors to catch the contrast variation to determine what is a road and what is not.
Oops, Almost forget, the maps will be different according to where the user is using the software.
What do you think about that?
Any other idea?
Thanks.
![]() |
Similar Threads
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- starting XMl (XML, XSLT and XPATH)
- Factory Design pattern implementation (C++)
- Do you need AV and Firewall? (Windows NT / 2000 / XP)
- Tutorials, brushes, fonts (Graphics and Multimedia)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: postfix and visual basic
- Next Thread: Need help on VBP Assignment
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





