Results 1 to 10 of 10

Thread: [RESOLVED] user control information

  1. #1

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Resolved [RESOLVED] user control information

    I have been developing a project now for 6 yrs, when i started i did not a thing about vb or programming (a little lotus123). I have only learned of the stuff i needed to make my project, most of vb i don't have a clue. My project keeps growing containing flexigrids, api's, rtf files, pdw etc. I have stayed away from controls i don't need or understand. Seems i always run into a problem with pdw with new stuff. I have stayed away from usercontrols i have seen on Planet because i do not understand them.

    Here is my question:
    I have found a usercontrol (on Planet) i would love to add to my program, but if it's to much hassle i can do without it. Do usercontrols installed with pdw go in the system directory and get registered?
    Is ther any pitfalls with user controls? Any drawbacks ? Any input would be appreciated.
    Thank you

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: user control information

    I gather this user control has been compiled into an OCX?

  3. #3

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: user control information

    Quote Originally Posted by Hack
    I gather this user control has been compiled into an OCX?
    No it only has the control and a .ctx file

  4. #4

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: user control information

    Quote Originally Posted by Hack
    I gather this user control has been compiled into an OCX?
    Do i need to compile it an OCX ? if yes how is that done?

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: user control information

    And you can do Project/Add User Control with no problems?

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: user control information

    Quote Originally Posted by isnoend07
    Do i need to compile it an OCX ? if yes how is that done?
    No, you don't need to compile providing you can add it to your project.

    In fact, not compiling would probably be better because then you don't have to worry about distributing it or registering it.

  7. #7

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: user control information

    Quote Originally Posted by Hack
    And you can do Project/Add User Control with no problems?
    Not yet i will try and be back, thanks

  8. #8
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: user control information

    You should be able to, and if you do, then you don't need to worry about anything.

    When you compile your .Exe, that user control will be treated just like a form or module....it will get compiled inside the .Exe and you do not have to worry about distributing it or registering it. That would happen when your .Exe gets distributed.

  9. #9

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: user control information

    Quote Originally Posted by isnoend07
    Not yet i will try and be back, thanks
    Yes i can add it and compile to exey, thank you

  10. #10
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [RESOLVED] user control information

    No problem....and I think you are wise for chosing a control over which you have the source as opposed to somthing you do not have the source do and have to distribute and register. You are safer with the source, and have made less work for yourself!

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