By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,172 Members | 1,129 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,172 IT Pros & Developers. It's quick & easy.

Microsoft.VisualBasic.Left

P: n/a
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.
Nov 20 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
If your doing string left don't use the old VBA stuff... instead use

Dim myString as string

myString = myString.Left([value])
"Dale Beane" <ch***@pennwestern.com> wrote in message
news:71*************************@posting.google.co m...
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.

Nov 20 '05 #2

P: n/a
"CJ Taylor" <no****@blowgoats.com> schrieb
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.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3

P: n/a
Use a reference to the Compatibility DLL's

Microsoft.VisualBasic.Compatibility

"Dale Beane" <ch***@pennwestern.com> wrote in message
news:71*************************@posting.google.co m...
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.

Nov 20 '05 #4

P: n/a
Cor
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

Nov 20 '05 #5

P: n/a
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
Nov 20 '05 #6

P: n/a
"Cor" <no*@non.com> schrieb
"
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? ;-)
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #7

P: n/a
Yeah.... wasn't really thinking on that one was I?

=0

My bad...

-CJ
"Armin Zingler" <az*******@freenet.de> wrote in message
news:eN**************@tk2msftngp13.phx.gbl...
"Cor" <no*@non.com> schrieb
"
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? ;-)
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.