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
VB Code:
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![]()



Reply With Quote