[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
Re: user control information
I gather this user control has been compiled into an OCX?
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
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?
Re: user control information
And you can do Project/Add User Control with no problems?
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.
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
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.
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
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! :thumb: