Click here to Skip to main content
15,891,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to access an object of an arraylist, from a hashtable? Pin
darkelv31-Mar-08 5:18
darkelv31-Mar-08 5:18 
GeneralRe: How to access an object of an arraylist, from a hashtable? Pin
Ravi Mahavrathayajula31-Mar-08 5:34
Ravi Mahavrathayajula31-Mar-08 5:34 
Generalcode snippet Pin
ellllllllie31-Mar-08 3:52
ellllllllie31-Mar-08 3:52 
GeneralRe: code snippet Pin
Colin Angus Mackay31-Mar-08 3:54
Colin Angus Mackay31-Mar-08 3:54 
GeneralRe: code snippet Pin
ellllllllie31-Mar-08 4:18
ellllllllie31-Mar-08 4:18 
GeneralRe: code snippet Pin
DavidNohejl31-Mar-08 5:04
DavidNohejl31-Mar-08 5:04 
GeneralRe: code snippet Pin
Gareth H31-Mar-08 4:22
Gareth H31-Mar-08 4:22 
GeneralRe: code snippet Pin
carbon_golem1-Apr-08 3:02
carbon_golem1-Apr-08 3:02 
I would probably use a macro instead. Put it on a hotkey for convenience.
I wrote one to put a review comment for when I go through files and do a
preliminary review.

Sub ChangeLastReviewDate()
    DTE.ExecuteCommand("Edit.Find")
    DTE.Find.FindWhat = "Last Review:"
    DTE.Find.Target = vsFindTarget.vsFindTargetCurrentDocument
    DTE.Find.MatchCase = False
    DTE.Find.MatchWholeWord = False
    DTE.Find.Backwards = False
    DTE.Find.MatchInHiddenText = True
    DTE.Find.PatternSyntax = vsFindPatternSyntax.vsFindPatternSyntaxLiteral
    DTE.Find.Action = vsFindAction.vsFindActionReplace
    DTE.Find.Execute()
    DTE.Windows.Item(Constants.vsWindowKindFindReplace).Close()
    DTE.ActiveDocument.Selection.EndOfLine(True)
    DTE.ActiveDocument.Selection.Text = "Last Review:" & Now() & " [Done by: SRP]"
End Sub


"Run for your life from any man who tells you that money is evil. That sentence is the leper's bell of an approaching looter." --Ayn Rand

QuestioncheckBox and datagrid Pin
Metik31-Mar-08 2:14
Metik31-Mar-08 2:14 
AnswerRe: checkBox and datagrid Pin
Rajesh R Subramanian31-Mar-08 2:53
professionalRajesh R Subramanian31-Mar-08 2:53 
Generalconstructors in VisualC#.NET Pin
shaheen1331-Mar-08 1:38
shaheen1331-Mar-08 1:38 
GeneralRe: constructors in VisualC#.NET Pin
J4amieC31-Mar-08 1:39
J4amieC31-Mar-08 1:39 
GeneralRe: constructors in VisualC#.NET Pin
Malcolm Smart31-Mar-08 1:41
Malcolm Smart31-Mar-08 1:41 
GeneralRe: constructors in VisualC#.NET Pin
Pete O'Hanlon31-Mar-08 1:46
mvePete O'Hanlon31-Mar-08 1:46 
GeneralRe: constructors in VisualC#.NET Pin
carbon_golem31-Mar-08 1:56
carbon_golem31-Mar-08 1:56 
GeneralRe: constructors in VisualC#.NET Pin
Rajesh R Subramanian31-Mar-08 2:35
professionalRajesh R Subramanian31-Mar-08 2:35 
GeneralRe: constructors in VisualC#.NET Pin
Pete O'Hanlon31-Mar-08 1:43
mvePete O'Hanlon31-Mar-08 1:43 
GeneralRe: constructors in VisualC#.NET Pin
nelo_31-Mar-08 1:57
nelo_31-Mar-08 1:57 
GeneralRe: constructors in VisualC#.NET Pin
Pete O'Hanlon31-Mar-08 2:18
mvePete O'Hanlon31-Mar-08 2:18 
GeneralRe: constructors in VisualC#.NET Pin
Malcolm Smart31-Mar-08 2:49
Malcolm Smart31-Mar-08 2:49 
GeneralRe: constructors in VisualC#.NET Pin
Pete O'Hanlon31-Mar-08 2:55
mvePete O'Hanlon31-Mar-08 2:55 
GeneralRe: constructors in VisualC#.NET Pin
carbon_golem31-Mar-08 2:21
carbon_golem31-Mar-08 2:21 
GeneralRe: constructors in VisualC#.NET Pin
Scott Dorman1-Apr-08 7:28
professionalScott Dorman1-Apr-08 7:28 
GeneralRe: constructors in VisualC#.NET Pin
Rajesh R Subramanian31-Mar-08 2:50
professionalRajesh R Subramanian31-Mar-08 2:50 
GeneralRe: constructors in VisualC#.NET Pin
Pete O'Hanlon31-Mar-08 2:57
mvePete O'Hanlon31-Mar-08 2:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.