• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

Changing VB reference to vb.net reference

How do i use a vb.net reference for        

Imports VB = Microsoft.VisualBasic
Dim buf As New VB6.FixedLengthString(16384)
  • 2
1 Solution
Guy Hengel [angelIII / a3]Billing EngineerCommented:
are you looking for this?
<VBFixedString(1638)> Public buf As String
JasonAuthor Commented:
Hi no
i have two issues
1. The reference VB6.FixedLengthString is old and no longer supported

2. Imports VB = Microsoft.VisualBasic and when i add as a reference it is creating ambiguous error in my code with "format$" saying that the vb reference is conflicting with system string or system.io

So a work around for the vb reference code i think is the best path to avoid other conflicts
JasonAuthor Commented:
thanks i removed compatibility.vb reference and just compatibility reference
this seems to have fixed the problem.

also your reference helped

thx 4 your help
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now