Click here to Skip to main content
15,899,474 members
Home / Discussions / C#
   

C#

 
GeneralRe: Invoking a Win32 DLL from C# Pin
Heath Stewart4-Aug-04 5:04
protectorHeath Stewart4-Aug-04 5:04 
Questionhow do i pass null to dateTime variable Pin
robmays29-Jul-04 22:56
robmays29-Jul-04 22:56 
AnswerRe: how do i pass null to dateTime variable Pin
Ryan Roberts30-Jul-04 0:15
Ryan Roberts30-Jul-04 0:15 
GeneralRe: how do i pass null to dateTime variable Pin
robmays30-Jul-04 0:17
robmays30-Jul-04 0:17 
QuestionHow to passing parameters from eVC++ to a running C# program? Pin
ting66829-Jul-04 22:40
ting66829-Jul-04 22:40 
AnswerRe: How to passing parameters from eVC++ to a running C# program? Pin
Heath Stewart30-Jul-04 5:40
protectorHeath Stewart30-Jul-04 5:40 
Questionmatching regex at exact index? Pin
Roger Alsing29-Jul-04 21:44
Roger Alsing29-Jul-04 21:44 
AnswerRe: matching regex at exact index? Pin
Heath Stewart30-Jul-04 4:55
protectorHeath Stewart30-Jul-04 4:55 
You can't match only at index 4 with a search result of 3+ length. That doesn't even make sense. Yes, the match starts at index 4, but is not limited to only index 4.

There is a Match(string, int, int) method that may help if you have some idea of a maximum length of a hex number (depending on the bit-length of the numeric type you're checking for.

You might also consider not using regular expressions for this very simple search. The String class has many methods that can help you parse this string that would be much faster, especially if you're not compiling the regular expression (thus it must be compiled each time it's used - very slow comparitively).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: matching regex at exact index? Pin
Roger Alsing30-Jul-04 5:14
Roger Alsing30-Jul-04 5:14 
GeneralRe: matching regex at exact index? Pin
Roger Alsing1-Aug-04 7:25
Roger Alsing1-Aug-04 7:25 
Generalspitter problem Pin
samithas29-Jul-04 19:30
samithas29-Jul-04 19:30 
GeneralRe: spitter problem Pin
Heath Stewart30-Jul-04 4:51
protectorHeath Stewart30-Jul-04 4:51 
GeneralUsing Interop.Outlook problem (Windows Services) Pin
enchanted29-Jul-04 18:37
enchanted29-Jul-04 18:37 
GeneralRe: Using Interop.Outlook problem (Windows Services) Pin
Heath Stewart30-Jul-04 4:41
protectorHeath Stewart30-Jul-04 4:41 
QuestionHas anybody used the control "MagicLibrary" supplied by codeproject? Pin
ILoveCS29-Jul-04 17:41
ILoveCS29-Jul-04 17:41 
AnswerRe: Has anybody used the control "MagicLibrary" supplied by codeproject? Pin
Colin Angus Mackay29-Jul-04 22:42
Colin Angus Mackay29-Jul-04 22:42 
GeneralRe: Has anybody used the control "MagicLibrary" supplied by codeproject? Pin
ILoveCS1-Aug-04 15:36
ILoveCS1-Aug-04 15:36 
GeneralRe: Has anybody used the control "MagicLibrary" supplied by codeproject? Pin
Colin Angus Mackay1-Aug-04 20:12
Colin Angus Mackay1-Aug-04 20:12 
QuestionHow can I get Web Client IP address Pin
stevenhe29-Jul-04 15:23
stevenhe29-Jul-04 15:23 
AnswerRe: How can I get Web Client IP address Pin
Andy Brummer29-Jul-04 15:44
sitebuilderAndy Brummer29-Jul-04 15:44 
GeneralRe: How can I get Web Client IP address Pin
stevenhe29-Jul-04 16:02
stevenhe29-Jul-04 16:02 
GeneralWM_NCLBUTTONUP Pin
Guinness4Strength29-Jul-04 12:34
Guinness4Strength29-Jul-04 12:34 
GeneralRe: WM_NCLBUTTONUP Pin
Nick Parker29-Jul-04 17:38
protectorNick Parker29-Jul-04 17:38 
GeneralRe: WM_NCLBUTTONUP Pin
Guinness4Strength30-Jul-04 3:29
Guinness4Strength30-Jul-04 3:29 
GeneralRe: WM_NCLBUTTONUP Pin
Heath Stewart30-Jul-04 4:37
protectorHeath Stewart30-Jul-04 4:37 

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.