By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,462 Members | 1,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,462 IT Pros & Developers. It's quick & easy.

Need help to create a map

P: n/a
Hi

I need to create a map for a room (chairs, bed, TV, forniture, etc).
All object allready exists like png images. I need to create a map for
each room, i mean the user need to create.

How can I do this?

TIA,
Paul
Feb 6 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
First YOU attempt it yourself, post snippets of where you got stuck or some
methods of solving this that YOU have thought of. Then people help you when
you are stuck on the way.
"Paul M" <pa*********@almexa.rowrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi

I need to create a map for a room (chairs, bed, TV, forniture, etc).
All object allready exists like png images. I need to create a map for
each room, i mean the user need to create.

How can I do this?

TIA,
Paul

Feb 6 '07 #2

P: n/a
I'm stuck now, because I have images of my objects in png format but i
don't know how to use them like this:
- user can modify the map (position of objects)
- user can select object and selected object must return id value;

Is necesary some envelope to keep togheter all object...can I put object
directly on form??

I need first guidance to create something, more than the ideea.
If my ideea is wrong I would like to know now, not 3 month later an
recreate all project again.

So, any ideea would be appreciated!

Paul
PokerMan wrote:
First YOU attempt it yourself, post snippets of where you got stuck or some
methods of solving this that YOU have thought of. Then people help you when
you are stuck on the way.
"Paul M" <pa*********@almexa.rowrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>Hi

I need to create a map for a room (chairs, bed, TV, forniture, etc).
All object allready exists like png images. I need to create a map for
each room, i mean the user need to create.

How can I do this?

TIA,
Paul

Feb 6 '07 #3

P: n/a
Hello again

Well your second question is a little better but i still don't see an idea,
or a way of tackling you issue here. Just your requirements and 'how do i do
it?'.

To be honest i am not even sure what you are trying to do from your
description i can't understand. When you say images of your objects, are you
referring to an object in the literal sense? Or code sense?

If you want to put images on a form and then allow user to move them about.
Yes that can be done.

You could use a picture box, and allow user to drag it about by capturing
the mouse down event and tracking it along with updating the picture box
location. That would allow user to move it abt.

For selecting catch the click event on the picturebox and have that return
the value you need to identify which is clicked.

I dont know if that helps

"Paul M" <pa*********@almexa.rowrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
I'm stuck now, because I have images of my objects in png format but i
don't know how to use them like this:
- user can modify the map (position of objects)
- user can select object and selected object must return id value;

Is necesary some envelope to keep togheter all object...can I put object
directly on form??

I need first guidance to create something, more than the ideea.
If my ideea is wrong I would like to know now, not 3 month later an
recreate all project again.

So, any ideea would be appreciated!

Paul
PokerMan wrote:
>First YOU attempt it yourself, post snippets of where you got stuck or
some methods of solving this that YOU have thought of. Then people help
you when you are stuck on the way.
"Paul M" <pa*********@almexa.rowrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>>Hi

I need to create a map for a room (chairs, bed, TV, forniture, etc).
All object allready exists like png images. I need to create a map for
each room, i mean the user need to create.

How can I do this?

TIA,
Paul
Feb 6 '07 #4

P: n/a
PokerMan wrote:
To be honest i am not even sure what you are trying to do from your
description i can't understand. When you say images of your objects, are you
referring to an object in the literal sense? Or code sense?
In my first post I sad that my objects are images in png format. This
objects will be inserted in objects table in SQL database (image field).
Each user could create his own map, using object from database.

Each map could be different and objects have distinct position.

What i don't know is how to display this map.
Suppose admin create maps for users, 3 users , 3 maps.
If one user open application i need to display his map. That involve all
object from map, in right position and right dimension.

I intend to use some serialization,deserialization for objects. I
understant I could serialize map and on deserialization insert in
position for each object image from database.

All i need now is 'the control' where i deserialize the map! There's
allready in VS or I need to create one?

TIA
Paul
Feb 6 '07 #5

P: n/a
Er?

"In my first post I sad that my objects are images in png format."

That makes no sense. Are you loading images into a CLASS object? Or are you
referring to an image as an object in its own right? An image is not an
object in a code sense. Its a data stream of bytes if you want to get real
picky. Now if you created some class tructure you load it into, then it
becomes an object of that class.

When yuo say map, you mean a literal map? A visual one people can see? Or
some kind of class mapping to access these images?

I am sorry your being way too vague and unclear and seem to have your
terminology mixed up. I can't help maybe someone else can, good luck.
"Paul M" <pa*********@almexa.rowrote in message
news:uD**************@TK2MSFTNGP06.phx.gbl...
PokerMan wrote:
>To be honest i am not even sure what you are trying to do from your
description i can't understand. When you say images of your objects, are
you referring to an object in the literal sense? Or code sense?
In my first post I sad that my objects are images in png format. This
objects will be inserted in objects table in SQL database (image field).
Each user could create his own map, using object from database.

Each map could be different and objects have distinct position.

What i don't know is how to display this map.
Suppose admin create maps for users, 3 users , 3 maps.
If one user open application i need to display his map. That involve all
object from map, in right position and right dimension.

I intend to use some serialization,deserialization for objects. I
understant I could serialize map and on deserialization insert in position
for each object image from database.

All i need now is 'the control' where i deserialize the map! There's
allready in VS or I need to create one?

TIA
Paul

Feb 6 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.