Recent content by blumonde

  1. B

    How do we force the combobox to do the dropdown upon entry

    Thank you for your help. blumonde
  2. B

    How do we create an accessor method

    You were doing great. don't worry about it. Thanks for the info again. I hope you are working for CodeGuru too.
  3. B

    How do we create an accessor method

    Thanks for the info, JM. blumonde
  4. B

    How do we create an accessor method

    JM, is there a way to modify my code, change the enum variables to not constant so that they will accept string values? What should it be like in order for it to become flexible and let me assign string values to it? Please show me a way. Thanks. blumonde
  5. B

    How do we create an accessor method

    JM, would you please tell me what is wrong with my code below and how to fix the error "The left-hand side of an assignment must be a variable, property or indexer" when I assign a value to the line below. :confused: Many thanks. blumonde...
  6. B

    How do we create an accessor method

    Sorry, my mistake. I changed it back to "Showme" and I got an error below: Class1.cs(46): The type or namespace name 'intShowme' could not be found (are you missing a using directive or an assembly reference?)
  7. B

    How do we create an accessor method

    JM, below is JB's original VB code. After I converted it to C#. I didn't change any name. I only moved the enum to outside of the class just as I posted before this one. Could you please show me a quick small sample code of how you would do it( with classes and stuff)? It is more clear to me...
  8. B

    How do we create an accessor method

    I changed it as below but still couldn't get it right. What should it be like? blumonde namespace n1 { public enum intShowMe { S1 = 0, S2 = 1, S3 = 2 } public class Let1 { private ShowMe intShowMe; public ShowMe ShowMe { get { return intShowMe; } set { intShowMe = Value; }...
  9. B

    How do we create an accessor method

    JM, Below is what I have. Could you please show me how to exclude the name? I tried but didn't get it right. Thanks. namespace n1 { public class Let1 { public enum intShowMe { S1 = 0, S2 = 1, S3 = 2 } private ShowMe intShowMe; public ShowMe ShowMe { get { return intShowMe; }...
  10. B

    How do we create an accessor method

    JM, after converting JB's code from VB to C#, I got an error when trying to build the class. The C# version is below: public enum ShowMe { S1 = 0, S2 = 1, S3 = 2 } private ShowMe intShowMe; public ShowMe ShowMe { get { return intShowMe; } set { intShowMe = Value; }...
  11. B

    How do we create an accessor method

    Thanks for the converter. I tried to convert it myself but couldn't get it right. Thanks again JM. blumonde
  12. B

    How do we create an accessor method

    Hi JM, Ltnt. I understand you are also an expert in C#. Could you please show me how I can create an accessor method for the enum below: private enum m_Status { S1, S2, S3 }; Regards, blumonde
  13. B

    How do we create an accessor method

    Well done. Thank you JB. I appreciate it a lot. Sorry JM. I was tired and sleepy. I overlooked. Thanks.
  14. B

    How do we create an accessor method

    Gentlemen, How do we create an accessor method for enumeration variables? A quick example, (I understand there are syntax errors below but that is not important) ********************************** public enum Showme s1=0 s2=0 s3=0 end enum public enum Showme get ? set ? end sub...
  15. B

    A skeleton

    Thank you gentlemen. Your code helped me tremendously. I appreciate it a lot. blumonde
Top Bottom