Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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 October 10th, 2003, 04:47 PM
Authorized User
 
Join Date: Jul 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to p_nut33 Send a message via MSN to p_nut33
Default Seeing All Code

How can I see all the code?

For example, the namespace and Main threads of VB programs.

Im kinda coming from C#.

 
Old October 14th, 2003, 10:01 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

In C#, every class has a namespace statement in it. In VB, you don't need this. Right-click on a VB.Net project, then go to properties. Navigate to the "Common Properties" -> "General" section. There you will find "Root Namespace". That is the namespace that all the classes live under for that VB.Net project. You CAN wrap classes in a namespace statement to further organize your project. Those namespaces will always live underneath the project's root namespace.

I don't know if I can answer the question about the Main threads. Not exactly sure what you mean. Do you mean Sub Main? If that's what you mean, then look on that same properties dialog from above. There is a setting for "Startup Object". There you can choose the starting routine.

Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent:hard disk serial code and vb code ivanlaw Pro VB 6 0 July 25th, 2007 04:05 AM
VB: .Exe file, serial code and activation code ivanlaw Pro VB 6 8 July 6th, 2007 05:44 AM
code clinic - Why wont example asp code work? jardbf Classic ASP Basics 3 April 27th, 2006 06:22 PM
Writing Client Side Script from Code-Behind code sajid_pk Classic ASP Databases 1 January 18th, 2005 12:53 AM
disable forum code within [code] blocks? nikolai Forum and Wrox.com Feedback 0 October 23rd, 2003 07:52 PM





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