as it is not a code vb.worth net if it was removed of an example of the own msdn in the site of the microsoft?
you say that is not been worth but he/she doesn't say as I do for you turn him/it I validate deltanusigma ----- Original Message ----- From: "Cerebrus" <[EMAIL PROTECTED]> To: "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" <[email protected]> Sent: Sunday, August 24, 2008 5:51 AM Subject: [DotNetDevelopment] Re: to convert vb code.net for c #.net Your code isn't even valid VB.NET ! Apart from the obvious syntactical errors, the MsgBox function is available only in the Microsoft.VisualBasic namespace and is a legacy function. While you could manually include the library, it doesn't make any sense to do so. Therefore, unless you use the CTS functions like MessageBox.Show(), your conversion isn't going to work. As for conversion, a 10 second google search would have led you to Dev Fusion converter. But apparently that was a difficult proposition for you. On Aug 24, 3:59 am, <[EMAIL PROTECTED]> wrote: > as I transform the following code in vb.net in c # > > Dim to Double = TextBox1.Text > Dim b Double = TextBox2.Text > > MsgBox(a + b) > MsgBox(a - b) > MsgBox(a * b) > MsgBox(a / b) > > he seeks to exhibit the result of the sum, subtraction, multiplication and > division of 2 typed numbers > in two text boxes after clicking in a command button > > thank you > > deltanusigma --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://cm.megasolutions.net/forums/default.aspx -~----------~----~----~----~------~----~------~--~---
