Results 1 to 8 of 8
  1. #1
    demy8 is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Feb 2011
    Posts
    4

    URGENT: run time error 438 : object doesn't support this method or property

    hello,
    I have a program running in access using visual basic . it's a small network with 3 pc and 1 server. we use microsoft sql server 2005 and scGrid.
    all computers have windows xp and microsoft office 2003 sp3.

    We recently added a new computer using windows 7. we installed the program it opens the initial form and when we click on a button show the run time error '438'.

    the error is in the line with red letters:

    Private Sub init()
    With UltraGrid
    .BorderStyle = 1
    .Rows = 0


    .Cols = 6
    .DefaultHeight = 21
    .DefaultWidth = 60
    .DefaultTextAlign = 4
    .GridLines = scBoth
    .PictureMode = 0
    .UseMask = 1
    .CaptionEnabled = True

    I installed windows xp mode and opened from there but the problem is the same.

    Anyone have an idea?
    It's really important
    thanks in advance.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Are there any bogus or real MISSING references in this application? http://www.btabdevelopment.com/ts/missref

  3. #3
    demy8 is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Feb 2011
    Posts
    4
    no there isn't , I have already checked.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Try *importing* the db into a fresh new db and see if the problem follows: http://www.btabdevelopment.com/ts/impnew

  5. #5
    demy8 is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Feb 2011
    Posts
    4
    I can't make the import.
    some tables and forms occur some problems and in the end shows a message:

    there isn't enough free memory for the updating of the display.
    Close any program that is not necessary and try again.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you done a Compact and Repair on this db yet?

  7. #7
    SteveH2508 is offline Competent Performer
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Chelsea, London, England
    Posts
    117
    What is UltraGrid? Is it an ActiveX control?

    My SWAG would be that the property is not called Cols but maybe Columns?

  8. #8
    demy8 is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Feb 2011
    Posts
    4
    I have done a compact and repair nothing changed.

    regarding the
    .cols
    in the other machines works fine.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Object doesn't support property or method
    By Jamy in forum Programming
    Replies: 7
    Last Post: 07-15-2013, 01:42 AM
  2. Run-time error '424': Object required
    By cowboy in forum Programming
    Replies: 18
    Last Post: 07-07-2010, 03:32 PM
  3. object or class does not support the set of events
    By couch potato in forum Programming
    Replies: 2
    Last Post: 03-20-2010, 08:55 AM
  4. Replies: 5
    Last Post: 08-05-2009, 04:07 PM
  5. Replies: 2
    Last Post: 02-28-2009, 03:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums