473,386 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Need help to create a map

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
5 2253
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Julia | last post by:
Hi I have a domain model and I am looking for the correct design patterns to use, The following is my domain model Server-> the is the thread boundaries,the server create a thread the...
25
by: Bjørn T Johansen | last post by:
I need to write a SQL that calculates the interval between a start time and a stop time. This is the easy part. The problem is that I only have the time part, i.e. no date, so how can I be sure to...
2
by: aj902 | last post by:
Hello , I am trying to create a program where all detail, http://www.albany.edu/~csi333/projects.htm
48
by: Chad Z. Hower aka Kudzu | last post by:
A few of you may recognize me from the recent posts I have made about Indy <http://www.indyproject.org/indy.html> Those of you coming to .net from the Delphi world know truly how unique and...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
4
by: access baby | last post by:
i have a huge database based on date and time need to create different report we need to measure our work processes how many order received , order cancelled, completed and count of items completed...
1
by: javabeginner123 | last post by:
i have a java prob, and i have to solve it fast, but i'm just getting to know it, so plz help me solve it with full code completed, thanks so much. the prob is to create a monter fight and there is...
3
by: akshaycjoshi | last post by:
IT"S A LONG QUESTION.PLEASE BE PATIENT TO READ IT. I HAVE EXPLAINED IT TO MY MAXIMUM CAPACITY. I am making one app. in which i need to create a seperate access database for each day. Its a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.