I designed an application with Masked Edit Control. When application has implemented to another PC without Ms visual studio, it comes with an error message "Class Not Register". Can anyone tell me what happen?
Printable View
I designed an application with Masked Edit Control. When application has implemented to another PC without Ms visual studio, it comes with an error message "Class Not Register". Can anyone tell me what happen?
Hi,
That mean some of your class or the class application the class looking for does not exists. You have to install the application where the com belong to, for you to use it.
This also maybe the CLID (Class ID) is not the same with the current you install. To solve this, uninstall the old application and install the same version with your Developing Machine.
hi, ok
sorrie for asking b'cos i'm a beginner of vb.net, I copy the whole program folder to the another pc's directory, is that the correct way to do this?
OR Should I need to do a setup program to solve this problem?
I really can't understand what is Class ID (CLID), can you please explain to me in a more easier understand way?
Thanks ...
Hi,
XCopy theory should work in the dot net framework but sometime we cannot ignore some of the dependencies are fail to detect by the VS or it has make such a way that the COM you use will cause error without the original copy installed to the machine.
The proper software deployment is through the Setup. No matter you use Microsoft Installer, InstallShield or WISE installer, it give you a an registring your controls, placement of the folder, condition setup, checking hardware requirement and uninstall feature (standard application must have).
CLID ? ... ooo ... it is an ID of every control in your machine. This ID help OS to easy locate your control your application required. Before dot net, this create a huge trouble to programmer until they call this "DLL Hell". Because every time you build your control it create a new class id to you and registered it to the registry. As you know, after few hudred time of compiling. You register got few hudred CLID just for one control. During building setup this will create errorssss to you.
In dot net, as long as the dot net control or the wrapped control is locate same path with the application, it's ok.
Hope you understand.... :) :D
All i need is to use installer to install my program then my problem will solve?
Add in a merge module ??
Not sure about that... you have to do Try an Error.
Start to do the base (base class) then test run on the target machine ... if fail.... check again ....
:D
Can you give me ur email , i send my program to you and hopefully you can solve for me....
ok, All worked now, i used installer to install and add in merge module inside. anywhere, thanks