Click to See Complete Forum and Search --> : TDBGrid: Ole Automation/distribution/permissions


CreamyTomatoSoup
April 27th, 2001, 12:17 PM
I am a VB developer distributing an application which uses the TDBGrid ActiveX
control. All of my client boxes are winnt 4.0. On 2 machines out of 63,
when I run my app, I get an OLE Automation error. Yet, if the client machine
is logged in as an administrator, I don't get the OLE Automation error.

I have tried using the MS DataGrid - no error msg. I have run Dependency
Walker on the 2 machines to no result. I have checked, and double checked
the admin rights on the registry for these machines. Has anyone encountered
a similar problem and come to a resolution (with any ActiveX not just the
TDBGrid)? Any advice?

Thanks,
Tim McGuigan

rlecjr
April 27th, 2001, 12:32 PM
I have encountered a similar issue with TDBGrid and it took some time to resolve because the company did not enforce a standard desktop. We looked at all processes running on the machine and did comparisons to the machines that were ok. The result was that we found the bad machines(although we never did find out one of them) had processes running upon startup that were interferring with the automation somehow. We killed the processes and didn't get the error. We eventually rebuilt these machines, including the one that had no resolution, and everything worked ok.

It is kind of a hokie answer to your question, but if your users do not have standard desktops you may want to kill things that are running that don't need to be.

Good luck and hope this helps somewhat...
Ron