?
Solved

VB6 Split

Posted on 2004-04-03
3
Medium Priority
?
2,008 Views
Last Modified: 2007-12-19
I have two projects:

1) If I type Split( in the first one I get yellow help 'Expression as string etc

2) If I Type Split( in the secong one I get 'SplitNum as String'

I cannot see why the second application will not give me the correct SPLIT function. The first 4 items in references ar the same in both.

I feel that the second project must contain references that are over writing the split function.

Any ideas?

Your desparatley  

Martin
0
Comment
Question by:martinhickling01
[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
3 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 10747354
How have you declared the variables you're trying to split?
0
 
LVL 2

Accepted Solution

by:
Ivan_Skrinjaric earned 500 total points
ID: 10747516
Click with your right mouse button on split an choose definition. You will then see from where does the split function comes.
Or just type VBA.Split an you will get the right one.

Hope I helped.

Ivan.
0
 

Author Comment

by:martinhickling01
ID: 10748558
Thanks Ivan,

I had created a global function in the second project to split a user string.

Although I have been programing specifically with VB6 for 2 1/2 years now I had never noticed a right click as you suggested.

I have prefixed with VBA.Split and the code works perfectly.

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Suggested Courses

765 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