- Thank you received: 9
Welcome to the fracta.net forum!
Share your coding ideas or ask questions.
Share your coding ideas or ask questions.
Question Excel VBA cvsConnection on 64bit machine
- VatzU
- Topic Author
- Visitor
8 years 4 months ago #566
by VatzU
Excel VBA cvsConnection on 64bit machine was created by VatzU
Hi All,
Firstly, thanks to all for all the great posts that helped me so far in utilizing Excel as a frontend for CMS Supervisor.
I am going through very basic steps in Excel VBA:
I am running Win8 64bit and Office 64bit. I provide these details as I believe this is the main reason of the problem.
Steps taken so far:
1. Made sure all the required References are marked
2. Ran the RegistryDefaults.bat from CMS folder
3. Re-registered cvsCONN.dll with 32bit regsvr32
Unfortunately the app still returns the Run-time Error '429': "ActiveX component can't create object"
There is no problem on tested 32bit system.
Any advice on the reason why this fails would be appreciated.
Best Regards,
Waclaw Bukowski
Firstly, thanks to all for all the great posts that helped me so far in utilizing Excel as a frontend for CMS Supervisor.
I am going through very basic steps in Excel VBA:
Code:
Public Sub CMSConn()
Dim cvsApp As New ACSUP.cvsApplication
Dim cvsConn As New ACSCN.cvsConnection
Dim cvsSrv As New ACSUPSRV.cvsServer
Dim Rep As New ACSREP.cvsReport
Dim Info As Object, Log As Object, b As Object
Set cvsApp = CreateObject("ACSUP.cvsApplication")
Set cvsConn = CreateObject("ACSCN.cvsConnection") <--- Run-time Error '429' at this line
Set cvsSrv = CreateObject("ACSUPSRV.cvsServer")
Set Rep = CreateObject("ACSREP.cvsReport")
I am running Win8 64bit and Office 64bit. I provide these details as I believe this is the main reason of the problem.
Steps taken so far:
1. Made sure all the required References are marked
2. Ran the RegistryDefaults.bat from CMS folder
3. Re-registered cvsCONN.dll with 32bit regsvr32
Unfortunately the app still returns the Run-time Error '429': "ActiveX component can't create object"
There is no problem on tested 32bit system.
Any advice on the reason why this fails would be appreciated.
Best Regards,
Waclaw Bukowski
Please Log in or Create an account to join the conversation.
8 years 4 months ago #567
by roller
Replied by roller on topic Excel VBA cvsConnection on 64bit machine
Very hard to help i still have windows 7 32 bits and office 2010.
What happens if you Dim cvsConn as Object instead?
What happens if you Dim cvsConn as Object instead?
Please Log in or Create an account to join the conversation.
- VatzU
- Topic Author
- Visitor
8 years 4 months ago #568
by VatzU
Replied by VatzU on topic Excel VBA cvsConnection on 64bit machine
Hi roller,
It gets to the exact same line with the exact same error. No change basically
It gets to the exact same line with the exact same error. No change basically
Please Log in or Create an account to join the conversation.
- VatzU
- Topic Author
- Visitor
8 years 4 months ago #569
by VatzU
Replied by VatzU on topic Excel VBA cvsConnection on 64bit machine
I think i will answer myself on that matter.
It seems very prosaic and truly related to 64bit. Unfortunately there seems to be no solution. Refer to the microsoft pages to find that you simply cannot mix the 32bit ActiveX component with 64bit Office.
I would need to reinstall my Office to 32bit instance.
Matter closed, but maybe someone will come across the same issue in the future so they will know.
It seems very prosaic and truly related to 64bit. Unfortunately there seems to be no solution. Refer to the microsoft pages to find that you simply cannot mix the 32bit ActiveX component with 64bit Office.
I would need to reinstall my Office to 32bit instance.
Matter closed, but maybe someone will come across the same issue in the future so they will know.
Please Log in or Create an account to join the conversation.
8 years 4 months ago #570
by roller
Replied by roller on topic Excel VBA cvsConnection on 64bit machine
I had a lot of trouble with MSO 64 BITS that's why i am still using the 32 bits version. Few of my advanced macros would not run. There are many unsupported and missing features in the 64 bits version.
Please Log in or Create an account to join the conversation.
Time to create page: 0.838 seconds