Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need adjustment on Dialog.Result.OK
Message
From
08/12/2005 15:01:02
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Need adjustment on Dialog.Result.OK
Miscellaneous
Thread ID:
01076369
Message ID:
01076369
Views:
83
I have the following code:
    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        SaveFileDialog.InitialDirectory = lcLogDirectoryWebService
        SaveFileDialog.Filter = "HTML Files (*.html)|*.html|All Files (*.*)|*.*"
        If SaveFileDialog.ShowDialog = DialogResult.OK Then
            Framework.FileFunction.CreateFile(Log.Document.DocumentElement.OuterHTML, SaveFileDialog.FileName)
        End If
    End Sub
The line containing DialogResult.OK provides a warning:

Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.

How can I resolve that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform