i have got a copy of vb6 and i have installed on my laptop, to start with everything works until i close visual basic and then when i open it again it does not allow the code to run, when i press run it comes up with "compile error" and says "su or function not defined". it highlights the commands. i tried a simple code :
Dim Name As String
Name = LineIn ("What is your name?")
Display (Name)
it has the other stuff around it like "end sub" but this is not he problem it highlights "LineIn" or if i leave out the "LineIn" part it highlights the "Display"
i am not sure why it does this but any help and i would be very thankful.
thanks