Solved

Trim() function doesn't work

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

Independent Software Vendors: 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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

738 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