Convert VB6 Code to C#
RM99-825 MYR
Paid on delivery
Hi, you have to help me convert my existing working VB6 code (which write in exe with component MSCOMM and timer ) to c# Dll.
This project was urgent, need to done within 1 day.
I paste some piece of my code here, you have to show me you can do it by convert the example below and send me inbox, so I will give you the project. Thanks
Function CalcCrc16(ByRef dbf() As Byte, ByVal lenh As Integer)
Dim lngCRC As Long 'Integer
Dim i As Integer, j As Integer
Dim lngTest As Long
lngCRC = &HFFFF&
For i = 1 To lenh
lngTest = dbf(i)
lngCRC = lngCRC Xor (dbf(i))
lngCRC = lngCRC And &HFFFF&
For j = 0 To 7
If lngCRC And &H1 Then
lngCRC = (lngCRC \ 2) Xor &H8408
lngCRC = lngCRC And &HFFFF&
Else
lngCRC = lngCRC \ 2
End If
Next j
Next i
CRC_MSB = lngCRC And &HFF
CRC_LSB = ((lngCRC \ 256) And &HFF) '8bit Shift to Right.
End Function
Function find_orig()
Dim sentbuf(4) As Byte
sentbuf(0) = &H2
sentbuf(1) = &HA7
sentbuf(2) = &H1
sentbuf(3) = &H0
sentbuf(4) = &HAA
[url removed, login to view] = 0
[url removed, login to view] = sentbuf
End Function
Project ID: #11652528
About the project
Awarded to:
Hello I'm interesting your project very well I'm a Good VB, C#, DB, Math, Algorithm expert. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Thanks
7 freelancers are bidding on average RM766 for this job
Hi, I am interested in your project. I like to ask for your email address so that I can send the C# code. Regards, Daniel Fabia
I have 6 plus years of experience in Microsoft Technologies, I am Having very good experience Angular js and third party controls like telerik and Kendo UI