GtpuSaveFileDialog1.Filter

Hello,
I’m trying to use the GTPUFileDialog but when I set up the Filter , I got An exception
“badly format”
In addition the default extention seems not to work,
For example if i imput the “myfilename” I’m expectign that the fileName has to be :
“myfilename.myext”

Here the code for set up the GTPUFileDialog:

GtpuSaveFileDialog1.OverwritePrompt = True

GtpuSaveFileDialog1.InitialDirectory = “C:”

GtpuSaveFileDialog1.FileName = “MyModel.xml”

GtpuSaveFileDialog1.DefaultExt = “.myext”

'GtpuSaveFileDialog1.Filter = “xml”

GtpuSaveFileDialog1.AddExtension = True