[VB 2008] How create a plan of house

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?dmlubw==?=

    [VB 2008] How create a plan of house

    Hello,

    I am creating a VB 2008 application and i would like to create a plan.
    I try with Graphics of GDI but it doesn't work how i wish.
    Each wall and window of my plan is a Graphic but Graphic is not an object
    and then i cannot work on (move, delete).
    Is there an other method wich is better to do this or may be i have to
    create work with label which will be an object.

    Thanks for your help.

    Gilles.
  • Miro

    #2
    Re: [VB 2008] How create a plan of house

    I dont know how much time you want to spend on it, or if it is even worth
    your time designing this...

    take a look at http://www.punchsoftware.com/products/platV12.htm

    it works great and its 99 bux

    I have no relation with this company, but I have used the product and it was
    very nice in creating a house layout and then it lets you 'walk' through it.

    Just making sure that your time you spend on this might be worth more than
    this 99bux in which case this might be a quick and cheap solution for you.

    Miro

    "vino" <alex_vino@disc ussions.microso ft.comwrote in message
    news:0758056B-5339-4BC4-BA91-1916782768C5@mi crosoft.com...
    Hello,
    >
    I am creating a VB 2008 application and i would like to create a plan.
    I try with Graphics of GDI but it doesn't work how i wish.
    Each wall and window of my plan is a Graphic but Graphic is not an object
    and then i cannot work on (move, delete).
    Is there an other method wich is better to do this or may be i have to
    create work with label which will be an object.
    >
    Thanks for your help.
    >
    Gilles.

    Comment

    • =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=

      #3
      RE: [VB 2008] How create a plan of house

      Before you get too far into this, you should spend time at this site:
      http://www.bobpowell.net/.

      "vino" wrote:
      Hello,
      >
      I am creating a VB 2008 application and i would like to create a plan.
      I try with Graphics of GDI but it doesn't work how i wish.
      Each wall and window of my plan is a Graphic but Graphic is not an object
      and then i cannot work on (move, delete).
      Is there an other method wich is better to do this or may be i have to
      create work with label which will be an object.
      >
      Thanks for your help.
      >
      Gilles.

      Comment

      • Patrice

        #4
        Re: [VB 2008] How create a plan of house

        Not sure what you are trying to do but IMO you need to have a much higher
        level view of this i.e. you'll render from a list of objects being able to
        render themselves. Then your application will allow to handle this list
        (add, delte, save to disk, load etc...) and will produce the corrresponding
        drawing... At the extreme if you have a wall object in this list (rendered
        as a rectangle ?) your application coudl allow to place a door on it etc...
        If you select another object that also renders as a rectangle (a chair or a
        table), your application knows this is not a wall and doesn't provide the
        same option.

        So don't see your application as something that renders low level graphics
        shapes but higher level objects each one being rendered ultimately as
        graphic shape...

        --
        Patrice

        "vino" <alex_vino@disc ussions.microso ft.coma écrit dans le message de
        groupe de discussion : 0758056B-5339-4BC4-BA91-1916782768C5@mi crosoft.com...
        Hello,
        >
        I am creating a VB 2008 application and i would like to create a plan.
        I try with Graphics of GDI but it doesn't work how i wish.
        Each wall and window of my plan is a Graphic but Graphic is not an object
        and then i cannot work on (move, delete).
        Is there an other method wich is better to do this or may be i have to
        create work with label which will be an object.
        >
        Thanks for your help.
        >
        Gilles.

        Comment

        • rowe_newsgroups

          #5
          Re: How create a plan of house

          On May 14, 9:03 am, vino <alex_v...@disc ussions.microso ft.comwrote:
          Hello,
          >
          I am creating a VB 2008 application and i would like to create a plan.
          I try with Graphics of GDI but it doesn't work how i wish.
          Each wall and window of my plan is a Graphic but Graphic is not an object
          and then i cannot work on (move, delete).
          Is there an other method wich is better to do this or may be i have to
          create work with label which will be an object.
          >
          Thanks for your help.
          >
          Gilles.
          I'd go lookup WPF and use it to do this.

          Thanks,

          Seth Rowe [MVP]

          Comment

          • =?Utf-8?B?dmlubw==?=

            #6
            Re: How create a plan of house

            Hello and thanks all for your replies.

            I have already heard about WPF to do something like i want but it is a new
            technology introducing n Visual Studio 2008 and then and don't know how to
            use it.
            I expect find on the web topics about this even if there is not a lot.

            Thanks.

            "rowe_newsgroup s" wrote:
            On May 14, 9:03 am, vino <alex_v...@disc ussions.microso ft.comwrote:
            Hello,

            I am creating a VB 2008 application and i would like to create a plan.
            I try with Graphics of GDI but it doesn't work how i wish.
            Each wall and window of my plan is a Graphic but Graphic is not an object
            and then i cannot work on (move, delete).
            Is there an other method wich is better to do this or may be i have to
            create work with label which will be an object.

            Thanks for your help.

            Gilles.
            >
            I'd go lookup WPF and use it to do this.
            >
            Thanks,
            >
            Seth Rowe [MVP]
            >

            Comment

            • rowe_newsgroups

              #7
              Re: How create a plan of house

              On May 15, 4:50 am, vino <alex_v...@disc ussions.microso ft.comwrote:
              Hello and thanks all for your replies.
              >
              I have already heard about WPF to do something like i want but it is a new
              technology introducing n Visual Studio 2008 and then and don't know how to
              use it.
              I expect find on the web topics about this even if there is not a lot.
              >
              Thanks.
              >
              "rowe_newsgroup s" wrote:
              On May 14, 9:03 am, vino <alex_v...@disc ussions.microso ft.comwrote:
              Hello,
              >
              I am creating a VB 2008 application and i would like to create a plan.
              I try with Graphics of GDI but it doesn't work how i wish.
              Each wall and window of my plan is a Graphic but Graphic is not an object
              and then i cannot work on (move, delete).
              Is there an other method wich is better to do this or may be i have to
              create work with label which will be an object.
              >
              Thanks for your help.
              >
              Gilles.
              >
              I'd go lookup WPF and use it to do this.
              >
              Thanks,
              >
              Seth Rowe [MVP]
              Sorry, I lost a bit of you replay in translation. Are you saying
              you're having trouble finding examples for WPF? If so, a simple search
              on google.com for "wpf tutorial" turned up quite a bit of samples for
              me. I'm not sure if Microsoft has a video series out yet for this (if
              so someone please share the link) but you could benefit from the
              Silverlight ones at silverlight.net , it doesn't support as rich as a
              model as WPF, but the XAML and event wiring (watch the 2.0 Beta ones
              unless you like JSON) could still be useful for you.

              Thanks,

              Seth Rowe [MVP]

              Comment

              • =?Utf-8?B?dmlubw==?=

                #8
                Re: How create a plan of house

                I have no time to learn WPF or Silverlight (i already use flash) in details
                then i will continue using visual basic. I will see it later during my free
                time because i agree with you it seems to be a powerfull technology for
                graphics.
                My goal is creating easily plan and after save it and generate data about
                this one. There will have a link between data creating and other winforms of
                my project.

                "rowe_newsgroup s" wrote:
                On May 15, 4:50 am, vino <alex_v...@disc ussions.microso ft.comwrote:
                Hello and thanks all for your replies.

                I have already heard about WPF to do something like i want but it is a new
                technology introducing n Visual Studio 2008 and then and don't know how to
                use it.
                I expect find on the web topics about this even if there is not a lot.

                Thanks.

                "rowe_newsgroup s" wrote:
                On May 14, 9:03 am, vino <alex_v...@disc ussions.microso ft.comwrote:
                Hello,
                I am creating a VB 2008 application and i would like to create a plan.
                I try with Graphics of GDI but it doesn't work how i wish.
                Each wall and window of my plan is a Graphic but Graphic is not an object
                and then i cannot work on (move, delete).
                Is there an other method wich is better to do this or may be i have to
                create work with label which will be an object.
                Thanks for your help.
                Gilles.
                I'd go lookup WPF and use it to do this.
                Thanks,
                Seth Rowe [MVP]
                >
                Sorry, I lost a bit of you replay in translation. Are you saying
                you're having trouble finding examples for WPF? If so, a simple search
                on google.com for "wpf tutorial" turned up quite a bit of samples for
                me. I'm not sure if Microsoft has a video series out yet for this (if
                so someone please share the link) but you could benefit from the
                Silverlight ones at silverlight.net , it doesn't support as rich as a
                model as WPF, but the XAML and event wiring (watch the 2.0 Beta ones
                unless you like JSON) could still be useful for you.
                >
                Thanks,
                >
                Seth Rowe [MVP]
                >

                Comment

                Working...