Trim() function doesn't work

I have installed Visual Basic 6 (from Visual Studio) on my computer, and another things.
A have an application that works OK on another computer.
But this application doesn't work on the new computer: VB IDE doesn't recognize Trim() function. Why?
I suppose that VB6 isn't correct installed and I have no path to VB libraries. But what library has Trim() function?

I have reinstalled VB6 but it doesn't recognize Trim() function.

LVL 1
redundguyAsked:
Who is Participating?
 
appariConnect With a Mentor Commented:
do the same thing in your activex dll project also.
but it may be required to install that missing component on your system. what is missing in the references?
0
 
appariCommented:
open project ->references dailog and check if some entry is there with missing keyword in front of it. if you find something select that option and make priority low or uncheck. then it should work
0
 
redundguyAuthor Commented:
Thanks,
I have done what you said, and I have got the following:
-In the form code, TRim function is now recognized
-But my project group has also an ActiveX DLL projects, and the trim function isn't recognized in the code of this dll. Why?
0
 
VincentLawlorCommented:
You are missing either Visual Basic runtime objects and procedures or Visual Basic objects and procedures from your references. These are in the file vb6.olb

Try resinstalling VB6 and the latest service pack on the new machine.

Vin.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.