![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/rs_webinar_invitation_2025_2.jpg)
GtpuSaveFileDialog1.Filter
![oscar_f](http://www.oscarferrato.net/templates/Oscar2/images/Oscar_Avatar3.gif)
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.5K RobotStudio
- 398 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 321 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 805 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings