CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2008 Tags:
Item Type: Date Entered: 3/2/2008 6:09:38 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 20 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
bilmar
Asp.Net User
Any 3rd party tools that will comment the end of If's and Loops in VB?3/2/2008 6:09:38 PM

0

Sometimes it can be quite confusing  which End If is which  - particularly with several levels of nesting.

So, I have got in the habit of commenting them like this:

   If something = True Then

                dostuff()

                If someother = False Then


                    doOtherstuff()

 

                End If    ' someother = false     <-my manually added comment here

            End If      ' something = true       <- another manually added commneny

 

Anyone know of any helpers that will do this for me automatically for If and Loop structures?

Thanks

 

Bill

 

 

vik20000in
Asp.Net User
Re: Any 3rd party tools that will comment the end of If's and Loops in VB?3/3/2008 3:45:24 AM

0

I think using correct level of indentation will reduce the problem. If you use corrct level on indentation on all the if and endif and for loops it will be easy for you to understand which endif is for which if


Vikram
www.vikramlakhotia.com
justlikethat.vikramlakhotia

Please mark the answer if it helped you
bilmar
Asp.Net User
Re: Any 3rd party tools that will comment the end of If's and Loops in VB?3/3/2008 1:47:44 PM

0

vik20000in:
I think using correct level of indentation will reduce the problem. If you use corrct level on indentation on all the if and endif and for loops it will be easy for you to understand which endif is for which if

True, but better commenting is always a good thing.

I am surprised that the major refatoring tools do not do this.

 

Bill

 

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
CodeProject: Complete Comparison for VB.NET and C#. Free source ... Third Party Products · Mentor Resources. Services ... XML documentation generated from source code comments. ... NET), and there are tools which will do it with existing VB. ... Again, support for these is coming to VB.NET in Whidbey . ..... Test at start of loop While n < 100 . ' Same as n = n + 1. n += 1 End While ...
INFO: Microsoft Consulting Services Naming Conventions for Visual ... It is a good idea to establish naming conventions for your Visual Basic code. ... NOTE: The third-party controls mentioned in this article are ..... The code itself and any necessary in-line or local comments will describe the implementation ... rsTargetUser Then bFound = True iFindUser = i End If Wend End Function ...
Visual Basic Naming Conventions in VB5 & VB6 on Chomer.com Jan 27, 2006 ... The upper case C is used to name a class module, and any object .... End-of-line comments are sometimes helpful to comment 'Loop', ... A function header is a comment that describes what the function does and summarizes its interface. ... begin with two letter signifying the third party vendor, ...
Todd Taylor's Blog - VB.NET Most people opted to purchase third party tools like XML Spy to deal with VS. ... but better thought of as any kind of hiding (type, implementation, design, and so on. ..... The correct way to loop through a collection is to essentially loop ... NET certification, my next exam will be the 70-300 exam (Analyzing ...
Is VB.Net better or C#.net? Or is .Net a .Net either way? A majority of third-party and open source components are written in C#. ... NET or C# is about the same given that 95% of the effort will be spent ..... after pressing a enter will bring the end if immediately. but in C# you need to ... 2) the same goes for all loops and conditions VB able to close the loops and ...
Not Another C# Versus VB Article Jun 2, 2005 ... The kludgy third party tools were swept aside and replaced by a clean ..... The gist of this article is that people will migrate from VB. ..... NET terminates a block of code with End BlockName or Next for a for loop which is more ... Often C# developers will add comments at the end of scope to more ...
O p e n W i k i - Visual Basic Cee Plus Plus Rosetta Stone Nov 5, 2006 ... A Visual Basic/C++ Rosetta Stone. Commenting. Inline comments; Multiple line comments ... If a=b then x elseif c=d then y else z end if ... 'loops counters in VB often begin at 1 for i=1 to 5 ' i is set to 1 at the beginning .... plus a few library specifications, if third-party libraries are used. ...
VB Graphics Programming Tutorial: Part 4 (Optimizations Checklist) In this example, VB will declare x as a Variant and y as a Long . .... Search the net for 3rd party SDKs or ActiveX controls dealing with graphics (DirectX, OpenGL, ... And that, my friends, this is the end of these tutorials. ... If you have any comments, questions, suggestions, ideas for future tutorials, ...
VB, OLE and Microsoft Word May 31, 2006 ... We will also touch on the Visual Basic IDE, Database Access, and crossover concepts ... strInput) End If '(InStr(1, strInput, "[ODBC]") = 0) Loop 'While Not ... If you are working with a document provided by a third party, ... comment. akshay writes: 9/9/2007 #. hi That is very good code sample i ...
June 2009 - Posts - Joacim's view on stuff However the fact is that “deprecated” doesn't mean it will disappear completely anytime soon. ... and I don't mind using third-party tools for new development if needed. .... End If Else Return False End If End Function Private Function .... I'm also aware that many of the things I will comment on here are being ...


