473,405 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Microsoft.VisualBasic.Left

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
7 4303
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
"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
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
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
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
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: RitaG | last post by:
Hi. I have a utility program that has a form that allows a user to select a file. I'm then using the LEFT Function to get some information. sNewFilePathName = Left(sFilePathName, iCnt) I'm...
15
by: Phill. W | last post by:
Is anyone writing VB.Net (2003) code /without/ referencing the Microsoft.VisualBasic namespace(?), regardless of whether its Import'ed or not? The Powers That Be here are trying to introduce a...
14
by: frostalicious | last post by:
Used VB.NET (on my client PC) to convert VB6 executable to .NET executable. Placed the .exe file on a network drive on my server. From client, ran .NET Wizards "Trust an Assembly" to make the...
2
by: Steve | last post by:
Having only recently migrated across from VB6 to VB.NET I'm still unsure whether or not I should be making (heavy) use of the Microsoft.VisualBasic namespace in new applications. I've read a lot...
9
by: Alexander Baranovsky | last post by:
Hello friends, How I can determine full path of Microsoft.Basic.dll? Thanks, Alexander
8
by: Dave | last post by:
I'm trying to import Microsoft.VisualBasic to use the IsNumeric function in my C# code but all I see is: Microsoft.VisualBasic.VBCodeProvider while using Intellisense... From samples shouldn't...
3
by: AWW | last post by:
RichTextBox.Text = string & vbCR works but if I extract a substring with microsoft.visualbasic.left then vbCR stops working. I can do F5 executes with/without the Left and the vbCr does/doesNot...
6
by: =?Utf-8?B?R3JlZw==?= | last post by:
I have two questions with regards to the LEFT function. I ran into a problem with the LEFT function today. I knew it was a valid Function, but when I tried to use it, it was getting interpreted...
32
by: Greg | last post by:
I know I can use the Microsoft.VisualBasic.Left function to get the left portion of a string, but I would prefer to avoid using any Microsoft.VisualBasic namespace items. What is the equivilant in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.