Click here to Skip to main content
15,888,089 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: problem related to listview Pin
nazimghori31-Mar-09 5:43
nazimghori31-Mar-09 5:43 
QuestionHelp for beginnner Pin
seccard129-Mar-09 7:45
seccard129-Mar-09 7:45 
AnswerRe: Help for beginnner Pin
Yusuf29-Mar-09 8:42
Yusuf29-Mar-09 8:42 
GeneralRe: Help for beginnner Pin
LloydA1114-Apr-09 13:02
LloydA1114-Apr-09 13:02 
QuestionProblem related to multiline textbox Pin
nazimghori28-Mar-09 21:28
nazimghori28-Mar-09 21:28 
AnswerRe: Problem related to multiline textbox Pin
Luc Pattyn28-Mar-09 22:33
sitebuilderLuc Pattyn28-Mar-09 22:33 
AnswerRe: Problem related to multiline textbox Pin
Eddy Vluggen28-Mar-09 22:45
professionalEddy Vluggen28-Mar-09 22:45 
QuestionRe: Problem related to multiline textbox Pin
nazimghori29-Mar-09 6:32
nazimghori29-Mar-09 6:32 
hi

the code u suggested works thank you very much...


but problem is that all the items are added to multiline textbox after i click save button..
for eg:-
if i tick on item 'a' of checklistbox and then click on save button that item appears in multiline textbox now suppose i again tick on item 'b' in checklistbox and than click save button at this item 'a' is again added to multiline text box so the outcome is 'a','a','b' which means repetation of 1st item this happens every time i click on save button...
my code is:-
Private Sub btnsave2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsave2.Click
        Try
            If Me.chklistbox.SelectedIndex = -1 Then
                MsgBox("nothing selected")
                Exit Sub

            End If
            Dim i, t As Integer
            t = Me.chklistbox.Items.Count
            For i = 0 To t - 1
                Me.txtpov.Text = Me.txtpov.Text & Me.chklistbox.CheckedItems(i) + ","
            Next
        Catch ex As Exception
            ex.ToString()
        End Try

    End Sub


please suggest what shall i do to clear multiline textbox before saving it...
Smile | :) Smile | :)
AnswerRe: Problem related to multiline textbox Pin
Eddy Vluggen29-Mar-09 6:40
professionalEddy Vluggen29-Mar-09 6:40 
QuestionRe: Problem related to multiline textbox Pin
nazimghori29-Mar-09 7:28
nazimghori29-Mar-09 7:28 
AnswerRe: Problem related to multiline textbox Pin
Eddy Vluggen29-Mar-09 7:33
professionalEddy Vluggen29-Mar-09 7:33 
AnswerRe: Problem related to multiline textbox Pin
Luc Pattyn29-Mar-09 6:55
sitebuilderLuc Pattyn29-Mar-09 6:55 
AnswerRe: Problem related to multiline textbox Pin
dineshrajputglobal29-Mar-09 22:55
dineshrajputglobal29-Mar-09 22:55 
QuestionUse { and & _ in string.Format Pin
mehrdadc4828-Mar-09 20:43
mehrdadc4828-Mar-09 20:43 
AnswerRe: Use { and & _ in string.Format Pin
Henry Minute28-Mar-09 23:43
Henry Minute28-Mar-09 23:43 
QuestionVisual Basic integration to SAP though RFC [modified] Pin
yog211228-Mar-09 7:33
yog211228-Mar-09 7:33 
AnswerRe: Visual Basic integration to SAP though RFC Pin
Dave Kreskowiak28-Mar-09 12:43
mveDave Kreskowiak28-Mar-09 12:43 
QuestionWHY MCISENDSTRING DOESN'T PLAY THE FILE? Pin
JUNEYT28-Mar-09 1:52
JUNEYT28-Mar-09 1:52 
AnswerRe: WHY MCISENDSTRING DOESN'T PLAY THE FILE? Pin
Alan N28-Mar-09 5:17
Alan N28-Mar-09 5:17 
GeneralRe: WHY MCISENDSTRING DOESN'T PLAY THE FILE? Pin
JUNEYT28-Mar-09 6:31
JUNEYT28-Mar-09 6:31 
GeneralRe: WHY MCISENDSTRING DOESN'T PLAY THE FILE? Pin
Alan N28-Mar-09 7:06
Alan N28-Mar-09 7:06 
GeneralRe: WHY MCISENDSTRING DOESN'T PLAY THE FILE? Pin
JUNEYT28-Mar-09 21:54
JUNEYT28-Mar-09 21:54 
GeneralRe: WHY MCISENDSTRING DOESN'T PLAY THE FILE? Pin
Alan N28-Mar-09 22:41
Alan N28-Mar-09 22:41 
GeneralRe: WHY MCISENDSTRING DOESN'T PLAY THE FILE? Pin
Eddy Vluggen28-Mar-09 23:48
professionalEddy Vluggen28-Mar-09 23:48 
QuestionQuestion about .dll in VB.NET Pin
Xavious27-Mar-09 17:12
Xavious27-Mar-09 17:12 

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.