Looking for his Master


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 12 of 12

Thread: Looking for his Master

  1. #1
    Eddie Burdak Guest

    Looking for his Master

    Hi,

    Picture this - several "small" applications looking for a home.

    The home would be a single form with, say, a tree view on the left used as a
    guide to select the appropriate program.
    On the right or the rest of the form would be a container the program would
    be viewed in. As new "small" applications were introduced the main program
    would not need to be re-compiled as it simply finds the applications in a
    target directory.

    Can some one give me an indication how something like this could be done in
    VB6?

    Can it be done?

    Thanks

    Eddie


  2. #2
    Eddie Burdak Guest

    Re: Looking for his Master

    Yo dude,

    nah, there all too busy trying to do it in .NET


    "Eddie Burdak" <eburdak@pilatus-aircraft.com> wrote in message
    news:3c988d70$1@10.1.10.29...
    > Hi,
    >
    > Picture this - several "small" applications looking for a home.
    >
    > The home would be a single form with, say, a tree view on the left used as

    a
    > guide to select the appropriate program.
    > On the right or the rest of the form would be a container the program

    would
    > be viewed in. As new "small" applications were introduced the main program
    > would not need to be re-compiled as it simply finds the applications in a
    > target directory.
    >
    > Can some one give me an indication how something like this could be done

    in
    > VB6?
    >
    > Can it be done?
    >
    > Thanks
    >
    > Eddie
    >



  3. #3
    Constance J. Petersen Guest

    Re: Looking for his Master

    "Eddie Burdak" <eburdak@pilatus-aircraft.com> wrote in message
    news:3c9ad1e3@10.1.10.29...
    > nah, there all too busy trying to do it in .NET


    This newsgroup is for user interface design issues. If you want help with how
    something should be coded in VB6, you might try asking in one of the VB
    newsgroups.
    --
    Constance Petersen, DevX newsgroup section leader
    SoftMedia Artisans, Inc.
    http://www.smartisans.com
    For useful, usable software and Web sites
    Featured Web design: http://www.keweenawnow.com/
    --
    Please reply in the newsgroup so everyone can benefit



  4. #4
    Eddie Burdak Guest

    Re: Looking for his Master

    Constance,

    where as you may be right I should go and see if anyone has ideas there this
    to me is still an interface issue. Getting the program to load up in a
    container is just a start. I mean is treeview the best approach to
    controlling the codes on the right or would you do something else. Its an
    idea I was sounding out

    Phil had the idea some time ago (in this newsgroup) of doing something like
    this but with Usercontrols (if I recall correctly). But trying to get
    anything else out of him afterwards proved impossible.

    Eddie





    "Constance J. Petersen" <constance@smartisans.com> wrote in message
    news:3c9ba4e6@10.1.10.29...
    > "Eddie Burdak" <eburdak@pilatus-aircraft.com> wrote in message
    > news:3c9ad1e3@10.1.10.29...
    > > nah, there all too busy trying to do it in .NET

    >
    > This newsgroup is for user interface design issues. If you want help with

    how
    > something should be coded in VB6, you might try asking in one of the VB
    > newsgroups.
    > --
    > Constance Petersen, DevX newsgroup section leader
    > SoftMedia Artisans, Inc.
    > http://www.smartisans.com
    > For useful, usable software and Web sites
    > Featured Web design: http://www.keweenawnow.com/
    > --
    > Please reply in the newsgroup so everyone can benefit
    >
    >



  5. #5
    Joe \Nuke Me Xemu\ Foster Guest

    Re: Looking for his Master

    "Eddie Burdak" <eburdak@pilatus-aircraft.com> wrote in message <news:3ca01be8$1@10.1.10.29>...

    > Constance,
    >
    > where as you may be right I should go and see if anyone has ideas there this
    > to me is still an interface issue. Getting the program to load up in a
    > container is just a start. I mean is treeview the best approach to
    > controlling the codes on the right or would you do something else. Its an
    > idea I was sounding out


    Can a Classic VB app display within an OLE control, like Excel
    or Word can? Perhaps that way your programs could run equally
    well either by themselves or within the Master Control Program.

    > Phil had the idea some time ago (in this newsgroup) of doing something like
    > this but with Usercontrols (if I recall correctly). But trying to get
    > anything else out of him afterwards proved impossible.


    That sounds like Phil Waffler, all right...

    --
    Joe Foster <mailto:jlfoster%40znet.com> Got Thetans? <http://www.xenu.net/>
    WARNING: I cannot be held responsible for the above They're coming to
    because my cats have apparently learned to type. take me away, ha ha!



  6. #6
    Eddie Burdak Guest

    Re: Looking for his Master

    Joe,
    "Joe "Nuke Me Xemu" Foster" <joe@bftsi0.UUCP> wrote in message
    news:3ca03945@10.1.10.29...
    > Can a Classic VB app display within an OLE control, like Excel
    > or Word can? Perhaps that way your programs could run equally
    > well either by themselves or within the Master Control Program.


    Good question. I'd like to think yes - if so how?

    Anyone any ideas out there?

    Thanks

    Eddie
    >
    > > Phil had the idea some time ago (in this newsgroup) of doing something

    like
    > > this but with Usercontrols (if I recall correctly). But trying to get
    > > anything else out of him afterwards proved impossible.

    >
    > That sounds like Phil Waffler, all right...


    It could have been an article for a rag - unless someone has done it
    somewhere else in which case Fawcette and DEVX do not appear to be
    interested one little bit. Bleeding edge of technology and all that.

    Eddie


  7. #7
    Eddie Burdak Guest

    Re: Looking for his Master

    Joe,

    "Joe "Nuke Me Xemu" Foster" <joe@bftsi0.UUCP> wrote in message
    news:3ca03945@10.1.10.29...
    > > Phil had the idea some time ago (in this newsgroup) of doing something

    like
    > > this but with Usercontrols (if I recall correctly). But trying to get
    > > anything else out of him afterwards proved impossible.

    >
    > That sounds like Phil Waffler, all right...


    BTW you comment is rather harsh I thought. Phil has helped me out on a
    number of issues. Once or twice though he has left me shy though dangling a
    carrot and I just need something to get me started.

    Eddie


  8. #8
    Joe \Nuke Me Xemu\ Foster Guest

    Re: Looking for his Master

    "Eddie Burdak" <eburdak@pilatus-aircraft.com> wrote in message <news:3ca08ed5@10.1.10.29>...

    > Joe,
    >
    > "Joe "Nuke Me Xemu" Foster" <joe@bftsi0.UUCP> wrote in message
    > news:3ca03945@10.1.10.29...
    > > > Phil had the idea some time ago (in this newsgroup) of doing something

    > like
    > > > this but with Usercontrols (if I recall correctly). But trying to get
    > > > anything else out of him afterwards proved impossible.

    > >
    > > That sounds like Phil Waffler, all right...

    >
    > BTW you comment is rather harsh I thought. Phil has helped me out on a
    > number of issues. Once or twice though he has left me shy though dangling a
    > carrot and I just need something to get me started.


    You haven't been in vb.dotnet.discussion, have you...

    --
    Joe Foster <mailto:jlfoster%40znet.com> On the cans? <http://www.xenu.net/>
    WARNING: I cannot be held responsible for the above They're coming to
    because my cats have apparently learned to type. take me away, ha ha!



  9. #9
    Thomas Eyde Guest

    Re: Looking for his Master

    There is a SetParent function in the Windows API. Might do the trick?
    /Thomas

    "Eddie Burdak" <eburdak@pilatus-aircraft.com> wrote in message
    news:3ca06879@10.1.10.29...
    > Joe,
    > "Joe "Nuke Me Xemu" Foster" <joe@bftsi0.UUCP> wrote in message
    > news:3ca03945@10.1.10.29...
    > > Can a Classic VB app display within an OLE control, like Excel
    > > or Word can? Perhaps that way your programs could run equally
    > > well either by themselves or within the Master Control Program.

    >
    > Good question. I'd like to think yes - if so how?
    >
    > Anyone any ideas out there?
    >
    > Thanks
    >
    > Eddie
    >




  10. #10
    Eddie Burdak Guest

    Re: Looking for his Master

    Thomas,

    "Thomas Eyde" <thomas.eyde@online.no> wrote in message
    news:3ca24660@10.1.10.29...
    > There is a SetParent function in the Windows API. Might do the trick?


    Thanks. Quickly looked at it but I didn't quite like Applemans description
    on p 240 "Using this function to move controls between forms is risky, but
    has been known to work" - it doesn't sound too inspiring does it?

    So what you are suggesting is to make the apps as a usercontrol perhaps?

    Thanks

    Eddie


  11. #11
    Thomas Eyde Guest

    Re: Looking for his Master

    You can use it to trap a form inside a picture control or other controls
    having a hWnd. That gives the opportunity tp treat a form like a
    usercontrol. I have no clue on how safe it might be.

    Using usercontrols is an option, of course.

    /Thomas

    "Eddie Burdak" <eburdak@pilatus-aircraft.com> wrote in message
    news:3ca2c15a@10.1.10.29...
    > Thanks. Quickly looked at it but I didn't quite like Applemans description
    > on p 240 "Using this function to move controls between forms is risky, but
    > has been known to work" - it doesn't sound too inspiring does it?
    >
    > So what you are suggesting is to make the apps as a usercontrol perhaps?





  12. #12
    Dean Earley Guest

    Re: Looking for his Master

    It screws up tab orders, it GPF's if the parent form/control is unloaded before the contained control. If you use this to move a
    control, all events will still be raised on the original form, and it has focus issues.

    Anything else?

    "Thomas Eyde" <thomas.eyde@online.no> wrote in message news:3ca49bc7@10.1.10.29...
    > You can use it to trap a form inside a picture control or other controls
    > having a hWnd. That gives the opportunity tp treat a form like a
    > usercontrol. I have no clue on how safe it might be.
    >
    > Using usercontrols is an option, of course.
    >
    > /Thomas
    >
    > "Eddie Burdak" <eburdak@pilatus-aircraft.com> wrote in message
    > news:3ca2c15a@10.1.10.29...
    > > Thanks. Quickly looked at it but I didn't quite like Applemans description
    > > on p 240 "Using this function to move controls between forms is risky, but
    > > has been known to work" - it doesn't sound too inspiring does it?
    > >
    > > So what you are suggesting is to make the apps as a usercontrol perhaps?

    >
    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center