Results 1 to 8 of 8

Thread: Putting A to Z in a Combo Box

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    Putting A to Z in a Combo Box

    I want to put A to Z in a Combo Box in VB 6, What is the short way except
    Combo1.AddItem A
    ...
    ...
    ...
    Please help me

  2. #2

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    Re: Putting A to Z in a Combo Box

    Thank you

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    Re: Putting A to Z in a Combo Box

    Why we use % in variable
    like Dim i%

  5. #5
    New Member
    Join Date
    Nov 2006
    Posts
    7

    Re: Putting A to Z in a Combo Box

    % ensures that the variable is integer.
    its same as saying
    Dim i as integer

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    Re: Putting A to Z in a Combo Box

    hmm.. Thanks, if we want to use String Variable the what should we use ?

  7. #7
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: Putting A to Z in a Combo Box

    VB Code:
    1. Dim a$ 'String
    2. MsgBox TypeName(a) 'Just to be sure

  8. #8

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