Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need adjustment on Dialog.Result.OK
Message
De
08/12/2005 15:01:02
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Need adjustment on Dialog.Result.OK
Divers
Thread ID:
01076369
Message ID:
01076369
Vues:
84
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform