Click here to Skip to main content
12,999,417 members (57,216 online)
Rate this:
Please Sign up or sign in to vote.
Hi, I just want to know is there any tool or online website to convert vbscript code into C#.
Posted 1-Mar-13 23:56pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

As far as i know, there are no automation tool.
You can use:[^], which converts vb to C#, but vb is not vbs, it's similar to vb. See Key differences between VB and VBScript[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Why not try this first[^]?
Sridhar0203 2-Mar-13 6:58am
Hi Richard, the link which u gave is redirecting me to .net rflector software, I have downloaded and tried that, there is nothing to convert vbscript to C#.
Richard MacCutchan 2-Mar-13 7:28am
The link I provided was to a Google search with lots of suggestions. It's up to you to find the one that suits your purpose.
gggustafson 27-Apr-14 18:04pm
I think it only fair to explain what you say here in your oroginal response.
Richard MacCutchan 29-Apr-14 4:03am
Sorry, what?
gggustafson 29-Apr-14 10:40am
In your original response I believe that you should have said "The following link is to a Google search with lots of suggestions. It's up to you to find the one that suits your purpose." Furthermore that is a comment, not a solution. You have effectively removed the question from the unanswered category. If you have experience with a VBScript to C# converter, certainly provide it. I liked the solution supplied by Maciej Los. It answered the question.
Richard MacCutchan 29-Apr-14 10:50am
Given the lack of detail in the question, and the fact that it could be answered by a quick internet search, then my response was perfectly adequate. There are far too many of these questions posted by people who seem unable or unwilling to do the basics for themselves. This view is shared by many of the people who regularly answer questions here, not just me.
gggustafson 29-Apr-14 12:34pm
Although I agree with your judgment regarding the OP's question, I cannot agree with your response. I note that you did not participate in the Lounge discussion "Misuse of the Quick Answers Forum" ( I know that it's hard to keep up but that thread supports your assertion.

Let's assume that OP is a new programmer. Your response does not help, as seen from his reply to you. Worse, converting VB to C# is significantly different from converting VBScript to C#. Your response covered the former; not the latter. It was the latter that OP asked.

I stand by my comments. We (CP) must be friendlier and not condescending to our members who are lost. Yes, give a Google search phrase - but not the search result. And please give it as a comment, not a solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 12 Feb 2015
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100