Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7957167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:12:31+00:00 2026-06-04T04:12:31+00:00

Back in VB6, you were able to re-assign a string’s value to itself plus

  • 0

Back in VB6, you were able to re-assign a string’s value to itself plus other string values, such as:

str_Duplications_Line = str_Duplications_Line & pRow_Prime.Value(i_FieldNum)

Now, intellisense is not picking it up as an error, nor is the compiler complaining, but when it is ran, it bombs out on that line, and other multiple line such as these:

str_Duplications_Line = str_Duplications_Line & ","

str_Duplications_AllFields = str_Duplications_AllFields + str_Duplications_Line + vbCrLf

Any idea why this is happening, and how I can fix this? Or at least, simulate the same thing in VB.NET?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:12:32+00:00Added an answer on June 4, 2026 at 4:12 am

    Here is the diference between & and +

    "abc" + "def" = "abcdef"
    "abc" & "def" = "abcdef"
    "111" + "222" = "111222"
    "111" & "222" = "111222"
    "111" & 222 = "111222"
    "111" + 222 = 333
    "abc" + 222 = conversion error
    

    If any one operand is null, you may get an error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've always laughed to myself when I've looked back at my VB6 days and
Back in the past, i found a third party webpage that was able to
One annoying behavior of the VB6 IDE editor, especially when switching back to it
I have a VB6 application which works with datetime values in SQL Server (which
Back in VB6, I wrote a few functions that would let me code without
We are getting an error in a VB6 application that sends data back and
Back when I did LUA i used to run dofile(...); to load other lua
While I used to VB 6 like the back of my hand, it has
Back in college I wrote a game where the computer would sleep for 1
Back in the days before Visual Studio Web Server we would host our local

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.