basepointdesignz
Programmer
Hi,
When using AutoCAD 2002 with XP Pro I get a few fatal errors come up when I do random and specific things.. These problems don't happen on the WIndows ME machine we have so I pressume it's an XP Pro problem..
Here's what I get:
1: Firstly, when ever I open a drawing or AutoCAD itself
I get a message box saying something like:
AutoCAD Failed to update the System registry. Please use REGEDIT.
Why is this doing it. This happens on my college computer too..
2: Whenever I do certain and/or random tasks in AutoCAD I get this error:
FATAL ERROR: Unhandled Access Violation Reading 0x24509d0 Exception at 6543d307h
This happens mostly when I try to change the font on one of the TextStyles..
3: I also get this error when I try to run an AUtoCAD VBA macro that opens a certain Excel workbook:
FATAL ERROR: Unhandled Access Violation Reading 0x00e0 Exception at 650b7029h
What could be happening? This works fine on my Windows ME computer at work but not on the XP Pro one. Here's waht the code looks like, just in case particular codes and commands have changed for XP:
Any ideas or any ideas where I can find out what these errors mean? Is there a website that searches specifically for Fatal Error codes?
Thanks in advance,
Renegade.. BULLET-PROOF DESiGNZ
renegade@tiscali.co.uk
When using AutoCAD 2002 with XP Pro I get a few fatal errors come up when I do random and specific things.. These problems don't happen on the WIndows ME machine we have so I pressume it's an XP Pro problem..
Here's what I get:
1: Firstly, when ever I open a drawing or AutoCAD itself
I get a message box saying something like:
AutoCAD Failed to update the System registry. Please use REGEDIT.
Why is this doing it. This happens on my college computer too..
2: Whenever I do certain and/or random tasks in AutoCAD I get this error:
FATAL ERROR: Unhandled Access Violation Reading 0x24509d0 Exception at 6543d307h
This happens mostly when I try to change the font on one of the TextStyles..
3: I also get this error when I try to run an AUtoCAD VBA macro that opens a certain Excel workbook:
FATAL ERROR: Unhandled Access Violation Reading 0x00e0 Exception at 650b7029h
What could be happening? This works fine on my Windows ME computer at work but not on the XP Pro one. Here's waht the code looks like, just in case particular codes and commands have changed for XP:
Code:
' Open the ULTRAFRAME ROOF ORDER..
Sub ufo()
Dim jobno As String 'Job number..
Dim custref As String 'Cutomer reference..
Dim custname As String 'Customer name..
Dim drawingname As String 'Drawing name..
Dim xlapp As New Excel.Application 'Excel application..
Dim ufo As Excel.Workbook 'Workbook
Dim sheetx As Excel.Worksheet 'Active sheet..
Dim stringL As Integer 'String length..
Dim custL As Integer ' Custref length..
Dim pathX, pathY, pathZ As String 'Drawing paths..
Dim trade_name As String 'Trade Customer ref..
Dim fullnameX As String 'Thisdrawing.FullName..
Dim hypText As String 'Hyperlink Text-to-Display..
pathX = "C:\LH DRAWINGS\AutoCAD Files\Surveys\Trade"
pathZ = "C:\LH DRAWINGS\AutoCAD Files\Surveys\Direct"
' Check if drawing is Trade or Direct, then get the Trade Name..
If ThisDrawing.Path = pathX Then
tradeform.Show
' Check and set Trade_Name..
Select Case tradeform.ComboBox1.Text
Case Is = "Braeside Plastics"
trade_name = "BP"
End Select
Select Case tradeform.ComboBox1.Text
Case Is = "Brian Burden"
trade_name = "BB"
End Select
Select Case tradeform.ComboBox1.Text
Case Is = "Joyners"
trade_name = "Joy"
End Select
Select Case tradeform.ComboBox1.Text
Case Is = "Ray Porter"
trade_name = "RP"
End Select
Select Case tradeform.ComboBox1.Text
Case Is = "Shawn Lawford"
trade_name = "Law"
End Select
' If drawing is direct..
ElseIf ThisDrawing.Path = pathZ Then
trade_name = "LH"
Else
' If drawing is not a survey drawing..
MsgBox "This drawing is not a LightHouse Survey..", vbExclamation, "Incorrect Drawing Type.."
GoTo End_It
End If
' Get drawing name..
drawingname = ThisDrawing.Name
' Calculate custref length..
stringL = Len(drawingname)
custL = (stringL - 3) - 10
' Get Job number..
jobno = Left(drawingname, 8)
' Get Customer ref..
custname = Mid(drawingname, 10, custL)
custref = trade_name & "/" & custname
' Open the U.F.O. worksheet..
Set ufo = xlapp.Workbooks.Open("C:\LH DRAWINGS\AutoCAD Files\Surveys\Roof Orders\UFO.xls")
Set sheetx = xlapp.ActiveSheet
' Input text into the U.F.O. worksheet..
sheetx.Cells(3, 11) = jobno
sheetx.Cells(6, 9) = custref
' Show the U.F.O. worksheet..
xlapp.Application.Visible = True
xlapp.Application.WindowState = xlMaximized
End Sub
Any ideas or any ideas where I can find out what these errors mean? Is there a website that searches specifically for Fatal Error codes?
Thanks in advance,
Renegade.. BULLET-PROOF DESiGNZ
renegade@tiscali.co.uk