Author Topic: "Run-Time Error '13': Type mismatch"  (Read 532 times)

Sounddriver

  • Newbie
  • *
  • Posts: 10
    • Riesenberg-Media
"Run-Time Error '13': Type mismatch"
« on: April 05, 2023, 10:41:19 AM »
Hello Lars!
as soon as I click the command "table edit 3D Polyline" I get the error "Run-Time Error '13': Type mismatch" and your program terminates.

I use the Tools version 1.1.749 and AutoCAD Map 3D 2021.
With the portable version 1.1.736 I get no error and the program runs as expected.

Do you have any idea how I can avoid the error?
« Last Edit: April 05, 2023, 11:29:49 AM by Sounddriver »

Lars

  • Administrator
  • Hero Member
  • *****
  • Posts: 637
Re: "Run-Time Error '13': Type mismatch"
« Reply #1 on: April 05, 2023, 04:40:04 PM »
Hi,

Probably one of the settings that's not stored as preferred type. Using the portable version doesn't store setting in same place. Probably that's why that version working. Does the form shows up after the error dialog? If so check the size of the position marker.

Try it on a another drawing, could be something with the layers.
Try to download a update https://glamsen.se/Download/CadTools/CadTools_update.EXE

/Lars

Sounddriver

  • Newbie
  • *
  • Posts: 10
    • Riesenberg-Media
Re: "Run-Time Error '13': Type mismatch"
« Reply #2 on: April 06, 2023, 07:13:36 AM »
Good morning Lars!
Thanks for the quick reply.
Unfortunately the form closes immediately and that also with an empty drawing.
But the tip with the position marker sounds promising. Could it be that I have entered a "," instead of "." and then closed the form?
Is there a possibility to reset the settings? Our IT department always takes a long time for updates and installations ;-)

Lars

  • Administrator
  • Hero Member
  • *****
  • Posts: 637
Re: "Run-Time Error '13': Type mismatch"
« Reply #3 on: April 06, 2023, 08:44:15 AM »
Hi,

You can delete the settings for "Table edit Polyline". Settings are store in the registry under the key: Drainage Support Tools. (Computer\HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Drainage Support Tools)
You can also search for the key using Find in the Registry Editor.

You need to run the Registry Editor by typing in "Regedit" in the start (windows 10)

Locate the key "TableEditPolyline" in the folder "Drainage Support Tools", Delete the key "TableEditPolyline". This will make CadTools to open the form with default values, and then create a new Key in the registry when closing the form.

/Lars

Sounddriver

  • Newbie
  • *
  • Posts: 10
    • Riesenberg-Media
Re: "Run-Time Error '13': Type mismatch"
« Reply #4 on: April 06, 2023, 08:54:16 AM »
it works!

Tack för hjälpen och verktygen! Ha en trevlig och lång helg.  :)

Lars

  • Administrator
  • Hero Member
  • *****
  • Posts: 637
Re: "Run-Time Error '13': Type mismatch"
« Reply #5 on: April 06, 2023, 11:04:38 AM »
Great! I'll prevent this from happening in coming versions.