In Progress

Convert VBA classes to C# classes

I want to get 36 classes in VBA converted to c# classes. These are of varying length, from about 10 lines to the largest being up around 1000 lines. Classes are attached.

## Deliverables

Example of average sized class:

*

VERSION 1.0 CLASS

BEGIN

MultiUse = -1 'True

END

Attribute VB_Name = "c_PhoneNumber"

Attribute VB_GlobalNameSpace = False

Attribute VB_Creatable = False

Attribute VB_PredeclaredId = False

Attribute VB_Exposed = False

Option Explicit

Private m_Number As String, m_SubscriberNumber As String, m_CountryCode As String, m_AreaCode As String

Public Property Get Number() As String

Number = m_Number

End Property

Public Property Let Number(ByVal vNewValue As String)

m_Number = PhoneFormat(vNewValue)

End Property

Public Property Get CountryCode() As String

If Not m_CountryCode = "" Then

CountryCode = m_CountryCode

Else

CountryCode = "61"

End If

End Property

Public Property Let CountryCode(ByVal vNewValue As String)

m_CountryCode = vNewValue

End Property

Public Property Get AreaCode() As String

AreaCode = m_AreaCode

End Property

Public Property Let AreaCode(ByVal vNewValue As String)

m_AreaCode = vNewValue

End Property

Private Function PhoneFormat(ByVal PhNum As String) As String

Dim pNum As String

If Not PhNum = "" Then

If Not Left(Trim(PhNum), 1) = "+" Then

pNum = Replace(PhNum, "(", "")

pNum = Replace(pNum, ")", "")

pNum = Replace(pNum, " ", "")

Else

pNum = PhNum

End If

If pNum Like "04????????" Then

pNum = Format(pNum, "0### ### ###")

ElseIf pNum Like "0?????????" Then

[url removed, login to view] = Val(Left(pNum, 2))

[url removed, login to view] = Right(pNum, 9)

pNum = Format(pNum, "0# #### ####")

Else

pNum = PhNum

End If

PhoneFormat = pNum

End If

End Function

Public Property Get SubscriberNumber() As String

SubscriberNumber = m_SubscriberNumber

End Property

Public Property Let SubscriberNumber(ByVal vNewValue As String)

m_SubscriberNumber = Trim(vNewValue)

End Property*

Skills: C# Programming, Engineering, Microsoft, Project Management, Software Architecture, Software Testing, Windows Desktop

See more: largest number, get string c, get length of string in c, c get string, vba right, right vba, me vba, in vba, end vba, vba, val , convert to c, windows vba, vba function, vba 2011, vba management, class convert, vba property, attached vba, average function, vba string, public management, replace vba, project class management, vba replace

About the Employer:
( 14 reviews ) Tamworth, Australia

Project ID: #2696093

Awarded to:

dvfabia

See private message.

$200 USD in 11 days
(256 Reviews)
6.3

22 freelancers are bidding on average $255 for this job

weng0000

See private message.

$300 USD in 11 days
(765 Reviews)
7.0
mastirlaa

See private message.

$360.4 USD in 11 days
(87 Reviews)
6.4
prescienced

See private message.

$442 USD in 11 days
(14 Reviews)
5.9
vnb400sl

See private message.

$200.6 USD in 11 days
(118 Reviews)
5.8
NallakumarKC

See private message.

$600.1 USD in 11 days
(23 Reviews)
5.7
Schura

See private message.

$35.7 USD in 11 days
(100 Reviews)
5.7
danale72

See private message.

$499.8 USD in 11 days
(71 Reviews)
5.6
naveenjc

See private message.

$297.5 USD in 11 days
(34 Reviews)
5.4
ahmedasd2000

See private message.

$400.35 USD in 11 days
(15 Reviews)
4.3
bogdancuciula

See private message.

$60.35 USD in 11 days
(20 Reviews)
4.0
wesolvevw

See private message.

$85 USD in 11 days
(34 Reviews)
4.0
sergeybarseghyan

See private message.

$20.4 USD in 11 days
(23 Reviews)
3.9
paulitech

See private message.

$30.6 USD in 11 days
(11 Reviews)
3.9
manojyohannan

See private message.

$120.7 USD in 11 days
(26 Reviews)
3.7
Zozel

See private message.

$50 USD in 11 days
(15 Reviews)
3.6
sajitvw

See private message.

$200.6 USD in 11 days
(7 Reviews)
3.5
MrSoundless

See private message.

$100.3 USD in 11 days
(10 Reviews)
3.4
intel183ins

See private message.

$255 USD in 11 days
(23 Reviews)
3.2
dikostvw

See private message.

$200.6 USD in 11 days
(9 Reviews)
3.1
PriyankaKale

See private message.

$250.75 USD in 11 days
(1 Review)
3.4