Solved

VB6 Split

Posted on 2004-04-03
3
2,002 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
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 125 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
firstswap challenge 20 68
Arduino EDI - Programming language 3 80
python sqlite question 11 46
tidtcpserver connection lost handle 2 71
RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
This is about my first experience with programming Arduino.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

895 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

11 Experts available now in Live!

Get 1:1 Help Now