Yes... So... I am working on this pretty big project and I made a "special" control in it that does the scrolling. The control is actually a User Control. Now the problem I am having is that, if I try to use the same control for more than one forms.... It somehow doesn't work and I am tired of trying to figure out why... So what I did for now was that I created each of the components seperately and created a seperate UserControl for them... However now that it is time for me to compile it and put it together... I tried putting a seperate UserControl for each of the forms that need the control to be present and it still doesn't work... Is there any way to get around this...
Please respond ASAP... the clock is ticking...
I'd really really appreciate the help...
Hey... If you found this post helpful please rate it.
Re: Annoying User Control (URGENT- PLEASE RESPOND)
Unfortunatenaly without any code this problem seems to be impossible answer well, but here is a wild guess: there just might be something in the control that makes it only work for the certain form, ie. direct referation into Form1 or whatever the form is called. Instead there should be referation to the control parent form or container (was it UserControl.Extender.Container).
Re: Annoying User Control (URGENT- PLEASE RESPOND)
Sorry About that....
Ok... I hope you know what a click wheel is... that is the UserControl... I am attaching two components, the main form and the settings form... You can try combining them and if you are able to... then please tell me how you did it... There some parts in the settings form that don't work... because they are yet to be fixed... and... the clickevent of the usercontrol in the main form doesn't work since I cannot put all the forms in the same project without letting this problem occur... Hope it helps
Hey... If you found this post helpful please rate it.
Re: Annoying User Control (URGENT- PLEASE RESPOND)
Originally Posted by si_the_geek
Many of us can't open .rar files, so we can't even look at the code, let alone provide a solution.
Not a good enough answer :-P
*real* geeks use RAR compression because of the 15% better ratio over WinZIP (well, actually, real geeks write their own compression, but you get what I mean :-)) so :-P
I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!
And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.
Re: Annoying User Control (URGENT- PLEASE RESPOND)
Really True(tm) Geeks use 7zip, because it's MUCH tighter compression for these files (~60k). Unfortunately the forum doesn't allow us to upload this superior file type.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read. Please Help Us To Save Ana
Re: Annoying User Control (URGENT- PLEASE RESPOND)
That's enough off-topic posts folks... the important point is that many people dont have the required software (often due to network rules at work), so there are fewer people who can help.
Back to the point: Well there are a few files missing (such as modProcedures.bas, etc), but I can see a big problem - the project containing your control is not a control project, so it compiles to an executable file instead of to a control.
When you create a new project you get various options, such as "Standard Exe" (which appears to be what you have) and "ActiveX Control" (which is the one you need).
What I would recommend is creating a new ActiveX Control project, and adding the code files from your existing Settings project. When you compile it you will get an .Ocx file (instead of .Exe), which can then be added (via "Project"->"Components") to the projects that are going to use the control.