[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Changing VB reference to vb.net reference

Posted on 2014-12-10
3
Medium Priority
?
138 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

650 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