Below is a simple example of a Save As dialog could look like.
' Save Dialog
With SaveFileDialog1
.DefaultExt = "exp" ' Default extension if user doesn't add one
.Filter = "Exp file (*.exp)|*.exp|Any (*.*)|*.*" ' Using *.exp as filter OR show all
.FilterIndex = 0 ' Use *.exp as default
.InitialDirectory = "C:\"
.Title = "Save TwinCat *.Exp file to .."
If .ShowDialog() = Windows.Forms.DialogResult.Cancel Then Exit Sub ' User pressed Cancel so exit
End With
' Append some text to this file
My.Computer.FileSystem.WriteAllText(SaveFileDialog1.FileName, "Test", True)
Tuesday, October 16, 2007
Subscribe to:
Posts (Atom)
MySQL to MariaDB
Here is a good description how to migrate to MariaDb MySQL to MariaDb Example of how to dump data from MySQL port=3307: mysqldump --user=ro...
-
When converting an VB2008 application to VB2010 I run into trouble regarding COM objects while compiling. you get errors like: Error 1...
-
In a module you have declared a Structure or Enum that you will use through out a project. Module Module1 Public Structure dummy ...
-
Apache2 crashes on Ubuntu Linux 22.04.5 after Zabbix was updated to 7.0.26 During a upgrade of my Ubuntu server there was a new package for ...