Share via

Use of null in Visual Basic

José Carlos 886 Reputation points
2023-07-13T21:56:09.5266667+00:00

Friends.

I have a command in C# to find out if there is any form open. If so, close this form. the command is If (frmActive <> Null) frmActive.Close(). How to transport this line to Visual Basic .NET, since Null doesn't have it in VB.

Tks

Developer technologies | VB
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

0 comments No comments

Answer accepted by question author

Saga 466 Reputation points
2023-07-13T22:07:59.2633333+00:00

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.