Videos:
Vlog#4 ... The last one... saying that it's up so you aren't out of the loop. If you are wondering why the cap is missing an E at the end, it is because it's ...
Beetlejuice from the Howard Stern show gives a guy a tattoo (DVLH) to his already small body. He is nicknamed after the title character of Beetlejuice because of this (There is a scene in the movie where ...
Google I/O 2009 - Google's HTML 5 Work: What's Next? the point of view of, well, what is my application? Is it a photo editing application? Is it an email application? Is it a social application? And ...
Leveraging India As India Stands Up on the world? So once it has learned that, is this is possible? And this is something that one is imagining, one is looking at, our business ...
Building Tools For Trust For Nationwide Information Exchange More info at healthit.hhs.gov Comments on this video are allowed in accordance with our comment policy www.newmedia.hhs.gov
Using Static Analysis For Software Defect Detection equal with not with equal equal is probably a mistake. Okay, here's another one. Infinite recursive loop. Here is a method, that if invoked is ...
Google I/O 2009 - Advanced Techniques, AJAX API Playground to a really fun topic--Closure. So closure is the source of a lot of power in JavaScript. And all it is is it's when a function is defined ...
Affiliate Summit 2006 East -- Blogging Best Practices: Maximizing Your Success what all these people seem to neglect to realize is that it is just a tool. It is like anything else. It is like Dreamweaver. It is just a tool ...
Google I/O 2009 - Bespin and the Open Web just happen to go wrong. Um, and I see no errors in the application. It is not, it is not, it is not... [mutters to self] Oh, yeah, yeah, why did ...
Google I/O 2009 -...Interaction & Visual Design with Android default intents for the user. But you c-- as a third party, this is what I think you guys would be interested in is any third party can hook into ...












vsiaul studio 2008 package load failure

.config files closes after save

linq in a class library

javascript intellisense

vs 2005 project in-place upgrade to vs 2008 won't save files

can't convert vs2005 asp.net apps to vs2008

how to change column bg color?

so much for 'backwards compatability'

project dependency compilation issue

hxmerge error at the end of the installation

how to create new asp.net ajax application

vsts 2008 for dev. compiler doesnt show errors anymore

mutliple selecting and absolute positioning

commenting/todo lists

ajax problem

slow in opening website via network.

vs2008 vs vs2005 when running via f5

see control events

problems with web app debugging on vista in vs 2008

vs2008 web form editor annoyingly launches top style pro

data connections

problem configuring the asp.net editor to work with my extension

design view update/refresh

what happened to xml-script and client-side controls?

vs2008 is uninstallable

confused - does visual web developer 2008 include the ajax toolkit?

how to correct error that prevents creating a new database in vs2008 (not supported)

sql errors not being thrown in visual studio 2008

which 2008 version should i get?

confusion

vs2008 standard edition and windows mobile

ssis - getting integration services back

workstation / server system requirements (not minimum) ...

how do you get the vs2008 new css support to use shorthand?

properties panel refuses to show anything

connector/net 5.2.0 mysql - package load failure

visual studio 2008 registration problem

visual studio 2008 installtion help!

issues with beta 2

asp.net intellisense not working in vs2008

if statement on serverside

installation problems with vs2008 beta 2

stylesheets in master page

beta 2 setup fails after beta 1 uninstall

could not edit ... because it is not in the web site.

vs 2008 caching stored proc contents?

about the toolbox while creating xbap application

creating global.asax file

convert 2005 web application using remote iis server

tfs- closing tasks?

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT