Solved

Trim() function doesn't work

Posted on 2001-08-22
4
285 Views
Last Modified: 2006-11-17
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.

0
Comment
Question by:redundguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 39

Expert Comment

by:appari
ID: 6412901
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
 
LVL 1

Author Comment

by:redundguy
ID: 6412941
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
 
LVL 4

Expert Comment

by:VincentLawlor
ID: 6412950
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
 
LVL 39

Accepted Solution

by:
appari earned 133 total points
ID: 6412954
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question