Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inserting special character in vb 1

Status
Not open for further replies.

rakwal

Programmer
Jul 13, 2001
2
IN
hello friends,
i am a new user. I am facing few problem.

1. i want to insert special character like square,beta,pie,underoot,alpha,beta etc... through my vb form to my access database. I hope u people help me to do so.

2. how i can execute flash or gif file in my vb form.


thanks
 
Use this code to generate all the ASCII characters, and find the symbols you need from the list it generates:

Dim a As Long

For a = 0 To 255
Debug.Print a & vbTab & Chr$(a)
Next a


 
Note that the "character set" displayed by MikCox's routine will reflect only the characters of the current Font. To do a more complete set of the possabilities, you would need to also iterate through the available fonts.

To further complicate the issue, regardless of the font character stored in the data base, you would need to set the display object to the (desired) font, otherwise you will just display the character of the default font. More anoying still is the limitation on MOST MS controls which limit the font displayed to a single font (character set).

MichaelRed
mred@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top