assigning the property values in class file using variable

Discussion in 'Microsoft Certification' started by Avi, Dec 11, 2006.

  1. Avi

    Avi Guest

    Hi

    I am creating web application in which i want to assign by
    default values to the property which i had created my own. In that one
    of the property is of type color and i am unable to assign any value to
    that color type property..

    my code is

    Dim Col1Color as String

    vartable="------"
    vartable&= TDCOLOR1

    i got error:- & operator not defined for System.Object and
    syste.Drawing.Color

    plz help me out

    Thanks in advance
     
    Avi, Dec 11, 2006
    #1
    1. Advertising

  2. Avi

    Cerebrus Guest

    Avi wrote:

    1. What makes you think that microsoft.public.certification is the
    right newsgroup to ask this sort of question ?

    2. You have not bothered to specify the technology you are working in.
    Do you know how many programming languages are in use today ? Now, I
    can make an informed guess that this is VB.NET or VB 2005 you're
    talking about, but then why should I make the effort to guess.

    3. You have not specified the .NET framework version we're dealing with
    here.

    4. Glancing at your code gives me no idea about what the variables
    "vartable" and TDCOLOR1 represent, and what type of object they are.

    Due to the above reasons, I am unable to help you out, but I can give
    you one very useful (to you, in particular) link :

    <http://tinyurl.com/anel>

    HTH, HAND...
    ----------
    Cerebrus.
    MCNGP #LIV (LIVewire ! Please hug !)

    Join the fight against Br@indumps
    http://www.certguard.com/forums/
     
    Cerebrus, Dec 12, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jonnah
    Replies:
    5
    Views:
    926
    Walter Roberson
    May 19, 2004
  2. Marc Wossner

    Raw values and exposure values

    Marc Wossner, Jun 19, 2008, in forum: Digital Photography
    Replies:
    0
    Views:
    355
    Marc Wossner
    Jun 19, 2008
  3. amrutha0303
    Replies:
    0
    Views:
    994
    amrutha0303
    Aug 3, 2010
  4. Rachana

    How to attach fixed set of values to PROPERTY?

    Rachana, Nov 2, 2010, in forum: Computer Support
    Replies:
    8
    Views:
    517
    Desk Rabbit
    Nov 4, 2010
  5. TonyDyer

    <value> could not be set on property <property name>

    TonyDyer, Feb 14, 2012, in forum: General Computer Support
    Replies:
    0
    Views:
    962
    TonyDyer
    Feb 14, 2012
Loading...

Share This Page