GtpuSaveFileDialog1.Filter

oscar_f
✭
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
BR
Oscar Ferrrato
Oscar Ferrrato
0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 13 RobotApps
- 300 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 330 IRC5
- 66 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 826 RAPID Programming
- 10 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings