Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shell requirement
Message
From
19/04/2010 03:09:12
 
 
To
15/04/2010 19:00:42
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01460445
Message ID:
01460860
Views:
58
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform