?
Solved

Changing VB reference to vb.net reference

Posted on 2014-12-10
3
Medium Priority
?
137 Views
Last Modified: 2014-12-10
How do i use a vb.net reference for        

Imports VB = Microsoft.VisualBasic
Dim buf As New VB6.FixedLengthString(16384)
0
Comment
Question by:Jason
[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
  • 2
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 2000 total points
ID: 40491189
are you looking for this?
http://msdn.microsoft.com/en-us/library/x14b6s77%28v=vs.90%29.aspx
<VBFixedString(1638)> Public buf As String
0
 

Author Comment

by:Jason
ID: 40492382
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
0
 

Author Comment

by:Jason
ID: 40492449
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
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

752 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