Class Not Registered Error + Runtime '91' error in MSFlexGrid VB6 Program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krafla
    New Member
    • Jan 2008
    • 3

    #1

    Class Not Registered Error + Runtime '91' error in MSFlexGrid VB6 Program

    I have a similar problem with a program i made with VB 6.0 - the only control I used is MSFlexGrid - the program was developed on an XP machine. and the first time to use it on another machine i got two errors:

    1-
    Class Not Registered
    Looking for Object with CLSID:{0000010-0000-0010-8000-00AA006D2EA4}

    this error message appears only at start up and as i click OK the program starts without reading the DB file. and if i save a new entry (create a new row in the DB) it gives me the second error:

    2-
    Run-time error '91':
    Object Variable or With Block variable not set.

    Note: I'm using an Access 97 DB associated with the program.
    The computer on which i am testing the program has Access 2007. can this be a clue?

    I don't know what is missing is in the VB 6.0 or in the Access 97.

    Note: I was told that it is the DAO350.dll which is referred to by this CLSID:{0000010-0000-0010-8000-00AA006D2EA4} number. so i searched for it and it was present in both of the PCs, nevertheless, i added it to the PDW from my computer and it still did not work, not even when i added the DAO360.dll

    I think that the problem is in Acess, I used Access 2003 to make an Access 97 mdb which i'm using with MSFlexGrid control in my program. while the host machine is running access 2007. so i think it may be somthing missing.

    Anyone got any idea?
  • creative1
    Contributor
    • Sep 2007
    • 274

    #2
    did you copy the code from some where? or wrote it on you r own for your application?

    Comment

    • sabareesh
      New Member
      • Jan 2008
      • 1

      #3
      Find the dll file that supports that control and from resource browse and import in to the project again.

      if the problem exists download adware for this

      Comment

      • dineshdhiman
        New Member
        • Apr 2008
        • 3

        #4
        =============== ============
        Reply With Solution
        =============== ============
        Click the link to get the solution http://support.microsoft.com/kb/288706

        To see other's problem click http://www.codenewsgroups.net/group/...opic14614.aspx


        Take care,
        mail id removed
        Last edited by debasisdas; Apr 11 '08, 11:39 AM. Reason: removed mail id

        Comment

        • dineshdhiman
          New Member
          • Apr 2008
          • 3

          #5
          Hi all

          No solution given here works for anything including http://support.microso ft.com/kb/288706

          Please anybody better than Microsoft's Team... I'm stuck in the first application on my new job.

          Help me please......... ........

          Take care,

          Comment

          • dineshdhiman
            New Member
            • Apr 2008
            • 3

            #6
            Hello

            I have found the solution for this problem.

            1. You need to add dao350.dll manually into your installer and set it to get Self-registered.

            2. You can also check the correct version used in ur app of msvbvm6.0.dll. It may not be needed.

            3. If you get ISAM error, then install Data Access components from visual studio setup to target machine.

            I don't know from where to download installable ISAM driver. If anybody knows, please let us know.

            Take care,

            Comment

            Working...