Click here to Skip to main content
15,920,633 members
Home / Discussions / C#
   

C#

 
GeneralRe: C#: How to change the color of a disabled textbox? Pin
Pete O'Hanlon19-Dec-07 0:51
mvePete O'Hanlon19-Dec-07 0:51 
GeneralRe: C#: How to change the color of a disabled textbox? Pin
Kalvin @ Work19-Dec-07 3:17
Kalvin @ Work19-Dec-07 3:17 
GeneralRe: C#: How to change the color of a disabled textbox? Pin
Xmen Real 19-Dec-07 3:47
professional Xmen Real 19-Dec-07 3:47 
GeneralRe: C#: How to change the color of a disabled textbox? Pin
V.19-Dec-07 4:26
professionalV.19-Dec-07 4:26 
GeneralRe: C#: How to change the color of a disabled textbox? Pin
Dan Neely19-Dec-07 5:00
Dan Neely19-Dec-07 5:00 
GeneralArray list implementation in .Net Framework Pin
King Shez18-Dec-07 22:37
King Shez18-Dec-07 22:37 
GeneralRe: Array list implementation in .Net Framework Pin
Giorgi Dalakishvili18-Dec-07 22:46
mentorGiorgi Dalakishvili18-Dec-07 22:46 
GeneralRegular expression - problem! Pin
Kolo18-Dec-07 21:39
Kolo18-Dec-07 21:39 
Hi,

I have a MIB file, here's a piece:

nlmLogVariableOpaqueVal OBJECT-TYPE<br />
    SYNTAX      Opaque<br />
    MAX-ACCESS  read-only<br />
    STATUS      current<br />
    DESCRIPTION<br />
     "The value when nlmLogVariableType is 'opaque'."<br />
    ::= { nlmLogVariableEntry 12 }<br />
<br />
<br />
--<br />
-- Conformance<br />
--<br />
<br />
notificationLogMIBConformance OBJECT IDENTIFIER ::=<br />
    { notificationLogMIB 3 }<br />
notificationLogMIBCompliances OBJECT IDENTIFIER ::=<br />
    { notificationLogMIBConformance 1 }<br />
notificationLogMIBGroups      OBJECT IDENTIFIER ::=<br />
    { notificationLogMIBConformance 2 }<br />
<br />
-- Compliance



How can I get every occurence of OBJECT IDENTIFIER? I do something like this:

Regex objIdentifiers = new Regex(@"(?<name>[a-z][\d\w0-9-]*).*(\n|\s|\t)*OBJECT IDENTIFIER.*(\s|\t|\n)*::=(\s|\t)*{(\s|\t)*(?<enterprise>[\d\w0-9-]*)(\s|\t)*(?<number>[0-9])(\s|\t)*}");<br />
<br />
MatchCollection matches = objIdentifiers.Matches(s);</number></enterprise></name>


But this doesn't work. I should mention that those definitions sometimes look like this:

notificationLogMIBGroups      OBJECT IDENTIFIER ::=<br />
-- Comment<br />
    { notificationLogMIBConformance 2 }


Thanks in advance!

Greetings.

ps. after quotation marks are group names, but I don't know why won't show them in this post :/
GeneralCrystal report Pin
wasimsharp18-Dec-07 21:24
wasimsharp18-Dec-07 21:24 
QuestionHow to use a Enterpise Task Custom Field with C# (Project Server 2007) Pin
RobertSoelner18-Dec-07 21:15
RobertSoelner18-Dec-07 21:15 
GeneralRe: How to use a Enterpise Task Custom Field with C# (Project Server 2007) Pin
Paul Conrad22-Dec-07 9:19
professionalPaul Conrad22-Dec-07 9:19 
GeneralRe: How to use a Enterpise Task Custom Field with C# (Project Server 2007) Pin
RobertSoelner22-Dec-07 22:37
RobertSoelner22-Dec-07 22:37 
GeneralRe: How to use a Enterpise Task Custom Field with C# (Project Server 2007) Pin
Paul Conrad24-Dec-07 19:46
professionalPaul Conrad24-Dec-07 19:46 
GeneralRe: How to use a Enterpise Task Custom Field with C# (Project Server 2007) Pin
RobertSoelner4-Aug-08 3:54
RobertSoelner4-Aug-08 3:54 
GeneralRead MS Access file Pin
Adeel Chaudhry18-Dec-07 20:42
Adeel Chaudhry18-Dec-07 20:42 
GeneralRe: Read MS Access file Pin
Vasudevan Deepak Kumar18-Dec-07 20:48
Vasudevan Deepak Kumar18-Dec-07 20:48 
GeneralRe: Read MS Access file Pin
Adeel Chaudhry18-Dec-07 20:59
Adeel Chaudhry18-Dec-07 20:59 
GeneralRe: Read MS Access file Pin
GuyThiebaut18-Dec-07 23:22
professionalGuyThiebaut18-Dec-07 23:22 
GeneralHelp me with Boo PLS Pin
Pooya Musavi18-Dec-07 20:28
Pooya Musavi18-Dec-07 20:28 
GeneralRe: Help me with Boo PLS Pin
Vasudevan Deepak Kumar18-Dec-07 20:47
Vasudevan Deepak Kumar18-Dec-07 20:47 
GeneralCheck box on windows service [modified] Pin
Prabhat00318-Dec-07 20:11
Prabhat00318-Dec-07 20:11 
GeneralRe: Check box on windows service Pin
Vasudevan Deepak Kumar18-Dec-07 20:49
Vasudevan Deepak Kumar18-Dec-07 20:49 
QuestionHow can i set shortcut of a Button press event? Pin
dipak.dipak18-Dec-07 19:02
dipak.dipak18-Dec-07 19:02 
GeneralRe: How can i set shortcut of a Button press event? Pin
Ajay.k_Singh18-Dec-07 19:22
Ajay.k_Singh18-Dec-07 19:22 
QuestionRe: How can i set shortcut of a Button press event? Pin
dipak.dipak18-Dec-07 19:41
dipak.dipak18-Dec-07 19:41 

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.