Link to home
Start Free TrialLog in
Avatar of redundguy
redundguy

asked on

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.

Avatar of appari
appari
Flag of India image

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
Avatar of redundguy
redundguy

ASKER

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?
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.
ASKER CERTIFIED SOLUTION
Avatar of appari
appari
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial