I've received an OCX (with the code) from the developer. I usually debug the app if we have issues in order to troubleshoot...but now I am being instructed to recompile the OCX.
And you should also search the forum using the keywords "compile ocx" to help you deal with issues related to old versions, registering/unregistering the contol.
I'm not sure I understand your question. Have you been given the .ctl file, or have you been given the .vbp file will all the related programs? I'm getting the feeling that you've been instructed to recompile everything because there's some screwball thing wrong with the project, and the easiest way to fix it is drop all the code in a new project. If that's what you're trying to do, post back and I'll give you some pointers.
Ok. To recompile, simply open the vbp file. You will probably find that you get warning messages about how you can't find various files that the program needs. If you do, continue loading anyway when it asks you. Then, go in and manually add your code files (go to the project explorer, right click on the name of your project, select Add, and add each code file into your project). Once you're done, save. After this, just go to the File menu, and about 2/3 of the way down, you'll see a "make FileName.ocx", where FileName is the name of your control.
Now, this assumes a few things. If it doesn't work, post back again and we'll strip out a few more things.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.