Click here to Skip to main content
15,889,315 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using Process Start Pin
TheJudeDude14-Sep-07 11:21
TheJudeDude14-Sep-07 11:21 
GeneralRe: Using Process Start Pin
Giorgi Dalakishvili14-Sep-07 11:30
mentorGiorgi Dalakishvili14-Sep-07 11:30 
GeneralRe: Using Process Start Pin
TheJudeDude14-Sep-07 14:39
TheJudeDude14-Sep-07 14:39 
GeneralRe: Using Process Start Pin
Giorgi Dalakishvili14-Sep-07 22:53
mentorGiorgi Dalakishvili14-Sep-07 22:53 
Questionhow to playBack streaming video ? Pin
hdv21214-Sep-07 9:18
hdv21214-Sep-07 9:18 
AnswerRe: how to playBack streaming video ? Pin
Dave Kreskowiak14-Sep-07 9:27
mveDave Kreskowiak14-Sep-07 9:27 
GeneralRe: how to playBack streaming video ? Pin
hdv21214-Sep-07 11:15
hdv21214-Sep-07 11:15 
QuestionBreak Points in my Custom Attribute class Pin
Sha Sea14-Sep-07 7:26
Sha Sea14-Sep-07 7:26 
Hi,
Im using Visual Studio 2005 and .Net 3.0. I wanted to apply Break Points in my Custom Attribute class. I and my falla both used number of sample code but code is not executing Custom class nor break points work.

Here is someone sample code. Im not able to apply Break point.
Can anyone knows the answer?

<br />
namespace RegKeyAttributeTestor<br />
{<br />
   [AttributeUsage(AttributeTargets.Method|AttributeTargets.Struct,<br />
                   AllowMultiple=false,Inherited=false)]<br />
   public class MyAttribute:Attribute<br />
   {<br />
      private string regKey="a12nf";<br />
      public MyAttribute(string regKey)<br />
      {<br />
         if(this.regKey==regKey)<br />
         {<br />
            Console.WriteLine("Permitted to use this App");<br />
         }<br />
         else<br />
         {<br />
            Console.WriteLine("Not registered to use this App");<br />
         }<br />
      }<br />
   }    //End Attribute class code<br />
   class useAttrib<br />
   {<br />
      [MyAttribute("hello")]<br />
      public static string SayHello(string str)<br />
      {<br />
         return str;<br />
      }<br />
      static void Main()<br />
      {<br />
         Console.WriteLine(SayHello("Hello to Sufyan"));<br />
         Console.ReadLine();<br />
      }<br />
   }<br />
<br />
}<br />


Thanks ,
sha
AnswerRe: Break Points in my Custom Attribute class Pin
Nathan Holt at EMOM14-Sep-07 10:56
Nathan Holt at EMOM14-Sep-07 10:56 
GeneralRe: Break Points in my Custom Attribute class Pin
Sha Sea14-Sep-07 11:33
Sha Sea14-Sep-07 11:33 
GeneralRe: Break Points in my Custom Attribute class Pin
Nathan Holt at EMOM14-Sep-07 12:17
Nathan Holt at EMOM14-Sep-07 12:17 
QuestionForce file delete Pin
jmaalouly14-Sep-07 5:42
jmaalouly14-Sep-07 5:42 
AnswerRe: Force file delete Pin
Giorgi Dalakishvili14-Sep-07 6:35
mentorGiorgi Dalakishvili14-Sep-07 6:35 
AnswerRe: Force file delete Pin
Dave Kreskowiak14-Sep-07 8:10
mveDave Kreskowiak14-Sep-07 8:10 
GeneralRe: Force file delete Pin
Paul Conrad14-Sep-07 18:56
professionalPaul Conrad14-Sep-07 18:56 
QuestionRemoting [modified] Pin
pdoy070814-Sep-07 5:19
pdoy070814-Sep-07 5:19 
QuestionWrite the Help (F1) [modified] Pin
JoZ CaVaLLo14-Sep-07 4:36
JoZ CaVaLLo14-Sep-07 4:36 
AnswerRe: Write the Help (F1) Pin
Pete O'Hanlon14-Sep-07 10:43
mvePete O'Hanlon14-Sep-07 10:43 
QuestionDelete selected rowes in a listview from .txt file Pin
andredani14-Sep-07 3:55
andredani14-Sep-07 3:55 
AnswerRe: Delete selected rowes in a listview from .txt file Pin
led mike14-Sep-07 4:56
led mike14-Sep-07 4:56 
QuestionResource Extraction Pin
Opa Knack14-Sep-07 3:44
Opa Knack14-Sep-07 3:44 
AnswerRe: Resource Extraction Pin
Giorgi Dalakishvili14-Sep-07 4:08
mentorGiorgi Dalakishvili14-Sep-07 4:08 
GeneralRe: Resource Extraction Pin
Opa Knack14-Sep-07 6:56
Opa Knack14-Sep-07 6:56 
GeneralRe: Resource Extraction Pin
Giorgi Dalakishvili14-Sep-07 7:19
mentorGiorgi Dalakishvili14-Sep-07 7:19 
GeneralRe: Resource Extraction Pin
Opa Knack15-Sep-07 1:09
Opa Knack15-Sep-07 1:09 

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.