|
-
Aug 25th, 2003, 02:17 AM
#1
Thread Starter
Lively Member
Class Not Register
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?
-
Aug 25th, 2003, 02:23 AM
#2
Lively Member
Hmmm...
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.
-
Aug 25th, 2003, 02:34 AM
#3
Thread Starter
Lively Member
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 ...
-
Aug 25th, 2003, 03:04 AM
#4
Lively Member
Ok...
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....
-
Aug 25th, 2003, 03:09 AM
#5
Thread Starter
Lively Member
All i need is to use installer to install my program then my problem will solve?
Add in a merge module ??
-
Aug 25th, 2003, 03:15 AM
#6
Lively Member
Not really....
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 ....
-
Aug 25th, 2003, 03:24 AM
#7
Thread Starter
Lively Member
can you solve for me?
Can you give me ur email , i send my program to you and hopefully you can solve for me....
-
Aug 25th, 2003, 03:35 AM
#8
Thread Starter
Lively Member
ok, All worked now, i used installer to install and add in merge module inside. anywhere, thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|