16,016,643 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 10791395 (Top 26 by date)
Member 10791395
13-Sep-14 0:28am
View
wow, thanks a lot sir,
but there still a problem
it has "-" in the first number..
it should be like this 9-2-3-1
not like this -9-2-3-1
im just new here in the web,
and im still studying vb.net,
Member 10791395
13-Sep-14 0:03am
View
im sorrry sir, im just a new here in website,
will you help me on this sir please..
Member 10791395
13-Sep-14 0:02am
View
im sorrry sir, im just a new here in website,
will you help me on this sir please..
Member 10791395
12-Sep-14 23:01pm
View
ALL I WANTED IS THIS, BEACOUSE IM GONNA USE IT FOR NUMBERS
listbox
1
3
5
7
10
to this...
textbox
1-3-5-7-10
Member 10791395
12-Sep-14 5:07am
View
i dont know how to do that,
will you help me on this plss.
Member 10791395
11-Sep-14 22:20pm
View
Deleted
sir i just wanted 1 columnheader only.
resizingListView2.AutoResizeColumns(ColumnHeaderAutoResizeStyle.HeaderSize)
what should i do?
Member 10791395
11-Sep-14 21:55pm
View
never mind, i got it.
thanks
Member 10791395
11-Sep-14 21:45pm
View
cant understand how it works,
will you help me on this sir?
Member 10791395
11-Sep-14 5:55am
View
wow, thank you so much..
Member 10791395
11-Sep-14 5:32am
View
the first number is missing..
Member 10791395
11-Sep-14 2:57am
View
hi sir,
i have another one question again. what is the code for the opposite of it?
testbox2
1-4-5-7-9
to this....
listbox2
1
4
5
7
9
i hope you can help me at this sir,.
thank you.
Member 10791395
10-Sep-14 23:54pm
View
Deleted
hi sir,
i have another one question again. what is the code for the opposite of it?
testbox2
1-4-5-7-9
to this....
listbox2
1
4
5
7
9
thank you,
Member 10791395
9-Sep-14 6:03am
View
wow, it works.
thank you again sir for taking my time. i really appreciate it.
Member 10791395
9-Sep-14 5:30am
View
its error sir,
For k As Integer = 1 To (Convert.ToInt32(textBox1.Text)) <-- Input string was not in a correct format.
listBox2.Items.Add(k)
Next
For i As Integer = 0 To listBox2.Items.Count - 1
x += "-" + listBox2.Items(i)
Next
x = x.Remove(0, 1)
textBox1.Text = x
Member 10791395
9-Sep-14 5:24am
View
my mistake sir, what i meant is if i put a number on txtalp (ex. 7) then it should appear on the textbox1 like this 1-2-3-4-5-6-7. i have no problem on the listbox2 sir but im just hoping that i can use it to.
Member 10791395
9-Sep-14 4:00am
View
this is where the listbox items came from
For i As Integer = 1 To Val(txtalp.Text)
ListBox2.Items.Add(i)
Next
Private Sub Button3_<div style="display: inline-block; width: auto; height: auto; text-decoration: underline; border-bottom-width: 1px; border-bottom-style: solid; padding-bottom: 1px; color: rgb(243, 91, 0); cursor: pointer;" data-kw="click" data-cid="4492">Click</div>(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
ListBox2.DataSource = (txtalp.Text).ToList()
Dim x As String = String.Empty
For o As Integer = 0 To ListBox2.Items.Count - 1
x += "-" + ListBox2.Items(o)
Next
x = x.Remove(0, 1)
TextBox1.Text = x
End Sub
End Class
but its working in this way,,
listbox2
22
textbox1.text
2-2
it should be
listbox2
1
2
3
4
5
6
.
.
.
22
textboxt1.text
1-2-3-4-5-6.......-22
Member 10791395
9-Sep-14 3:03am
View
sir last question,
why is this not working?
ListBox2.DataSource = Val(txtalp.Text)
Dim x As String = String.Empty
For o As Integer = 0 To ListBox2.Items.Count - 1
x += "-" + ListBox2.Items(o)
Next
x = x.Remove(0, 1)
TextBox1.Text = x
Member 10791395
8-Sep-14 2:37am
View
wow, thank you sir. your code is right!
Member 10791395
8-Sep-14 2:17am
View
sir this is the listbox item came from.
For i As Integer = 1 To Val(textbox1)
ListBox1.Items.Add(i)
Next
Member 10791395
8-Sep-14 2:01am
View
sir im using vb.net
Member 10791395
8-Sep-14 1:57am
View
i want to put the list box items in textbox
listbox
1
2
3
4
5
6
7
to this...
textbox
1-2-3-4-5-6-7
its vb.net.
thank you,
Member 10791395
5-Sep-14 4:08am
View
thanks you sir,
i heard about it , but i dont know how to do it,
Member 10791395
4-Sep-14 3:23am
View
Deleted
DisplayList()
rs = New ADODB.Recordset
With rs
.Open("SELECT * FROM tblclient2 join tbllocation on Number = ID and expiration = '" & Label4.Text & "' and status = '" & "not expired" & "'", cn, 2, 3)
Do While Not .EOF
.Fields("status").Value = "expired"
Label13.Text = .Fields("quantity").Value
Label12.Text = .Fields("NUMBER").Value
.Fields("avai_unit").Value = .Fields("avai_unit").Value + .Fields("quantity").Value
.Update()
.MoveNext()
Loop
.Close()
End With
DisplayList()
Member 10791395
4-Sep-14 2:01am
View
sir its Syntax error in FROM clause.
Member 10791395
3-Sep-14 23:55pm
View
this is the table i have,
and i want to select the ID = NUMBER where the number expiration = label4.text and status = not expired.
im using vb.net and MS access for table.
tblclient2
NUMBER
clients
location
quantity
installation
expiration
size
status
tbllocation
ID
location
no_unit
avai_unit
thank you,
Member 10791395
3-Sep-14 23:54pm
View
this is the table i have,
and i want to select the ID = NUMBER where the number expiration = label4.text and status = not expired.
im using vb.net and MS access for table.
tblclient2
NUMBER
clients
location
quantity
installation
expiration
size
status
tbllocation
ID
location
no_unit
avai_unit
thank you,
Show More