Click here to Skip to main content
15,905,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have converted vb6 project to vb.net 2005 in which third party components are used..DLL's referenced in projects are:
1. AxCRVIEWERLib.dll
2. AxDTPickerArray.dll
3. AxMSComCtl2.dll
4. AxMSDataGridLib.dll
5. AxMSDataListLib.dll
6. AxMSFlexGridLib.dll
7. AxMSHierarchicalFlexGridLib.dll

Now this runs fine on 32-bit PC's but when I Install this application on Windows 7 64-bit OS,it shows error on those forms where 3rd party components are used...For that I registered COMCT232.OCX in C:\Windows\system32\ and C:\Windows\syswow64\ folders on 64-bit PC but even though it shows the same error
"Error Creating Form..Class not registered."

What else I should do??Please help me..
Posted
Comments
Sandeep Mewara 14-Mar-13 7:12am    
They look 3rd party assemblies. Did you look at their forum? Talked to them? May be they are not compatible for x64? Try with latest versions of them.
earloc 14-Mar-13 7:30am    
have you tried to compile your solution with target platform "x86" instead of "any cpu"?

The problem is CRViewer is a control that's part of Crystal Reports. Did you install a 64-bit version of Crystal Reports on this machine, or did you use the old 32-bit version you used in VB6??

The same goes for other controls in that list. If you're using those exact controls in your VB.NET code, you're making a huge mistake. There are no 64-bit versions of the FlexGrid or DataList or HierarchicalFlexGrid controls. There was never a 64-bit version of VB6 and there never will be 64-bit versions of those cotrols. Their all deprecated.

If you want your app to work natively on 64-bit Windows, you'll have to scrap the VB.NET code you have and rewrite using .NET controls and 64-bit versions of any 3rd party libraries you use.

If you want your current code to work on 64-bit windows but in 32-bit mode, you'll have to recompile your project, but after going into the project properties and changing the target platform type from "AnyCPU" to "x86". That'll force the code to run 32-bit only.

You cannot mix 64- and 32-bit code in the same process.
 
Share this answer
 
intsall visualbacic runtime 50 and 60 from microsoft
 
Share this answer
 
Run command prompt as administrator, and execute regsvr32 COMCT232.OCX
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900