A very small VB question

Ολοκληρωμένο Αναρτήθηκε Jun 24, 2004 Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

We are facing a small problem in VB might be any of you have its solution with you .

In one of our program we are using "Listview" to select certain things and we also have a delete button which deletes the selected items which we don't want to use.

With each item a value is also present hiddenly in it in messages and messageid array

Now let us suppose this case that there are 7 items in this list view and if someone chooses 3 items and press the delete button it should delete only those 3 items but in our code it is deleting 3 items out of which 1 or 2 are wrong , here is our delete button code

Here lstEmails is the name of the listview

and ncount is the total number of items present in this list

Private Sub cmdClear_Click()

Dim RIDs As New Collection

For i = 1 To nCount

If [url removed, login to view](i).Checked Then

ChangeStatus "Deleting : " & i

' Performing some programming tasks here ..

[url removed, login to view] i

End If

DoEvents

Next

If [url removed, login to view] > 0 Then

For i = 1 To [url removed, login to view]

[url removed, login to view] ([url removed, login to view](i))

nCount = nCount - 1

'[url removed, login to view](j) = [url removed, login to view](j + 1)

'[url removed, login to view](j) = [url removed, login to view](j + 1)

'/*********The above 2 lines are also causing errors that's why I had commented it , messageids and messages contains the object values ********/

Next

End If

[url removed, login to view]

End sub

If we use the remove item option in the first for loop only then it causes error so it is necessary to delete it seperately

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

windows

Μηχανολογία MySQL PHP Αρχιτεκτονική Λογισμικού Δοκιμή Λογισμικού Visual Basic

Ταυτότητα Εργασίας: #3258333

Σχετικά με την εργασία

5 προτάσεις Απομακρυσμένη εργασία Ενεργό Jun 24, 2004

Ανατέθηκε στον:

lomeo

See private message.

$1 USD σε 1 μέρα
(1 Κριτική)
0.0

5 freelancers κάνουν προσφορές κατά μέσο όρο $4 για αυτή τη δουλειά

alinfaur

See private message.

$4.25 USD σε 1 μέρα
(163 Αξιολογήσεις)
5.9
sustainedhits

See private message.

$4.25 USD σε 1 μέρα
(150 Αξιολογήσεις)
5.6
omitsoft

See private message.

$4.25 USD σε 1 μέρα
(4 Αξιολογήσεις)
0.5
ababvw

See private message.

$4.25 USD σε 1 μέρα
(3 Αξιολογήσεις)
0.0