Microsoft.VisualBasic.Left

  • Thread starter Thread starter Dale Beane
  • Start date Start date
D

Dale Beane

When I try to run a program in the debugger I get the following error
message. Any help?

'Microsoft.VisualBasic.Left' is not declared or the module containing
it is
not loaded in the debugging session.
 
If your doing string left don't use the old VBA stuff... instead use

Dim myString as string

myString = myString.Left([value])
 
CJ Taylor said:
If your doing string left don't use the old VBA stuff... instead
use

Dim myString as string

myString = myString.Left([value])

Exactly one of the few reasons why the usage of
Microsoft.VisualBasic.Strings.Left does make sense.
 
Use a reference to the Compatibility DLL's

Microsoft.VisualBasic.Compatibility
 
Hi Dale,

You can use the microsoft.visualbasic.left

When you use it in a form class

You have to tell that you are using the left for strings because the form
has also a property "left".

mySubString = Microsoft.VisualBasic.Left(myString, 5)
and
Me.Left = 5

I hope this helps something

Cor
 
Hi CJ,
"
If your doing string left don't use the old VBA stuff... instead use
Dim myString as string
myString = myString.Left([value])

Is this a new style and methods of C++ or is it C#

:-))))

Cor
 
Cor said:
"
If your doing string left don't use the old VBA stuff... instead
use Dim myString as string
myString = myString.Left([value])

Is this a new style and methods of C++ or is it C#

:-))))

Maybe the C#.Compatibility library? ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top