Solved

Changing VB reference to vb.net reference

Posted on 2014-12-10
3
129 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
  • 2
3 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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