[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.0

what is wrong in this code (Split(LookInStr, Chr(10)))?

Asked by matthews_30 in Visual Basic Programming

the 'arr' variable is not been set.

txtKeys.Text contains registry information (ComDlg) and this information is writen in a textbox (txtKeys.text) then it is Low Capitalized and save it in "LookInStr". i really dont know what 'arr = Split(LookInStr, Chr(10))' does, it was provided by another guy.

dim arr as variant

        txtKeys.Text = Text1.Text & vbCrLf & GetKeyInfo(m_SelectedSection, Text1.Text, 4)
             LookInStr = LCase(txtKeys.Text) ' this is the whole information

             If LookInStr = "" Then
                 MsgBox "No string to find!"
                 Exit Sub
             End If
                       
            LookInStr = Replace(LookInStr, Chr(13), Chr(10))
            arr = Split(LookInStr, Chr(10))

            texto_a_buscar="mySpecificFileName"  'this is the string to find

                For Counter = LBound(arr) To UBound(arr)
                    'If InStr(1, arr(Counter), Text2.Text, vbTextCompare) > 0 Then
                    If InStr(1, arr(Counter), texto_a_buscar, vbTextCompare) > 0 Then
                        ShowStr = ShowStr & arr(Counter) & vbCrLf
                        'ShowStr = ShowStr & arr(Counter) & Chr(10)
                    End If
                Next Counter
                ShowStr = Left(ShowStr, Len(ShowStr) - 1)
           
                txtCoinside.Text = ShowStr 'prints matching text


can somebody tell me what is wrong with 'arr' variable?

thanks a lot!
 
Related Solutions
Keywords: what is wrong in this code (Split(Lo…
 
Loading Advertisement...
 
[+][-]12/12/05 06:22 PM, ID: 15471307Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/12/05 06:26 PM, ID: 15471315Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/12/05 06:28 PM, ID: 15471324Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/13/05 02:39 AM, ID: 15472828Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/13/05 04:44 AM, ID: 15473379Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/13/05 06:27 PM, ID: 15479283Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/14/05 03:49 AM, ID: 15481105Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/14/05 04:56 AM, ID: 15481404Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/15/05 02:53 PM, ID: 15494494Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/16/05 12:22 AM, ID: 15496301Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Visual Basic Programming
Sign Up Now!
Solution Provided By: herreruud
Participating Experts: 4
Solution Grade: C
 
[+][-]12/16/05 12:38 AM, ID: 15496361Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/16/05 05:44 AM, ID: 15497451Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81