No announcements
Found 3141588 threads
-
2 Votes
Vb code to c# code
= 0) { ChkDigit = 10 - ((oddno + (evenno * 3)) % 10); } return ChkDigit.ToString(); } //Public Function ...Answered | 5 Replies | 2740 Views | Created by kavitha Reddy Neeru - Tuesday, March 13, 2012 6:54 AM | Last reply by Dummy yoyo - Wednesday, March 14, 2012 7:22 AM -
0 Votes
Converting VB code to C#
I did not create the VB code above, I am re-creating a project and was just stuck on the best way to do what that code does.Answered | 7 Replies | 1914 Views | Created by JK95 - Saturday, October 3, 2015 9:46 PM | Last reply by Christopher84 - Sunday, October 11, 2015 9:06 PM -
0 Votes
Translate Code from Vb To C#
Convert between VB, C#, C++, & Java (http://www.tangiblesoftwaresolutions.com) Instant C# - VB to C# ...Answered | 7 Replies | 1502 Views | Created by mohsen_s - Tuesday, April 23, 2013 5:32 PM | Last reply by JohnWein - Tuesday, April 23, 2013 10:21 PM -
0 Votes
Help Converting C# Code to VB
int index = ((int)document.GetCharAt(wordOffset +1)) % 256 more accurately translates to: Dim index As Integer = Convert.ToByte(document.GetCharAt(wordOffset + 1)) ...Answered | 6 Replies | 3358 Views | Created by PEng1 - Tuesday, June 30, 2009 2:59 PM | Last reply by PEng1 - Tuesday, June 30, 2009 3:31 PM -
0 Votes
What is the VB equivalent to this C# code?
Since Evidence is a IEnumerable, you can use For Each loop with a temp variable of type object, and then compare the type with Is operator for the temp variable.Answered | 4 Replies | 2177 Views | Created by Abdul A. Ali - Tuesday, November 15, 2011 12:59 PM | Last reply by cheong00 - Wednesday, November 16, 2011 6:27 AM -
2 Votes
C# to VB unsupported code
Convert between VB, C#, C++, & Java (http://www.tangiblesoftwaresolutions.com)Answered | 7 Replies | 3807 Views | Created by Net Developer - Wednesday, January 6, 2010 11:13 AM | Last reply by Dave Doknjas - Monday, January 11, 2010 3:37 PM -
0 Votes
Convert Code From C# to VB
The advices to convert this to VB you already got.Answered | 5 Replies | 1448 Views | Created by lilloc1552 - Tuesday, October 2, 2012 2:40 PM | Last reply by lilloc1552 - Tuesday, October 2, 2012 4:47 PM -
0 Votes
converting c# to vb code
I definitely agree with you that automatically "converted" code is often "not quite right", which is why I hate it when someone ...Answered | 3 Replies | 2449 Views | Created by sencs - Thursday, October 27, 2011 10:25 AM | Last reply by Yann Duran - Thursday, October 27, 2011 10:33 PM -
1 Votes
String Compare function in VB
StrComp(newKey, oldkey, CompareMethod.Binary) does work.Answered | 5 Replies | 3797 Views | Created by Aorangzeb - Monday, July 4, 2011 9:23 AM | Last reply by dbasnett - Monday, July 4, 2011 3:17 PM -
3 Votes
Different result on same code from VB 6.0 and VB.Net (Rnd Function)
. :) Though, Rnd was not the problem as it returns the same value in both VB versions.Answered | 8 Replies | 1422 Views | Created by GeneK_clifton - Monday, March 30, 2015 6:44 PM | Last reply by Cor Ligthert - Tuesday, March 31, 2015 10:17 PM -
0 Votes
VB.NET: Why following code does not work?
You had C# syntax, here is VB.NET Place the following into a code module Imports System.Globalization Namespace My ...Answered | 1 Replies | 773 Views | Created by JJChen - Wednesday, April 24, 2013 7:34 PM | Last reply by Kareninstructor - Wednesday, April 24, 2013 9:50 PM -
0 Votes
Convert code vb to C#
you can use the tool to convert the code. but when you have converted, please check the code logic.Answered | 4 Replies | 1093 Views | Created by nqt2812 - Monday, August 1, 2016 9:41 PM | Last reply by Hart Wang - Thursday, August 4, 2016 2:32 AM -
1 Votes
"Arithmetic operation resulted in an overflow." error in VB code but not in C# code
Do you know why "remove integer overflow checks" is required in VB but not C#?Answered | 4 Replies | 9214 Views | Created by jge1160 - Wednesday, August 13, 2014 8:34 PM | Last reply by Chris Dunaway - Friday, August 15, 2014 8:42 PM -
0 Votes
Why the following code does not work?
I tried the following on my laptop and get the following errors: #include "stdafx.h" //#include <string.h> #include ...Answered | 9 Replies | 1164 Views | Created by ankador - Tuesday, March 11, 2014 1:56 PM | Last reply by chong kyong kim - Tuesday, March 11, 2014 3:41 PM -
0 Votes
Why does this C# code returns different compared with VB codes?
It is confusing the VB code returns correct result in Debug mode, and C# is not (with double backslash), so we have to use label or ViewBag to ...Answered | 7 Replies | 179 Views | Created by Anonymous - Wednesday, October 9, 2019 1:58 PM | Last reply by Anonymous - Thursday, October 10, 2019 12:48 PM -
2 Votes
Why is there the difference between the two snippets of codes?
The string does not change its value and that is why in the second case it works.Answered | 15 Replies | 2269 Views | Created by TimoYang - Friday, August 3, 2012 9:29 AM | Last reply by Chris-von-der-Wiese - Sunday, August 5, 2012 12:13 PM -
3 Votes
Convert C sharp code into VB NET
Thank you very much John, i will study you code...Answered | 7 Replies | 9545 Views | Created by Pepu - Friday, June 11, 2010 5:33 AM | Last reply by JohnGrove - Monday, June 14, 2010 4:41 PM -
0 Votes
Why this code DOES work??
The first code works because it's a template trigger.Answered | 1 Replies | 4066 Views | Created by Smarty - Monday, August 10, 2009 8:16 AM | Last reply by Weifen Luo - Monday, August 10, 2009 9:21 AM -
1 Votes
Is there any difference in VB and C#
Actually the only difference is the syntax.Answered | 2 Replies | 5334 Views | Created by Shaju Thomas - Friday, August 13, 2010 10:29 AM | Last reply by Shaju Thomas - Tuesday, August 17, 2010 10:04 AM -
0 Votes
Why does following code always returns FALSE in area commented?
Is there not a displacement difference for "Integer" between 32 and 64 bit code?Answered | 15 Replies | 1083 Views | Created by Mr. Monkeyboy - Thursday, January 17, 2013 1:18 AM | Last reply by Mr. Monkeyboy - Thursday, January 17, 2013 5:49 PM - Items 1 to 20 of 3141588 Next ›
No announcements