PC Review


Reply
Thread Tools Rate Thread

CHR Code Exception

 
 
Khurram
Guest
Posts: n/a
 
      18th Oct 2004

Hi,

I am using Chr(Integer) Function, to get the Character against that
Number.
This function I was using in VB6 Code and it was working good, but when
I
am trying to use it in VB.Net, it through Argument Exception "charcode"
must
be between range 32... to -32....
*******ecSt = decSt + Chr(Convert.ToInt32(Mult(tok, dD, dN)))

Function Mult(Double,Double,Double) as double

End Function

on this line it was giving me that error. I don't want to change that
process of OLD VB6 code.

Is this any possible way that we can use Chr or any other Function to
Avoid VB.NET TO through the Exception.



TIA

Khurram



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception handling in unManaged code when being called from managed code Tony Johansson Microsoft C# .NET 3 27th Apr 2010 05:24 PM
exception code calendula =?Utf-8?B?amVubnlj?= Windows XP Help 1 6th Jul 2006 01:58 PM
exception Code 0xc000005 =?Utf-8?B?a2t1bGFvZ2x1?= Microsoft Dot NET Compact Framework 1 12th Dec 2005 07:59 PM
Unreachable code error for exception handling code SteadySteps Microsoft VC .NET 4 10th Oct 2003 07:09 AM
Unreachable code error for exception handling code SteadySteps Microsoft VC .NET 1 8th Oct 2003 04:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:50 PM.