Wednesday, April 17, 2002

Calling methods from an object created by an ActiveX exe, you may see the following "Run time error '430'" Class does not support automation or does not support expected interface. If this happens with trivial functions, the following practice will probably eliminate it. In your calling application, remove the reference to the activex exe. Then recompile, or if you are debugging, start the vpb. Then redo the reference in the calling application, and the program will run OK. Evidently the reference points to stale information. When you are switching from vbp to exe, the reference will point to one or the other, and if this is not updated it causes the problem.