Click here to Skip to main content
15,895,084 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Help with array code Pin
FrankyT4-Apr-06 13:57
FrankyT4-Apr-06 13:57 
GeneralRe: Help with array code Pin
Solid Snake5-Apr-06 6:56
Solid Snake5-Apr-06 6:56 
Questionvb to vb.net Pin
machman13-Apr-06 13:08
machman13-Apr-06 13:08 
AnswerRe: vb to vb.net Pin
Christian Graus3-Apr-06 15:06
protectorChristian Graus3-Apr-06 15:06 
AnswerRe: vb to vb.net Pin
Chatura Dilan3-Apr-06 15:16
Chatura Dilan3-Apr-06 15:16 
QuestionDatagrid - Reload data - Timer? Pin
NewbieDave3-Apr-06 11:36
NewbieDave3-Apr-06 11:36 
AnswerRe: Datagrid - Reload data - Timer? Pin
Christian Graus3-Apr-06 15:37
protectorChristian Graus3-Apr-06 15:37 
Questionarray with listview Pin
calmeat3-Apr-06 9:16
calmeat3-Apr-06 9:16 
Ok so here is my problem,
I am creating a data migration prog for my company and at the end I am giving them an option to copy over files based on file extension(mainly for developers with jar files and numerous others) Right now My form has a text box and a list view with an add button. A person would type in a file extension and click add which adds the extension into the listview box.

The quesion is, is there anyway to make/get the array for the extensions in the listview. I did some reading and it seems that only if the items in the listview are selected will I be able to get an array from it, is there way in code to select all items in the listview?

Here is some of my code.
Private Sub btnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStart.Click
Dim myArray, myArray2, i, TestText
myArray = lstExt.Items
MsgBox(myArray(0))

For i = 0 To UBound(myArray)
If i = 0 Then
TestText = myArray(i)
Else
TestText = "*." & TestText & " " & myArray(i)
End If
Next
MsgBox(TestText)
End Sub

Thanks

Bob
QuestionTCPListener.socket closes on send Pin
Bertymas3-Apr-06 8:25
Bertymas3-Apr-06 8:25 
Questionaspx web pages.......... Pin
daviiie3-Apr-06 7:40
daviiie3-Apr-06 7:40 
AnswerRe: aspx web pages.......... Pin
daviiie3-Apr-06 8:09
daviiie3-Apr-06 8:09 
GeneralRe: aspx web pages.......... Pin
simonwhale3-Apr-06 10:36
simonwhale3-Apr-06 10:36 
GeneralRe: aspx web pages.......... Pin
daviiie3-Apr-06 10:40
daviiie3-Apr-06 10:40 
GeneralRe: aspx web pages.......... Pin
machman13-Apr-06 14:29
machman13-Apr-06 14:29 
GeneralRe: aspx web pages.......... Pin
FrankyT5-Apr-06 13:52
FrankyT5-Apr-06 13:52 
QuestionConverting international date formats Pin
Jeanne Dixon3-Apr-06 6:52
Jeanne Dixon3-Apr-06 6:52 
Questionregister ocx at .net 2003 Pin
SVb.net3-Apr-06 5:55
SVb.net3-Apr-06 5:55 
AnswerRe: register ocx at .net 2003 Pin
FrankyT5-Apr-06 13:42
FrankyT5-Apr-06 13:42 
Questionregister ocx at .net 2003 Pin
SVb.net3-Apr-06 5:54
SVb.net3-Apr-06 5:54 
Questionregister ocx at .net 2003 Pin
SVb.net3-Apr-06 5:52
SVb.net3-Apr-06 5:52 
Questionocx Pin
SVb.net3-Apr-06 5:11
SVb.net3-Apr-06 5:11 
QuestionHow do I capture my network userid and display it on a form? Pin
Rashar3-Apr-06 4:03
Rashar3-Apr-06 4:03 
AnswerRe: How do I capture my network userid and display it on a form? Pin
KreativeKai3-Apr-06 5:27
professionalKreativeKai3-Apr-06 5:27 
GeneralRe: How do I capture my network userid and display it on a form? Pin
Rashar3-Apr-06 5:52
Rashar3-Apr-06 5:52 
GeneralRe: How do I capture my network userid and display it on a form? Pin
KreativeKai4-Apr-06 8:28
professionalKreativeKai4-Apr-06 8:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.