hello. currently i am doing a project and i am stuck with this compile error,
can any1 help me with this?
is there any cure for this compile error ?


thanks :)

Recommended Answers

All 4 Replies


Kindly show your codes then
I will try to help you.

Is that your own code ?

That error just means that the Type WAVEHDR has not been previously defined or declared in the VB6 environment by the user.

WAVEHDR could be anything the user wants to declare it as, for example:

Private Type WAVEHDR
     intWaveLength as Integer
     dtChanged as Date
     dtCreated as Date
     WaveName as String
End Type

hi all, sorry for late reply. i have solved the problem as i did not add in the module and functions. that y the form can;t work.
thanks for all your help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.