Solved

Trim() function doesn't work

Posted on 2001-08-22
4
273 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now