VB6 CS4 WIN7 problem
Hi there,
right now I am getting trouble to run my scripts under win7.
Every time I try to access InDesign object I get "type mismatch" error.
Look at the code:
Dim mInDesign as InDesign.Application
Set mInDesign=GetObject("","InDesign.Application.CS4")
---- InDesign starts hier so the access work but after InDesign is runing I get the error...
---- CreateObject cause the same....
The same code works fine if I change the definition of mInDesign to:
Dim mInDesign as Object.
The same things happens with ALL InDesign object like Page, Spread, TextFrame, a.s.o.
I use Creative Suite CS4 english, Windows 7 Enterprise Testversion, VS 6.0.
Is there any solution for this problem? - my application is realy huge so I don't want to change the whole code...
regards