Add "comments" To Debug File... ?

Oct 23, 2010

How do you add "comments" to the debug file in a VB.net application? Like when you type "-search" after the filename, the application will do something specified.

View 10 Replies


ADVERTISEMENT

C# - Different Color For Code Comments And XML Comments?

Sep 26, 2011

I've noticed that in C# XML comments and code comments can have different colors by changing the settings in Tools > Options > Environment > Fonts and Colors > Display Items:

- Comment: controls code comments XML comment: controls XML comments

This works well in C# <summary>This XML comment is green</summary>

[Code]...

View 2 Replies

File I/O And Registry :: Reading From A File And Ignoring Comments?

Oct 28, 2009

I would like to read from file, and ignore lines that start with --. I know how to read line by line but i just need to ignore those lines.

View 3 Replies

Get File Comments Or Tags?

Aug 6, 2009

I'd like to realize a plugin for MC with Windows Seven but I have a problem: I don't know how I could access to tags and comments of a file. I know how to get 'system properties' (creation date, lenght, ...) but I ignore how to get metadata like tags or comments.

View 2 Replies

.net - Remove All Comments From Source Code File

Apr 1, 2010

Is there a macro in the Visual Studio editor to remove all comments from a VB.NET source file?

View 2 Replies

Creating XML Documentation File For All Code Comments

Sep 26, 2011

I have xml summary comments for each and every function and class of my windows project. Now I want to generating the XML Documentation File. I gone through the following link, but the Option was not there in my Solution explorer.

[URL]

View 2 Replies

C# - Use <include> In External Comments.xml File To Refer To Another Member .Net?

Aug 22, 2011

I know how to use the <include> keyword from my code to refer to a member in an external comments file. Something like: <include file="Comments.xml" path="Docs/ClassName/Members[@name='DoIt']/*" /> However, I have members in the Comments.xml file which are repeated that I would like to split out and refer to within the Comments.xml file itself. As an example, it could be an argument definition that is used multiple time. I've tried the same format as above, but it doesn't work.

[Code]...

View 1 Replies

Edit JPG File Title, Subject, Comments, And Tags/Keywords?

Feb 3, 2011

How do I edit JPG File Title, Subject, Comments, and Tags/Keyowrds?The Exif information provided was helpful, but in the end did not actually solve the real riddle I was working on. So I'll take another angle at describing the desired result:

I want my VB.NET app to allow me to edit the following details of a Jfile (see image):

Title, Subject, Comments, and Tags/Keyowrds

I had a handy image to include but not enough points to post it. Weak.

RIGHT CLICK A .JPG IN WINDOWS and select PROPERTIES

Win XP: Select the "Summary Tab" and Look at the "Description" group

Win7/Server 2008R2: "Details Tab" and look at "Description" group

how to edit those fields through VB.net in Visual Studio?

