Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / December 2004



Tip: Looking for answers? Try searching our database.

Option strict in VB.NET application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hans - 30 Dec 2004 02:23 GMT
When you enable option strict in my VB.NET application, it gives an error
for:

Dim obj As class1

obj  = x.GetObj(1)

GetObj returns a System.Object which can be casted to class1. But it still
gives an error.
Jan Hyde - 30 Dec 2004 09:05 GMT
"hans" <v>'s wild thoughts were released on Wed, 29 Dec 2004
21:23:03 -0500 bearing the following fruit:

>When you enable option strict in my VB.NET application, it gives an error
>for:
[quoted text clipped - 5 lines]
>GetObj returns a System.Object which can be casted to class1. But it still
>gives an error.

Please try a dot net group.

eg

microsoft.public.dotnet.languages.vb

Jan Hyde (VB MVP)

Signature

How do you catch a bra?
Set a boobie trap. (Rodney Lee)

[Abolish the TV License - http://www.tvlicensing.biz/]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.