Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
SuggestionRe: sending SMS using SMPP in C# Pin
Kornfeld Eliyahu Peter20-Dec-14 23:28
professionalKornfeld Eliyahu Peter20-Dec-14 23:28 
Suggestionimplementation suggesion for a customized list page Pin
NowYouSeeMe18-Dec-14 18:37
NowYouSeeMe18-Dec-14 18:37 
GeneralRe: implementation suggesion for a customized list page Pin
syed shanu18-Dec-14 19:16
mvasyed shanu18-Dec-14 19:16 
GeneralRe: implementation suggesion for a customized list page Pin
BillWoodruff19-Dec-14 3:57
professionalBillWoodruff19-Dec-14 3:57 
GeneralRe: implementation suggesion for a customized list page Pin
Amresh Bahadur Singh21-Dec-14 23:34
Amresh Bahadur Singh21-Dec-14 23:34 
QuestionCode Design - Event call, Catch exceptions or not? Pin
GerVenson18-Dec-14 12:38
professionalGerVenson18-Dec-14 12:38 
AnswerRe: Code Design - Event call, Catch exceptions or not? Pin
Eddy Vluggen19-Dec-14 7:14
professionalEddy Vluggen19-Dec-14 7:14 
Questionc# string param passing vs vb.net Pin
SepPax18-Dec-14 10:46
SepPax18-Dec-14 10:46 
My problem is about how to call a c# function like this

C#
string Block = "1111111111";
string a = "87654321";
string m = "2222";
string c = "11";
string u = "99";
string v = "00";


byte[] result = W(
    SoapHexBinary.Parse(a).Value,
    SoapHexBinary.Parse(m).Value,
    SoapHexBinary.Parse(v).Value[0],
    SoapHexBinary.Parse(u).Value[0],
    SoapHexBinary.Parse(c).Value[0],
    SoapHexBinary.Parse(Block).Value
);


from VB.NET

VB
Dim Block As String = "AAAAAAAAAA"

Dim a As String = "99999999"
Dim m As String = "3333"
Dim a As String = "77"
Dim u As String = "07"
Dim v As String = "00"

Dim result As String = ""

result = W(a, m, v, u, a, Block)


a, m and Block are not accepted.
I'm not a C# expert so I guess that there is something to be done in order to correctly address strings and arrays between the two languages. Must be kind of basic rule I ignore...
Anybody can help?

Thanks in advance.
Seppax
GeneralRe: c# string param passing vs vb.net Pin
PIEBALDconsult18-Dec-14 11:39
mvePIEBALDconsult18-Dec-14 11:39 
AnswerRe: c# string param passing vs vb.net PinPopular
Dave Kreskowiak18-Dec-14 12:49
mveDave Kreskowiak18-Dec-14 12:49 
GeneralRe: c# string param passing vs vb.net Pin
SepPax18-Dec-14 19:47
SepPax18-Dec-14 19:47 
GeneralRe: c# string param passing vs vb.net Pin
Dave Kreskowiak19-Dec-14 2:12
mveDave Kreskowiak19-Dec-14 2:12 
GeneralRe: c# string param passing vs vb.net Pin
SepPax19-Dec-14 3:22
SepPax19-Dec-14 3:22 
GeneralRe: c# string param passing vs vb.net Pin
SepPax19-Dec-14 5:07
SepPax19-Dec-14 5:07 
Questionfile not uploading Help.... Pin
Member 1132096518-Dec-14 5:47
Member 1132096518-Dec-14 5:47 
AnswerRe: file not uploading Help.... Pin
OriginalGriff18-Dec-14 5:56
mveOriginalGriff18-Dec-14 5:56 
AnswerRe: file not uploading Help.... Pin
OriginalGriff18-Dec-14 6:39
mveOriginalGriff18-Dec-14 6:39 
GeneralRe: file not uploading Help.... Pin
Member 1132096518-Dec-14 6:42
Member 1132096518-Dec-14 6:42 
AnswerRe: file not uploading Help.... Pin
Matt T Heffron18-Dec-14 6:54
professionalMatt T Heffron18-Dec-14 6:54 
GeneralRe: file not uploading Help.... Pin
Member 1132096518-Dec-14 7:01
Member 1132096518-Dec-14 7:01 
GeneralRe: file not uploading Help.... Pin
OriginalGriff18-Dec-14 8:12
mveOriginalGriff18-Dec-14 8:12 
GeneralRe: file not uploading Help.... Pin
Member 1132096518-Dec-14 8:33
Member 1132096518-Dec-14 8:33 
GeneralRe: file not uploading Help.... Pin
OriginalGriff18-Dec-14 8:56
mveOriginalGriff18-Dec-14 8:56 
GeneralRe: file not uploading Help.... Pin
Member 1132096519-Dec-14 7:36
Member 1132096519-Dec-14 7:36 
GeneralRe: file not uploading Help.... Pin
OriginalGriff19-Dec-14 8:04
mveOriginalGriff19-Dec-14 8:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.