Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shell requirement
Message
De
19/04/2010 03:09:12
 
 
À
15/04/2010 19:00:42
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01460445
Message ID:
01460860
Vues:
59
>I have a Shell() command that I use in one project. When I use the same link in another project, I get:
>
>'Shell' is a type and cannot be used as an expression
>
>I am trying to figure out the requirement for this command to be used.

Are you sure you have not defined your own class named 'Shell' that is somehow referenced in that project? Simple repro:
Partial Public Class _Default
    Inherits System.Web.UI.Page
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Shell("Test")
    End Sub
End Class

Public Class Shell
End Class
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform