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

C#

 
GeneralRe: How do I give my c# app access to eventlog? Pin
Greg Ellis16-Oct-07 6:06
Greg Ellis16-Oct-07 6:06 
GeneralRe: How do I give my c# app access to eventlog? Pin
led mike16-Oct-07 6:16
led mike16-Oct-07 6:16 
QuestionConverting hexadecimal to string Pin
Exelioindia16-Oct-07 4:36
Exelioindia16-Oct-07 4:36 
AnswerRe: Converting hexadecimal to string Pin
Sandeep Kumar16-Oct-07 4:53
Sandeep Kumar16-Oct-07 4:53 
AnswerRe: Converting hexadecimal to string Pin
led mike16-Oct-07 4:58
led mike16-Oct-07 4:58 
AnswerRe: Converting hexadecimal to string Pin
Pete O'Hanlon16-Oct-07 5:05
mvePete O'Hanlon16-Oct-07 5:05 
QuestionDatabinding and List Pin
shark154616-Oct-07 4:22
shark154616-Oct-07 4:22 
QuestionRegex problem [modified] Pin
laserbaronen16-Oct-07 4:17
laserbaronen16-Oct-07 4:17 
Hi guys, im new here.. I've got a problem with a regular expression i am trying to make!
I want to match all '{' or '}' characters, that are <b>not</b> alone on a row.
There are, as always, an exception: there can be two brackets though, if there is one or less instructions between them.


### The following are examples that should not match with the regex:

<code>string myStr = new string { "Hi", "!" };

string myStr = new string {
"Hi", "!" };

int myProperty
{
get { return myInt; }
set { myInt = value; }
}</code>

### the following are examples that should match:
<code>public class myClass {

internal int MyMethod(int input){

public int myProperty { // <- this line
get { log(DateTime.Now); return myInt; } // <- this line too</code>
etc... Hopefully you get what I am trying to do ^^

Anyways, this is what i have got now
<code>(?mFrown | :( Frown | :( <!^\s*?)[{}])|(?:[{}](?!\s*?$)))</code>
which only matches the ones that are not alone on a row, please help me! ^^


fafafa, ringakta icke sådant som bringa ack så naggande högönsklig välmåga å baronens ära.
AnswerRe: Regex problem Pin
snorkie16-Oct-07 4:57
professionalsnorkie16-Oct-07 4:57 
GeneralRe: Regex problem Pin
laserbaronen16-Oct-07 5:29
laserbaronen16-Oct-07 5:29 
QuestionConsole.KeyAvailable not working for me Pin
indiie16-Oct-07 4:11
indiie16-Oct-07 4:11 
AnswerRe: Console.KeyAvailable not working for me Pin
laserbaronen16-Oct-07 4:27
laserbaronen16-Oct-07 4:27 
QuestionConversion error Pin
Exelioindia16-Oct-07 3:48
Exelioindia16-Oct-07 3:48 
AnswerRe: Conversion error Pin
Andrei Ungureanu16-Oct-07 4:08
Andrei Ungureanu16-Oct-07 4:08 
AnswerRe: Conversion error Pin
Hesham Amin16-Oct-07 4:11
Hesham Amin16-Oct-07 4:11 
Questionmemory stream to pdf writer Pin
k.philip16-Oct-07 3:31
k.philip16-Oct-07 3:31 
Question[Message Deleted] [modified] Pin
But_Im_a_Lady16-Oct-07 3:28
But_Im_a_Lady16-Oct-07 3:28 
AnswerRe: add a JS Function to a dynamic table created using c# Pin
Andrei Ungureanu16-Oct-07 4:02
Andrei Ungureanu16-Oct-07 4:02 
AnswerRe: add a JS Function to a dynamic table created using c# Pin
Dave Kreskowiak16-Oct-07 4:16
mveDave Kreskowiak16-Oct-07 4:16 
QuestionDTS - Data Transformation Services Pin
mihksoft16-Oct-07 2:26
mihksoft16-Oct-07 2:26 
AnswerRe: DTS - Data Transformation Services Pin
leppie16-Oct-07 2:35
leppie16-Oct-07 2:35 
QuestionGnerate Typed Dataset at runtime Pin
DotNetWWW16-Oct-07 2:02
DotNetWWW16-Oct-07 2:02 
AnswerRe: Gnerate Typed Dataset at runtime Pin
leppie16-Oct-07 2:30
leppie16-Oct-07 2:30 
QuestionEmpty rows get loaded while Parsing CSV Pin
jebin k16-Oct-07 1:57
jebin k16-Oct-07 1:57 
AnswerRe: Empty rows get loaded while Parsing CSV Pin
leppie16-Oct-07 2:33
leppie16-Oct-07 2:33 

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.