473,320 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

VB.net conversion to C# issues?

Hello,

I have been handed a VB.net windows compact framework project. Code contains
lot of legacy issues to deal with like modules. Previous programmer has used
modules all over the place. Scope of the project is to take the current XML
file database and port it to a SQL Ce one.

I really would like to convert it to c#. Is there a simpler way to get this
done. I dont want to spend a month doing this.

Thanks.
Jay.

Nov 17 '05 #1
3 1111
what are you hoping to gain from the conversion to c#? sounds like
you're looking at some architecture changes that are out of scope for
the project - your better bang for the buck might be to focus on
centralizing the data access code which might take you a couple weeks
if it's a large app anyway. anyone that's going to use 'modules all
over the place' probably doesn't have a clean data access model. if
you start trying to rip out those modules, use singleton objects and
static variables for example, you're probably going to find yourself
wanting to re-architect the entire thing and find yourself with a big
mess on your hands and nothing working. start with the data access and
dig back into the conversion as a separate project - that's my advice
from your initial description.

that said, there are code converters - www.csharpenerforvb.com,
www.vbconversions.com - those are ads that pop up with your question.
it's a slippery slope...

Nov 17 '05 #2
Best is to get the answer why do you need the conversion. If its very
much necessary try google you will get lot of tools on this.
-------
Regards ,
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book

http://www.geocities.com/dotnetinterviews/
My Interview Blog
http://spaces.msn.com/members/dotnetinterviews/

Nov 17 '05 #3
Hi,

Thanks for the quick response.

Iam just going to do as you stated. Just strip out the data access code from
the modules and use static classes for conversion to SQL CE.

Not worry about existing code.

-jay.


<ho****@aol.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
what are you hoping to gain from the conversion to c#? sounds like
you're looking at some architecture changes that are out of scope for
the project - your better bang for the buck might be to focus on
centralizing the data access code which might take you a couple weeks
if it's a large app anyway. anyone that's going to use 'modules all
over the place' probably doesn't have a clean data access model. if
you start trying to rip out those modules, use singleton objects and
static variables for example, you're probably going to find yourself
wanting to re-architect the entire thing and find yourself with a big
mess on your hands and nothing working. start with the data access and
dig back into the conversion as a separate project - that's my advice
from your initial description.

that said, there are code converters - www.csharpenerforvb.com,
www.vbconversions.com - those are ads that pop up with your question.
it's a slippery slope...

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: junky_fellow | last post by:
Can anybody please explain this: When a value with integer type is converted to another integer type other than _Bool, if the new type is unsigned, the value is converted by repeatedly...
9
by: Girish | last post by:
Im trying to understand implicit type conversions from object -> string and vice versa. I have two classes, one Driver and one called StringWrapper. These are just test classes that try and...
0
by: VB Programmer | last post by:
Simple ASP.NET 1 site. Opened solution in beta 2 of 2.0. Ran thru conversion wizard and it states: "Conversion Complete. There were some errors during conversion." I view the conversion log...
5
by: Tom | last post by:
We currently have a rather large application that is in VB.NET 2002. We have just purchased licenses to the 2003/1.1 Framework version of Visual Studio. What kind of conversion, if any, will we...
47
by: rawCoder | last post by:
Hi, Just wanted to know if there is any speed difference between VB conversion Keywords like CInt, Clng, CStr, CDbl, CBool etc. ..NETs Convert.To<...> methods. And which is better to be...
3
by: Francesc | last post by:
Hi, I'm new at this newsgroup and I want do ask some questions and opinions about this subject. I'm developing an application focused in a very specific task: clean and labelling text documents...
1
by: musosdev | last post by:
Hi I've got a project I've just run through the conversion wizard, and it's giving me a few headaches. I've got a user control which has controls referrenced from its calling page...
11
by: santosh | last post by:
Hello all, Conversion macros along the name of INT8_C, INT16_C etc, are defined in stdint.h to convert their argument into suitable representations for their corresponding types, i.e. int8_t,...
6
by: Blasting Cap | last post by:
I'm trying to convert a 1.1 app to 2.0, and keep finding one thing after another that either Framework 2.0 or Visual Studio 2005 doesn't like. Now this - In the global.asax, code that has been...
4
by: =?Utf-8?B?c2lwcHl1Y29ubg==?= | last post by:
Hi I am converting a VS2005 Solution to VS2008 Solution and all went well I checked the Solution file (sln) and Project file (csproj) into SVN - I checkout the solution from SVN and it want to ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.