Showing posts with label Visual Studio 2005. Show all posts
Showing posts with label Visual Studio 2005. Show all posts

How to : Use Visual Studio TODO Comments

There are many type of comments available in Visual Studio, but have you ever seen the TODO comment?

abstract:

You have many tasks to remember, and you want to track them in Visual
Studio with TODO comments. These comments can help get you more
organized about your projects. You want to get the interface set up and
gain a way to list your to-do items in a central place. Here we look at
ways you can use TODO comments in your C# programs.

Using TODO

TODO
comments allow you to tell Visual Studio to maintain a central list of
tasks, which it reads from many different places in your code. The Task
List is a panel or floating window in Visual Studio that will display
all the TODO comments in your project. To open the list, go to View menu
-> Task List.


Some example TODO comments

You probably have a lot of code
that needs a lot of work. If you don't, then you need to write code that
needs a lot of work. Here are some examples of TODO lines that
Visual Studio 2008 will notice and put into its special Task Pane.

<i>//todo: fix dialog windows
//TODO: work on SQLCE guide
// Todo new screenshot</i>

Description of example. This
will appear in your tasks pane as a separate task. Note that you have
some flexibility with these tokens. The strings "todo", "TODO", and
"TODO" all work equally well—Visual Studio's parser gives you a little
bit of freedom.

More comments

Here we make a more general
point about comments in the C# programming language. Comments are used
only at the source level of your program, not the compiled version of
the program. The TODO comments noted here are parsed by Visual Studio in
the IDE. You can find more about how comments relate to C# programs
here.


Click here to read  the original article on TODO Comment



The project location is not trusted

I met with such an error when I tried to open a project "The project location is not trusted"

Just googled for the resolution and found a really useful blog by Chris Craft.

here are the abstracts from  the same:

"This dialog box appears if you attempt to open or create a client project on a Universal Naming Convention (UNC) path. By default, a UNC path is not a trusted location for a project. Your project might not run correctly when you attempt to debug or run from this location.
 That is definitely the dialog box I was getting. Now I was concerned. One thing I am sure of, is that if my computer thinks my C:\ driver is an untrusted UNC path, I was going to be in a world of hurt, if I didn't find and fix the fundamental issue.
This information also concerned me because I was using a Virtual PC to try and open this project with. And I started to wondering if this was somehow playing a part in the issue."


Click here to read the original article
OR
Copy paste the below URL to you browser address bar
http://www.cjcraft.com/blog/2007/09/02/ TheProjectLocationIsNotTrusted.aspx

How to convert a Visual Studio 2008 Project to Visual Studio 2005

Follow the steps provided in the link to convert your Visual Studio 2008 project to Visual Studio 2005 project.


Excerpts:
This information will be helpful for those who have not yet installed
Visual Studio 2008 on their machines and who have some trouble with the
sample project they just received from Support.

For details click here

or

click http://msmvps.com/blogs/jon_skeet/archive/2007/11/20/vs2005-and-vs2008-co-existence.aspx



SharePoint Workflow How-to Videos


Free Series of SharePoint Workflow How-to Videos


Excerpts:
This is the series of "How to" Document Workflow with SharePoint using
Visual Studio 2008 (using the .NET Framework 3.0 for backward
compatibility to Visual Studio 2005).  I have created video's that show
the most common requests that I have seen around MOSS/SharePoint 2007
workflow & document workflow.

For more details click here

or

http://www.sheltonblog.com/archive/2007/11/04/series-of-sharepoint-workflow-how-to-videos.aspx

GridView with Multiple Filters

You can implement multiple filters in your gridview using Visual Studio 2005, no need to go to Visual Studio 2008,

Excerpts :
Introduction



This article explains the methodology of implementing multiple filters in an Ajax
based Asp.Net GridView control. The main point to note down in this article is to
filter the data within the GridView control.

To read full article click here
or
you can visit http://www.aspdotnetcodes.com/Asp.Net_GridView_Filter.aspx

Is the above link useful to you? Let us know your feedback, it will
help us to improve our posting(s). or You can send your feedback linkOblast.