Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 10th, 2005, 03:30 AM
Authorized User
Join Date: Dec 2004
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Searching for objects in VB.NET

Is there a function to test whether an object exists (i.e. there was a previous statement (at least) such as Dim MyObject etc.) in one's program ?

For example

Dim MyObject as ....

(and, later, maybe in another module)

If Exists(MyObject) then ...


Old February 10th, 2005, 08:33 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts

if (not isnothing(myobject)) then

end if


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help With Searching Database (VB6.net) colm VB Databases Basics 0 June 5th, 2007 03:17 PM
.net remoting objects anitha Pro VB.NET 2002/2003 0 January 29th, 2004 05:19 AM
VB.NET Business Objects AlfredoDS Wrox Book Feedback 1 July 7th, 2003 10:37 AM
VB.NET Business Objects throughput Wrox Book Feedback 1 June 26th, 2003 06:16 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.