A problem with SaveFileDialog

A problem with SaveFileDialog

J-Rocks
Collaborator Collaborator
780 Views
2 Replies
Message 1 of 3

A problem with SaveFileDialog

J-Rocks
Collaborator
Collaborator

Hello guys.

 

I am having a hard time trying to solve the probem with the class SaveFileDialog without any success.

I have received an error message and as it is in the attached photo.

 

EDIT: I used to make an istance of the class SaveFileDialog without any error, why did it happen now?

 

Thank you.

SaveFileDialog.jpg

 

0 Likes
Accepted solutions (1)
781 Views
2 Replies
Replies (2)
Message 2 of 3

_gile
Consultant
Consultant
Accepted solution

Hi,

 

Maybe you're confusing:

Autodesk.AutoCAD.Windows.SaveFileDialog(
string title,
string defaultName,
string extension,
string dialogName,
SaveFileDialogFlags flags)

with

System.Windows.Froms.SaveFileDialog()

 

 



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 3

J-Rocks
Collaborator
Collaborator

Thanks a lot ,it's perfect.

 

Yes I wanted the one with WIndows.Forms.

 

Do you have any example for the class SaveFielDialog in Autocad ? I am jusyt curious to know how this class works in AutoCAD.

 

Thanks.

0 Likes