Search results for query: *

  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
  16. B

    A skeleton

    Happy New Year to all, Could someone please show me a skeleton of code on how to write a DLL file where its tasks are to open a file to extract the data and then creates an object of the obtained data and passes it on to an application? Please advise, Thanks. blumonde
  17. B

    No folder created on start/menu

    Thank you Sir. Mission accomplished :D blumonde P.S. There is one other thing. Do you know how to force the setup to overwrite the previous installed version? When I do reinstall, setup.exe forces me to uninstall the previous version first.
  18. B

    Hey, I'm the new guy.

    It is quite simple. After you add a deployment project to your existing solution, there will be a folder called "Application". In this folder, you can add dll files to your output item. I would create a subfolder under the output item and place all dll files in it. Go through the MSDN and do a...
  19. B

    No folder created on start/menu

    I only set it up to have a shortcut created on the user's desktop. No start menu shortcuts. I don't know why the installation process won't create the application folder on the programs menu. blumonde
  20. B

    How do we skip the uninstall step

    Actually, I am using windows 2000 professional. So, is there a way to configure vb.net deployment to overwrite the old version? Cheers
Back
Top