Re: how do i get string into.........

From: Shiva (shiva_sm_at_online.excite.com)
Date: 08/19/04


Date: Thu, 19 Aug 2004 18:12:52 +0530

cboCommand.Items.Add(szCommand(iCommand))

"Supra" <supra56@rogers.com> wrote in message
news:mR0Vc.1809004$Ar.1637085@twister01.bloor.is.net.cable.rogers.com...
how do i get string into combobox? i am working on irc chat similar to
mirc.

i put in declaration section:

 Dim szCommand() As String = {"ACTION", "JOIN", "PART", "QUIT",
"NOTICE", "KICK", "BAN", "INVITE", "TOPIC", "MODE", "AWAY", "CHAT",
"OTHER", "USER"}

and in sub new()

 For iCommand As Integer = 0 To szCommand.Length
                cboCommand.Items.Add(iCommand) ===> display 0 to 14
instead of string
            Next
end sub

regards



Relevant Pages

  • Project Error
    ... Private Declare Sub Sleep Lib "Kernel32" ... Dim strDataSrc As String ...
    (microsoft.public.vb.bugs)
  • Re: FTP CD command
    ... My code connects to a ftp site and the enumerates all content on that place ... Public Property UriAs String ... End Sub ... Dim listRequest As FtpWebRequest = CType, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: FTP CD command
    ... Private _Uri As String ... End Sub ... Dim listRequest As FtpWebRequest = CType, ... Public Sub UploadAsynch(ByVal fileName As String, ByVal uploadUrl As ...
    (microsoft.public.dotnet.languages.vb)
  • Re: FTP CD command
    ... i remember to have seen a socket level FTP ... Private _Uri As String ... End Sub ... Dim listRequest As FtpWebRequest = CType, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: FTP CD command
    ... Private _Uri As String ... Public Sub New(ByVal Uri As String, ... Dim listRequest As FtpWebRequest = CType, ... Public Sub UploadAsynch(ByVal fileName As String, ByVal uploadUrl As ...
    (microsoft.public.dotnet.languages.vb)