Results 1 to 7 of 7

Thread: Import controls other form with events ?

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Question Import controls other form with events ?

    Hi

    Is there some way to import the controls from other control with the events ?

    too is there some way generate source code ?

    Tia
    Last edited by mutley; Mar 2nd, 2015 at 08:09 AM.

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,733

    Re: Import controls other form with events ?

    MZTools is capable of copying controls with the source, though I never used this functionallity.

    Regarding question 2, what do you mean with generating source code? Source from what?

  3. #3

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Re: Import controls other form with events ?

    thank you for your answers

    I have add in mztools , but I can not find where I did It

    About question 2: I would Like read a table from database and build a source code, with some controls I choice column and the control, but have not idea how like to do it ?

  4. #4
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,733

    Re: Import controls other form with events ?

    1: MZTools: Copy and Paste controls with code

    2: I'm afraid I don't understand what you want.
    Something like this?
    http://www.fmsinc.com/microsoftacces...der/index.html

  5. #5

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Re: Import controls other form with events ?

    Quote Originally Posted by Arnoutdv View Post
    1: MZTools: Copy and Paste controls with code

    2: I'm afraid I don't understand what you want.
    Something like this?
    http://www.fmsinc.com/microsoftacces...der/index.html
    1)
    Thank you , but I Tried using MZTOOLS and only controls is copied, The control is in other VBP

    2
    Exactly, but
    I would have to adapt to use oo40 connection, where can I Download a example, same using DAO or ADO

  6. #6
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,733

    Re: Import controls other form with events ?

    1: Maybe it's only possible within the same project

    2: Really I don't have clue

  7. #7
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Import controls other form with events ?

    Are you trying to generate a form (.frm file) from your database? If so, open a form, module, and class object in WordPad and see how VB stores the information. You should be able to create a new file and print to that file the expected syntax and data.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width