Solved

Changing VB reference to vb.net reference

Posted on 2014-12-10
3
126 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Handling arrays 14 33
how to add field in my script 2 24
visual Basic Net vs c# net 8 54
Convert string to date 3 40
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 …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now