EDIT: The ultimate goal is to use the image viewer/editer that I built, to sort thousands of images of random webjunk I have collected over the years.Upon viewing the image (say "00001.jpg") and figureing out what it is ("ceiling cat sends son" picture of a lol cat), I want to type in the description (already done in the form). When I hit enter I want to rename the file (from "00001.jpg" to "ceiling-cat-sends-son.jpg", then fill in the keywords, title, subject, and comments fields with the same data: "ceiling cat sends son".

local indexing and with my (later) automating a SQL server referential database for use with site wide searches on my website. The ONLY thing I can't seem to figure out is how to modify those four fields as if I had right-clicked the file and added the keywords.

View 1 Replies

VS 2008 - Creating Comments Tags Without Generating XML Documentation File

Jul 6, 2009

When in VS 2008 if a developer hits the ''' it generates the XML comment tags for you, but this only works when the project setting for "Generate XML documentation file" is checked. Is there a way to tell VS to generate the XML Comment tags, regardless of the project setting? I think it is possible that someone may want comments but not create a XML documentation file. In this case I am exceeding the current Team Settings, yet other developers don't want me to change this project setting. This forces me to flip this back before checking in the project. I have the same problem with other Project settings like "code Analysis". This is only a problem for VB.NET projects.

View 4 Replies

Add Title, Subject, Category, Keywords, Comments, Source, Author And Revision Number To My <appname>.exe File?

Sep 20, 2009

when I generate my <appname>.exe file, the summary properties fields are all empty. There must be a way I can add this, but I haven't found it yet. I am running VisualBasic .Net 2003 standard edition.b

View 10 Replies

.net - VB 2010 Express: Debug.WriteLine Optimized Away Completely In Debug Version?

Aug 31, 2011

Simple question that does not seem to be covered: If I use a lot of Debug.WriteLine statements in my code, will they be completely absent in my production version?

I mean: Is the compiler smart enough to not emit any code for those calls? Or would I have to surround them by #if DEBUG..#end if directives?

View 3 Replies

Unable To Copy File "obj\Debug\FYP.exe" To "bin\Debug\FYP.exe"

Jan 5, 2009

I have the following codes:

me.hide()
staff.show()

It run smoothly for the first time,but when I execute it for the second time,it occured the following errors:Unable to copy file "obj\Debug\FYP.exe" to "bin\Debug\FYP.exe". The process cannot access the file 'bin\Debug\FYP.exe' because it is being used by another process.

View 3 Replies

IDE :: Including A File.txt Into The Debug Folder?

Apr 28, 2009

I follow a "new" book called "Programming Using Visual Basic 2008 7. edition" by David. L. Schneider.

But when I was creating a file called " PAYROLL.TXT " it didnt show up in the debug folder as it should. How do I get the file automatic located in the debug folder?

If first question is answered:Second question - is it the same way to include other files?

View 5 Replies

Play Sound From Debug File ?

Jun 10, 2011

Im looking to play a sound from a folder which is in my debug directory. I got this working for a PictureBox: PictureBox1.ImageLocation() = ("Resourcespicture.png"). But I cant find something to play a sound. This is what I had before: My.Computer.Audio.Play("C:Users......Soundseep-2.wav"). I dont really want to be writing the location of the files using special directories. Is there any way I can just set the location of the file to the directory in which the .exe is.

View 6 Replies

Remove The Debug .PDB File From My MSI Compilation?

Dec 25, 2009

In Debug mode my application compiles to a 4MB .msi file plus setup.exe at 368kb, and the installed app includes the .pdb file @ 2.3MB. If I change to Release mode I'd expect to avoid including the debug symbol file and considerably reduce the .msi size, but surprisingly the .msi goes up to 4.45MB and setup.exe to 420kb. Am I missing something here? I want to reduce the upload size of the application by avoiding the unnecessary debug file, but clearly I've misunderstood what's happening or maybe what I can do.

View 1 Replies

Way Of Putting A File In The Debug Folder?

Mar 5, 2010

there is a way of putting a file in the debug folder of my project so that when i move it, i dont have to put the new file name

View 3 Replies

What Is The Source For Creating A .txt File When Debug

Feb 7, 2009

What is the source for Creating a .txt file when debug

Quote:

Originally Posted by Example

Like when i click button1 it will create a .txt file on my destop or C:

View 10 Replies

Can The .exe File In The Bin/debug Folder Be Used On A Computer Without .net Installed On It?

Dec 6, 2010

I'm using vb10 express.When I give copies of my exe file to friends to test will they have to install anything on there computers to get it to work? Do I need to include other files with the exe?

View 3 Replies

VS 2010 Using The Debug File - Change The Default Name?

Feb 12, 2012

When I drag my debug file from the debug folder to the start icon in order to make a shortcut for the application on the start menu, it automatically names the shortcut WindowsApplication1. How can I change the default name for this action?

View 14 Replies

Pull The Information From A Text File In The Debug Folder?

Jul 3, 2010

I am having trouble with this list box assignment. I am supposed to pull the information from a text file in the debug folder. The problem is the code looks perfect to me, but when I debug, the first line that starts with : lstSummary.items.add returns as being in the wrong format. The code is below.

Private Sub btnSummary_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSummary.Click
Dim strAccount As String

[Code].....

View 3 Replies

VS 2008 - Setting Start File When Build / Debug

May 26, 2009

I have more than one file under project. Where do I configure the first/start file when debug?
Example: form1.vb is load by default when debug. Now I want it to load login.vb instead.

View 4 Replies

IDE :: Difference Between The Dll Or Exe File From The Debug Or Release Version Or Bin Or Object Folder

Jun 10, 2012

if you are debugging or releasing a projet , vs writes exe or bin files to the bin and obj folder in a release and debug version, are ther differences bewteen these files with the same name in 4 folders ?, eg myproject.exe

View 3 Replies

Debug-mode - Calculator - Change The Project Name And All The File Names That Had That String In It

Nov 11, 2010

It's just a small calculator project so it's no big deal, but after I had built the project, I wanted to change the project name and all the file names that had that string in it (and all internal references to that string). I had played with this before and knew that it was asking for trouble but I thought, "What the hell, I'll try it again." feeling a bit brash.

Well, everything works fine in debug mode, but there is this DOS window that pops up just before the main form does, and it doesn't go away for the entire debugging session. I think I see that window pop up on all other projects too (if the main form doesn't cover it up completely), but normally, it's only there for a split second.

View 2 Replies

Making A Membership List - Load With Just The Names In The Text File That Is In The Debug Bin

Oct 26, 2009

Here is the code for my program. We are making a membership list and it needs to load with just the names in the txt file that is in the debug bin. The txt file is set up in one column and holds the member name and the next line is member number and so on. Information is read into an "array of structures" and the display is supposed to be ONLY the names in the listbox on load. This is my problem. I had it displaying all th txt file info and I just need the names. I tried what you will see in the code but it is not working and my book is less then helpful when it comes to examples and/or knowledge on the subject. Though it could be too many hours spent trying to get it to work.

Imports System.IO
Public Class frmMemberList
Structure Members
Dim member As String
Dim number As Integer
End Structure

[code]...

View 13 Replies

.net - Checking For Comments?

Jun 2, 2011

i am writing a vb.net program which gets a c program as an input and checks it for errors,now i want my program to skip the comments in the c program,i have written some code but its not working

For Each line In TextBox1.Lines
sample = TextBox1.Lines(k)
Dim len As String
len = sample.Length

[code]....

View 2 Replies

.net - Put Comments On Each Line?

Mar 2, 2012

I used to be a C# developer so this commenting style was very easy in C#. This is driving me crazy but how do you do this in VB.NET without getting a syntax error?: Private ReadOnly Property AcceptableDataFormat(ByVal e As System.Windows.Forms.DragEventArgs) As Boolean

[Code]...

View 3 Replies

VB Comments In Completion Box?

Dec 30, 2010

I do not understand vb comments. I read that it is possible to give a hint in the code completion box when someone (or myself?) is using my code. But I do not find something in visual studio.

View 4 Replies

.net - Using Method Summary XML Comments?

Feb 9, 2011

I have been using the method summary XML Comments at the top of my procedures lately and am wondering if there are any logical or good practices related to this.I never put anything in the remarks because I put the description of the method in the summary tag. What belongs in the summary and what belongs in remarks?I seldom put anything in the returns tag because it seems like it would be redundant as I usually explain what is being returned in the summary. Should I simply keep the type of object returned in the returns tag?

View 4 Replies

.net-checking For Nesting Of Comments?

Jun 7, 2011

i am writing a program which takes a c program as input and it has to check whether there is a nesting of comments in that c program and gives an output based on that,how do i go about that

View 1 Replies

Add Comments To An Array Initialization?

Feb 24, 2012

Is there a way to add comments to an array initialization? For example:

Dim test As UShort() = { _
1, _
2, _
3, _
4 _
}

I'd like to add a comment on each line, but the obvious syntaxes fail (for obvious reasons)

1, 'test _
1 'test, _
So, am I out of luck?

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved