Hi,
>> it say "Erreur d'exécution" maybe it is runtime error in English
Does it stop at the code by open VBAIDE and showing the line where the error occurs? If so can you show the code-snippet and specify the line + the error number that occurs?
>> Rewrite the code with VB .Net is a lot of work.
Yes and no. On one side you can live with VBA as long as you don't update AutoCAD, but the time comes (don't know when, of course) where VBA will be discontinued.
ON the other side with VB.NET you have much more options to expand your app-functionality. An additional way for making the porting of the code more efficient could be to do it either with a training (check a trainer who knows VB.NET + AutoCAD and make parts of porting with training days) or let some professional do the porting. For that you have to compare your time-cost you'll need for porting with the costs some professional uses.
- alfred -
------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ...
blog.ish-solutions.at ...
LinkedIn ...
CDay 2026------------------------------------------------------------------------------------
(not an Autodesk consultant)