Hi,
I have written an application which is a basic Event Management system. Events are entered in to a database which are then visible
on a Console (the VB application).
These events have a "location"-field which is a separate class in the VB-code.
My client now requests that these locations are being in a graphical manner:
Being totally new to programming graphics in VB, I have the following questions:
How do I select an irregular region (polygon) of an image (let's say the borders of Italy on the European map) and store that information
in a database so I can link it to a location class instance?
How do I use this information to change the background of only that region of the jpg?
Any help is greatly appreciated. I should also mention that it is a Winform application.
MartinLG
I have written an application which is a basic Event Management system. Events are entered in to a database which are then visible
on a Console (the VB application).
These events have a "location"-field which is a separate class in the VB-code.
My client now requests that these locations are being in a graphical manner:
- Upload a jpg which is a map, for sake of this example let's take a map of Europe.
- Link a location ("Italy") to a region of that map
- Change the background colour of that region whenever an event arrives for that location
Being totally new to programming graphics in VB, I have the following questions:
How do I select an irregular region (polygon) of an image (let's say the borders of Italy on the European map) and store that information
in a database so I can link it to a location class instance?
How do I use this information to change the background of only that region of the jpg?
Any help is greatly appreciated. I should also mention that it is a Winform application.
MartinLG