Message 1 of 4
Runtime error 76 - Path not found
Not applicable
02-19-2002
02:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Maybe one of you brain-o's can help me, (you've never failed me before) I'm
getting an error that I can't track: Runtime Error 76: Path not found
The error occurs when trying to load a form for the first time:
Function AddRake()
frmAddRake.Show '<-- Error occurs here
End Function
There are a couple of twists in this plot:
1) If I hit F8 or F5 from the debugger my form loads fine and the macro
works from then on.
2) The error (so far) only occurs if there is a blank .DVB project already
loaded.
3) I'm calling (and loading) my macro the first time from a lisp routine:
(defun c:AddRake () (vl-vbarun "ElevTrim.dvb!basMain.AddRake") (princ))
My macro includes the following references:
'VBA
' Visual Basic For Applications
' C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL
'
'AutoCAD
' AutoCAD 2000 Type Library
' C:\Program Files\Autodesk Architectural Desktop 3\ACAD.TLB
'
'stdole
' OLE Automation
' C:\WINNT\System32\stdole2.tlb
'
'MSForms
' Microsoft Forms 2.0 Object Library
' C:\WINNT\System32\FM20.DLL
'
'AecXBase
' AEC Base 3.3 Object Library
' C:\Program Files\Common Files\Autodesk Shared\AecXBase30.tlb
'
'MSComDlg
' Microsoft Common Dialog Control 6.0
' C:\WINNT\System32\COMDLG32.OCX
'
'ACPREVIEWLib
' AcPreview ActiveX Control module
' C:\WINNT\DOWNLO~1\AcPreview.ocx
'
'VBIDE
' Microsoft Visual Basic for Applications Extensibility 5.3
' C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6EXT.OLB
'
'Scripting
' Microsoft Scripting Runtime
' C:\WINNT\System32\scrrun.dll
getting an error that I can't track: Runtime Error 76: Path not found
The error occurs when trying to load a form for the first time:
Function AddRake()
frmAddRake.Show '<-- Error occurs here
End Function
There are a couple of twists in this plot:
1) If I hit F8 or F5 from the debugger my form loads fine and the macro
works from then on.
2) The error (so far) only occurs if there is a blank .DVB project already
loaded.
3) I'm calling (and loading) my macro the first time from a lisp routine:
(defun c:AddRake () (vl-vbarun "ElevTrim.dvb!basMain.AddRake") (princ))
My macro includes the following references:
'VBA
' Visual Basic For Applications
' C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL
'
'AutoCAD
' AutoCAD 2000 Type Library
' C:\Program Files\Autodesk Architectural Desktop 3\ACAD.TLB
'
'stdole
' OLE Automation
' C:\WINNT\System32\stdole2.tlb
'
'MSForms
' Microsoft Forms 2.0 Object Library
' C:\WINNT\System32\FM20.DLL
'
'AecXBase
' AEC Base 3.3 Object Library
' C:\Program Files\Common Files\Autodesk Shared\AecXBase30.tlb
'
'MSComDlg
' Microsoft Common Dialog Control 6.0
' C:\WINNT\System32\COMDLG32.OCX
'
'ACPREVIEWLib
' AcPreview ActiveX Control module
' C:\WINNT\DOWNLO~1\AcPreview.ocx
'
'VBIDE
' Microsoft Visual Basic for Applications Extensibility 5.3
' C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6EXT.OLB
'
'Scripting
' Microsoft Scripting Runtime
' C:\WINNT\System32\scrrun.dll