glarrayelements

I have been programming in VB6. Everytime I try to use the glarrayelement to draw triangular facets it keeps crashing.

I have enabled all the necessary arrays.

The program works fine when I simply use glvertex3f commands.