Visual Basic

free web hosting
Open Discussion > CONTRIBUTE > The Internet > Web Design

Visual Basic

ppj
ok i have a pice of code that loads an IP and a discription to a list box from a text file and nomaly it should load the full ip (like 23.435.12.34) but instead it will load 23.435 can anyone help here the code
Code:

Private Sub Form_Load()
Open App.Path & "\config.txt" For Input As #1
Dim stra As String
Input #1, stra
txtPath.Text = stra
Dim fora As Integer
Input #1, DICount
If DICount = 1 Then
Input #1, IPs(1)
Input #1, Descs(1)
lstServer.AddItem IPs(1) & " -" & Descs(1) & "-"
Else
For fora = 1 To DICount
Input #1, IPs(fora)
Input #1, Descs(fora)
lstServer.AddItem IPs(fora) & " -" & Descs(fora) & "-"
Next fora
End If
Close #1
'DICount = 0
End Sub

Reply

Raptrex
make the list box wider

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.


*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for visual, basic

*MORE FROM TRAP17.COM*
advertisement



Visual Basic



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE