Rattlerr
Jan 30th, 2006, 10:58 PM
I need some help with syntex for the CommonDialog I know "With" isnt used in C# but i'm converting an old VB6 App to the C#.NET 2005
With CommonDialog
.Filename = ""
.DialogTitle = "Load bots List"
.Filter = "All Supported Types|*.txt"
.ShowOpen
If .FileName = "" Then Exit Sub
If someone could help me convert this I'd appreciate it..Been trying too look it up on msdn with no luck..thxs in advance :)
With CommonDialog
.Filename = ""
.DialogTitle = "Load bots List"
.Filter = "All Supported Types|*.txt"
.ShowOpen
If .FileName = "" Then Exit Sub
If someone could help me convert this I'd appreciate it..Been trying too look it up on msdn with no luck..thxs in advance :)