How to convert C#.Net code to VB.Net code ???...
HI,
i was searching something new, then i suddenly find some tips to convert C#.Net code to VB.Net but i did not do well.
i am puttint its url here plz tell me how to convert C#.Net code to VB.Net.
http://www.dotnetspider.com/code/C-273-Convert-C-VB-NET.aspx
Jasim...Please remember to click “Mark as Answer” on the post that helps youJasim AkhtarNew Delhi ( INDIA )
It would be better if you write the problem you having, while converting from C# to VB.NET. You cannot completely rely on online converters.
ThanksMark post(s) as "Answer" that helped youElectronic ScrewWebsite||Bl...
What are the diff. visual basic 6 and vb.net ? How to convert the VB6 project to vb.net proj ?
What are the diff. visual basic 6 and vb.net ? How to convert the VB6 project to vb.net proj ?
with code and interface too.
There are entire forums dedicated to the differences between the two, and to convert your projects you should try the upgrade wizard in Visual Studio....
Translate c#.net code to vb.net code
Hi
I can usually do the translation myself, but this time I am a bit stumped
Let us consider to rewrite Urls (more than 16000 links) using a table. Save original url and rewritten url in a table. Now add a class file in App_Code folder.
class UrlRewriteModule : IHttpModule{ public void Dispose() { // Nothing to dispose } public void Init(HttpApplication context) { context.BeginRequest += new EventHandler(context...
convert VB.net code to C# code ( Visual studio 2003 )
Hello,
Where can I find a program that convert VB.net code to C# code ( Visual studio 2003 )
Best regards
Google.***********************Dinakar NethiLife is short. Enjoy it.***********************
http://www.carlosag.net/Tools/CodeTranslator/Default.aspxGO HOKIES!!!...
use VB.NET and C#.NET code in the same C#.NET project
All-- Here is a sample that is "off the beaten path", (at least for me). Is it possible, in an ASP.NET application, using the code-behind page building technique, to have both pages written in VB.NET and pages written C#.NET?At http://www.WebLogicArts.com/DemoList.aspx there is a sample that shows that, (contrary to popular belief), it IS possible to mix ASP.NET pages built with C#.NET with ASP.NET pages built with VB.NET in the same VS.NET 2003 project. Note that this is just a "fun" sample to see if it can be done and I do not recommend this practice as a "standard" way of develo...
How could i convert this code vb in vb.net?
Dim Report As CRAXDRT.ReportDim ReportSub As CRAXDRT.ReportDim ReportSub1 As CRAXDRT.Report
Dim m_crwDatabase As CRAXDRT.Database
Dim MaxDetail As IntegerDim MaxMain As Integer
Dim PageCountMax As Integer
Private Sub Command1_Click()
PayableVoucher "应付款挂帐单", "应付组" End Sub
Private Sub Command2_Click()
Command1.Visible = True CRViewer1.Visible = False Command2.Visible = False Command3.Visible = True Me.WindowState = 0 ...
convert code from VB to VB.Net
hi,
I have both an offline application (done with Visual Basic 6.0 )
and an online application (thru ASP.Net 2.0 and Visual Basic as code behind).
Right now, I have a code in Visual Basic for encrypting a file. This is working in my offline
application.
However, when I used the code in my online application, it got some errors in it.
Maybe incompatibility with the language used.
Is there any way I can convert my VB code to VB.Net?
Thanks a lot.
Sheila
Rock on!!!
Get the VB6 code advisor from http://msdn2.microsoft.com/en-gb/vbasic/ms789135.aspx and check you existing...
Sending SMS using vb.net or C#.net using vb.net or c#.net
Hi
My requirement is
I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0.
once i read the all fileds and take that mobile number.using tat mobile number i need to send sms .after sending sms i shuld change status as 1
How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link.
and also provide the how to update the status field im csv file
Thank
ssandhya
To send SMS, you need some third party SMS providers. if you consul...
how to convert VB.NET code this code to C#
Hi
I have the following code whihc I need to convert to C# since I dont know VB.NET any ideas how to do this:
Imports System.IO
Imports System.Reflection
Add the following code to the class:
Private Function GetSql(ByVal Name As String) As String
Try
' Get the current assembly.
Dim Asm As [Assembly] = [Assembly].GetExecutingAssembly()
' Resources are named using a fully qualified name.
Dim strm As Stream = Asm.GetManifestResourceStream(Asm.GetName().Name + "." + Name)
' Read the contents of the embedded file.
...
converting to vb.net from c#.net authorize.net
authorize.net offered me some sample code when I signed up with them the only problem is the sample code is in c#.net but my page that they type all of their credit card into is vb.net
<code><%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.IO" %>
<script language="C#" runat="server">
void Page_Load(Object Src, EventArgs E) {
myPage.Text = readHtmlPage("https://certification.authorize.net/gateway/transact.dll");
}
private String readHtmlPage(string url)
{
...
VB code to VB.Net
I have a contact manager application who has released a SDK that allows outside programs to manipulate its data. The examples are provided for VB and C++ developers.
In the VB code examples, there is .bas and .frm files. There are also .vbp and .vbw files. There is also a Global.bas file that looks like it contains the global variables and a public function to handle logins. I have also identified a .scc file that is commented "source code control file".
I would like to move this code into the .Net framework if possible, but I would like suggestions on where to start. I'm ge...
Convert VB Macro code to VB.NET or C#
Hello all i want to convert the following Vb macro code to VB.NET ot C#
how to do that ? any help ?
Set myrange = objword.Selection.Range
myrange.Collapse
Set myTable = objword.ActiveDocument.Tables.Add(myrange, 2, 5)
With myTable
With .Borders(wdBorderLeft)
.LineStyle = wdLineStyleSingle
.LineWidth = wdLineWidth050pt
.Color = wdColorAutomatic
End With
With .Borders(wdBorderRight)
.LineStyle...
Migrate code from vb.net to C#.net
Hello friends,
I had created a web site using visual studio 2005. web site was created using the language vb i.e. VB.net. Now as per the clint requirement I have to migrate all the code in C#. So the question is that is there any tool or any inbuild utility in Visual Stuidio so that we can migrate the site from vb.net to C#.net. Or we have to do it mannually i.e. by changing each and every line of code mannually? Kindly suggest me.
Thanks & Regards
Girish NehteThanks & RegardsGirish NehteIf This post helps you to solve your problem please mark this as an answer.
Hi,
at the mome...
How to migrate code from vb.net to c#.net?
Hi all,If anybody knows information on migration of VB.Net application to C#.net.
i.e Any tools available, best practices, methodology for estimation. etc.
RegardsHelen
Hey,
Take a look at this topic http://forums.asp.net/t/1100603.aspxMaybe some of these sites can be of help to you.
Arnold
you can do it by page by page
just copy and paste ur page in the following link
http://labs.developerfusion.co.uk/convert/vb-to-csharp.aspx
and convert ur vb.net to c#
gotcha!!YasserSpica.www.spica.aewww.bncnetwork.netPlease remember to mark as answers i...