CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2001
    Posts
    3

    TDBGrid: Ole Automation/distribution/permissions

    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



  2. #2
    Join Date
    Mar 2001
    Location
    Rhode Island
    Posts
    56

    Re: TDBGrid: Ole Automation/distribution/permissions

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured