Advertisement

07.08.2008 at 07:14AM PDT, ID: 23546682
[x]
Attachment Details

Convert vb.5 to C# .net

Asked by ZURINET in C# Programming Language, Visual Basic Programming, .NET

Hi all

I need to convert the code below to C# .net
your help will be appreciated

RegardsStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
Function MyFunction98( p_strParm0, p_strParm1, p_strParm2, p_strParm3 )
   If ( p_strParm0 = "01" or p_strParm0 = "02" ) Then
      MyFunction98 = CDbl("0001")
   End If
   If p_strParm0 = "28" Then
      MyFunction98 = CDbl(p_strParm1)
   End If
   If (p_strParm0 <> "01" and p_strParm0 <> "02" and p_strParm0 <> "28") Then
      MyFunction98 = p_strParm3
   End If
End Function
[+][-]07.08.2008 at 07:23AM PDT, ID: 21954105

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C# Programming Language, Visual Basic Programming, .NET
Sign Up Now!
Solution Provided By: jaime_olivares
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.08.2008 at 07:39AM PDT, ID: 21954259

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 07:47AM PDT, ID: 21954314

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 08:21AM PDT, ID: 21954670

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 12:57AM PDT, ID: 21961368

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628