Results 1 to 3 of 3

Thread: Unable to Determine what causes VBA to fail when attempting to load a Form

  1. #1
    Member
    Join Date
    2013-11
    Posts
    4
    Login to Give a bone
    0

    Default Unable to Determine what causes VBA to fail when attempting to load a Form

    Here is a full video explanation of the problem:

    It begins by throwing up the Autocad Help.

    Then Shows a message that says "Could not load an object because it is not available on this machine"

    Then I get a message like this
    :

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: Unable to Determine what causes VBA to fail when attempting to load a Form

    Can we assume that you've installed VBA (separate download & install for newer versions)?

    Have you tried stepping through your code in VBAIDE (aka debugging)?
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  3. #3
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,419
    Login to Give a bone
    0

    Default Re: Unable to Determine what causes VBA to fail when attempting to load a Form

    It has to do with the controls on your form. Usually, its due to the fact that whoever designed the form used a custom control that is only installed on his pc. Programs can install their own vb controls and you can browse for them to use in your vba, but if you share your dvb with someone, they will have to have the same progam installed whose resources you referenced. Some install Microsoft vb controls. These are not the same as those that install with vba and are not redistributable. To check if this is the case, start a new vba project and check what libraries are referenced by default. If this problem dvb has some extras, then one of those libraries are probably the ones at fault. You'll have to redesign your form to use a control that everybody has access to.
    C:> ED WORKING....


    LinkedIn

Similar Threads

  1. Unable to create form. Swept blend in conceptual mass.
    By erik.eriksson.241829 in forum Revit Architecture - General
    Replies: 5
    Last Post: 2010-02-17, 10:40 AM
  2. What causes express tools to fail to load?
    By Dave F. in forum AutoCAD General
    Replies: 0
    Last Post: 2009-01-15, 02:45 PM
  3. Occupancy Load Form - Spread Sheet calc.
    By rhayes.99001 in forum AutoCAD Customization
    Replies: 4
    Last Post: 2005-12-22, 10:25 PM
  4. Controlling Form Load at Startup
    By dalej_k in forum VBA/COM Interop
    Replies: 13
    Last Post: 2004-11-22, 06:26 PM

Tags for this Thread

Posting Permissions

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