???????? (Welcome to www.kunwsoft.com)
??????? The Internet is rapid development, and future Web sites will not be monotonous like this, but can connect it directly to businesses, applications, or devices. Such sites also get rid of simple passive access and become reusable intelligent services.
???????? This article will show how to use WWW.KAMALPATEL.NET to support the C # code into the code of VB.NET format. Since the contents mentioned herein use the web service, you need to add a web service reference first. Enter the following address "http://www.kamalpatel.net/convertcsharp2vbservice.asmx" opens a page, you can see this web service only a common method, "Execute", its parameters Is a C # code, the return value is VB.NET code.
???????? Please download the routine, in fact, the most important thing is the following line of code:
???????? // initialization ???????? Net.kamalpatel.www.convertcsharp2vbservice oservice; ???????? oservice = new net.kamalpatel.www.convertcsharp2vbService () ;? ??????? // call the execute method, process the format ???????? String lcstr = oservice.execute (this.txtcsharp.text); ???????? this.txtVBNET.TEXT = lcstr.replace ("/ n", "/ r / n");??
???????? Here, you need to remind this because the XML annotation function has only C # language, so the conversion program will replace it with single quotes.
???????? Click the download routine