Discussion:
how to delete in sim contacts?
(too old to reply)
fren
2008-09-08 04:50:01 UTC
Permalink
hey, does anyone know how to delete all the contacts in sim card?
cause it seems that u can only delete the contacts in sim card one by one.
so i would like to delete the whole contacts in sim card. can tell me how?

thanks.
NeilH
2008-09-08 07:37:30 UTC
Permalink
Post by fren
hey, does anyone know how to delete all the contacts in sim card?
cause it seems that u can only delete the contacts in sim card one by one.
so i would like to delete the whole contacts in sim card. can tell me how?
thanks.
And you VB (Visual Basic) BUG is ?
PeterD
2008-09-08 12:37:56 UTC
Permalink
On Sun, 7 Sep 2008 21:50:01 -0700, fren
Post by fren
hey, does anyone know how to delete all the contacts in sim card?
cause it seems that u can only delete the contacts in sim card one by one.
so i would like to delete the whole contacts in sim card. can tell me how?
thanks.
What's a sim card? AFAIK, sim cards and VB6 don't mix...
Dean Earley
2008-09-08 13:27:44 UTC
Permalink
Post by fren
hey, does anyone know how to delete all the contacts in sim card?
cause it seems that u can only delete the contacts in sim card one by one.
so i would like to delete the whole contacts in sim card. can tell me how?
Use a For Next loop to delete each in turn.
--
Dean Earley (***@icode.co.uk)
i-Catcher Development Team

iCode Systems
PeterD
2008-09-08 23:09:07 UTC
Permalink
On Mon, 08 Sep 2008 14:27:44 +0100, Dean Earley
Post by Dean Earley
Post by fren
hey, does anyone know how to delete all the contacts in sim card?
cause it seems that u can only delete the contacts in sim card one by one.
so i would like to delete the whole contacts in sim card. can tell me how?
Use a For Next loop to delete each in turn.
Don't you think a Do...While would work too?
Dean Earley
2008-09-09 09:15:34 UTC
Permalink
Post by PeterD
On Mon, 08 Sep 2008 14:27:44 +0100, Dean Earley
Post by Dean Earley
Post by fren
hey, does anyone know how to delete all the contacts in sim card?
cause it seems that u can only delete the contacts in sim card one by one.
so i would like to delete the whole contacts in sim card. can tell me how?
Use a For Next loop to delete each in turn.
Don't you think a Do...While would work too?
Yes, as would Goto...

I seem to remember the mobile AT command set gave you a count and you
then accessed/deleted entries by index.
A For, Next loop is best suited for this kind of operation.
(maybe counting backwards, depending on whether it renumbers as you
delete them)
--
Dean Earley (***@icode.co.uk)
i-Catcher Development Team

iCode Systems
Ralph
2008-09-09 12:56:06 UTC
Permalink
Post by Dean Earley
Post by PeterD
On Mon, 08 Sep 2008 14:27:44 +0100, Dean Earley
Post by Dean Earley
Post by fren
hey, does anyone know how to delete all the contacts in sim card?
cause it seems that u can only delete the contacts in sim card one by one.
so i would like to delete the whole contacts in sim card. can tell me how?
Use a For Next loop to delete each in turn.
Don't you think a Do...While would work too?
Yes, as would Goto...
I seem to remember the mobile AT command set gave you a count and you
then accessed/deleted entries by index.
A For, Next loop is best suited for this kind of operation.
(maybe counting backwards, depending on whether it renumbers as you
delete them)
A microwave oven works well too. It will delete all contacts in a flash, no
count or loop needed.

-ralph

Loading...