CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2003
    Posts
    8

    Question Removed

    Thanks!
    Last edited by qri; April 17th, 2003 at 05:31 PM.

  2. #2
    Join Date
    Feb 2003
    Location
    Oakland, CA
    Posts
    29
    At first glance, your code appears to have only one argument for the Option constructor. It needs to have two arguments, value and text.

    Also, I would create the string first and then pass THAT to the constructor. You may be running into trouble because you're trying to build the string right there in the call to the constructor.

    Lastly, I'd use single quotes instead of the escaped double quote. It may be that the Microsoft implementation of the Option constructor is choking on those extra double quotes for some reason.

    Nate Grover
    http://www.nategrover.com
    Nate Grover
    http://www.nategrover.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured