0

how to use openfiledialog in auctocad using vb.net in a dll application for opening a file. Because no forms i used in the dll application. i am using imports autodesk.autocad.windows in the application.

user3060904
  • 21
  • 1
  • 7

1 Answers1

0

You will need to use:

var pfo = new Autodesk.AutoCAD.EditorInput.PromptFileOptions(" message");

//add filter

var pfno = Application.DocumentManager.MdiActiveDocument.Editor.GetFileNameForOpen(pfo);

This is c# so you will need to transpose.

Trae Moore
  • 1,759
  • 3
  • 17
  • 32