Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

Left function not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mamin123@yahoo.com - 19 Mar 2006 00:42 GMT
Hi,
When I add following to my code it is not working.

pSource = Left(pSource, 49)

Left function is causing this issue and I am not sure what is
incorrect.  I do not get any error when I compile this code but when I
execute the code it is not giving any result.

I am importing following libraries

Imports System.Web.SessionState
Imports Toyscamp.shoppingcart.shoppingcartdb
Imports ccauthorization.ccAuthorize
Imports System.Data.SqlClient
=============================
I read somewhere that i have to add
Imports System.VisualBasic but it is giving me syntax error.

I am using VB.Net

Thanks
Jon Skeet [C# MVP] - 19 Mar 2006 07:40 GMT
> When I add following to my code it is not working.
>
[quoted text clipped - 15 lines]
>
> I am using VB.Net

Could you post a short but complete program which demonstrates the
problem?

See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.

Signature

Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet   Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Ken Cox - Microsoft MVP - 20 Mar 2006 04:33 GMT
Are you sure there's a value in pSource?

> Hi,
> When I add following to my code it is not working.
[quoted text clipped - 18 lines]
>
> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.