Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ascii-problem

0 views
Skip to first unread message

pm0r...@skovde.aventus.nu

unread,
Sep 1, 2000, 3:47:07 AM9/1/00
to
Hi guys,,

I have a problem with a program, for what is a kind of adress-book
where the database is an MDB-file and the graphical interface that im
writing in VB..

Here in Sweden, the Alphabet is from "A" To "Ö".
Not like the American-English, wich is from "A" To "Z"

Im, populating a TreeWiew, which is based from
the "LastnameID" where each Node is the first letter in "Lastname"
???????????????????????????????????????????????
How do i do, this with "A" to "Ö" (uppercase)
without recieving those other stupid characters??

Here is a part from the working English code:
----------------------------------------
For indx = Asc("A") To Asc("Z")
currentAlpha = Chr(indx)

Set contactNode = tvContact.Nodes.Add _
(, , currentAlpha, currentAlpha)
----------------------------------------


I vould be verry happy, if i could get an answer..


Sent via Deja.com http://www.deja.com/
Before you buy.

Michael (michka) Kaplan

unread,
Sep 1, 2000, 8:50:25 AM9/1/00
to
Well, you should try to avoid multiposting you know? Here is the answer I
posted in vb.general.discussion:

------------------
Actually, just define a string with the full Swedish alphabet:

ABCDEFGHIJKLMNOPQRSTUVWXYÜZÄÖ

and then from there, just grab one character at a time.
------------------

--
MichKa

random junk of dubious value at the
multilingual http://www.trigeminal.com/ and
a new book on internationalization in VB at
http://www.i18nWithVB.com/

<pm0r...@skovde.aventus.nu> wrote in message
news:8onmtn$q8u$1...@nnrp1.deja.com...

0 new messages