Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: 3dfonts in Visual Basic

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000
    Location
    burbank, ca
    Posts
    1

    3dfonts in Visual Basic

    I have a OpenGLsuperbible and I'm trying to convert the C code in chpt 17 using 3d fonts to visual basic, but it just won't work.

    Firstly, strcpy doesn't exist in VB, but when I just try to assign
    logfont.lffacename = "Arial" I get an error.
    The C code is
    strcpy(logfont.lffacename,"Arial")
    There are many errors of this kind that come from my lack of understanding C

    I'm looking for some Visual Basic code that uses 3d fonts....I have other progs in VB to use as templates for shapes and so forth...just need to get this font thing finished.
    thanks to anyone who can point me in a direction.

  2. #2
    Junior Member Newbie
    Join Date
    Oct 2002
    Posts
    3

    Re: 3dfonts in Visual Basic

    What you seek is here:
    http://is6.pacific.net.hk/~edx/contents.htm

    Look in this area:

    Simple samples - no ocx

    Here's a link to the file I'm speaking of.
    http://is6.pacific.net.hk/~edx/bin/simpletext.zip

    russell_ken@hotmail.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •