473,499 Members | 1,614 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Moving Old App to C#

Hi,
Currently have an app that maintain that is written in VB6 and uses an
access db (backend db only used as a data store not writing to the db).
This app is a client app not server multi-teir app. It multi-form app that
takes in a lot of user input and gives out high end calculations
(engineering app). This app is starting to grow beyond the design and
becoming very hard to maintian. I was considering moving it to C#. All of
our new development is in C# - mostly server apps. I understand the
benefits going to .Net (no dll hell, OO, framework...) however it seems that
benefits are for web apps (web services), server apps.... A rewrite would
be a huge project and was wondering what others think.
Nov 17 '05 #1
4 1536
While the migration from VB6 to VB.NET might not be as simple as you would
wish, I think that many of the subroutines would be eminently translatable.
Why go to C# if the application is patently a VB one? Far be it from me to
advocate for a VB solution but sometimes you have to go with what seems
right!

You say that all your new development is in C#. Is this passed down from on
high or a real engineering descision?

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Ron Mexico" <ro**@mvick.com> wrote in message
news:uj*************@TK2MSFTNGP11.phx.gbl...
Hi,
Currently have an app that maintain that is written in VB6 and uses an
access db (backend db only used as a data store not writing to the db).
This app is a client app not server multi-teir app. It multi-form app
that takes in a lot of user input and gives out high end calculations
(engineering app). This app is starting to grow beyond the design and
becoming very hard to maintian. I was considering moving it to C#. All
of our new development is in C# - mostly server apps. I understand the
benefits going to .Net (no dll hell, OO, framework...) however it seems
that benefits are for web apps (web services), server apps.... A rewrite
would be a huge project and was wondering what others think.

Nov 17 '05 #2
We made the move to C# from VB/C++ when .Net was released because at first
it was thought that C# was the language choice of Microsoft (being
superior). Also, most of us are used to and like C++ syntax. The only
reason this app is in VB versus C++ was time because it is a highly UI
intensive app. The main reason I was looking to doing a rewrite is because
the App is gone beyond the main design (which VB could handle) and I could
redesign a more elegant/more maintainable solution using C# (OO, ADO.Net,
easier installation (no dll hell)...). Who knows when Microsoft will stop
supporting VB6 on new OS's (it could be a long time or maybe never) so
eventually I will have to rewrite this app. Right now it is about 100,000
lines of code but in the future I could see it double or maybe tripling.
It's not like I am just doing maintanence; I am actually enhancing the app
and adding more functionality.

Thanks
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:ug*************@TK2MSFTNGP11.phx.gbl...
While the migration from VB6 to VB.NET might not be as simple as you would
wish, I think that many of the subroutines would be eminently
translatable. Why go to C# if the application is patently a VB one? Far be
it from me to advocate for a VB solution but sometimes you have to go with
what seems right!

You say that all your new development is in C#. Is this passed down from
on high or a real engineering descision?

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Ron Mexico" <ro**@mvick.com> wrote in message
news:uj*************@TK2MSFTNGP11.phx.gbl...
Hi,
Currently have an app that maintain that is written in VB6 and uses an
access db (backend db only used as a data store not writing to the db).
This app is a client app not server multi-teir app. It multi-form app
that takes in a lot of user input and gives out high end calculations
(engineering app). This app is starting to grow beyond the design and
becoming very hard to maintian. I was considering moving it to C#. All
of our new development is in C# - mostly server apps. I understand the
benefits going to .Net (no dll hell, OO, framework...) however it seems
that benefits are for web apps (web services), server apps.... A rewrite
would be a huge project and was wondering what others think.


Nov 17 '05 #3
gee, Ron, that sounds enormous. I count my effort
successful when i can throw code away!

Seriously, if you havent had the chance yet, check
out Refactoring by Fowler.
--
Grace + Peace,
Peter N Roth
Engineering Objects International
http://engineeringobjects.com
Home of Matrix.NET
"Ron Mexico" <ro**@mvick.com> wrote in message
news:uo**************@TK2MSFTNGP15.phx.gbl...
We made the move to C# from VB/C++ when .Net was released because at first
it was thought that C# was the language choice of Microsoft (being
superior). Also, most of us are used to and like C++ syntax. The only
reason this app is in VB versus C++ was time because it is a highly UI
intensive app. The main reason I was looking to doing a rewrite is because
the App is gone beyond the main design (which VB could handle) and I could
redesign a more elegant/more maintainable solution using C# (OO, ADO.Net,
easier installation (no dll hell)...). Who knows when Microsoft will stop
supporting VB6 on new OS's (it could be a long time or maybe never) so
eventually I will have to rewrite this app. Right now it is about 100,000
lines of code but in the future I could see it double or maybe tripling.
It's not like I am just doing maintanence; I am actually enhancing the app
and adding more functionality.

Thanks
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:ug*************@TK2MSFTNGP11.phx.gbl...
While the migration from VB6 to VB.NET might not be as simple as you
would wish, I think that many of the subroutines would be eminently
translatable. Why go to C# if the application is patently a VB one? Far
be it from me to advocate for a VB solution but sometimes you have to go
with what seems right!

You say that all your new development is in C#. Is this passed down from
on high or a real engineering descision?

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Ron Mexico" <ro**@mvick.com> wrote in message
news:uj*************@TK2MSFTNGP11.phx.gbl...
Hi,
Currently have an app that maintain that is written in VB6 and uses an
access db (backend db only used as a data store not writing to the db).
This app is a client app not server multi-teir app. It multi-form app
that takes in a lot of user input and gives out high end calculations
(engineering app). This app is starting to grow beyond the design and
becoming very hard to maintian. I was considering moving it to C#. All
of our new development is in C# - mostly server apps. I understand the
benefits going to .Net (no dll hell, OO, framework...) however it seems
that benefits are for web apps (web services), server apps.... A
rewrite would be a huge project and was wondering what others think.



Nov 17 '05 #4
Peter,

I have read the Refactoring book and I have done alot of changes since
reading. I think moving the app to .Net could help eliminate some of the
code. I am 90% on moving the app to .Net I was wondering what other people
are doing with older apps.

Thanks

"Peter N Roth" <re***********@mycompany.com> wrote in message
news:ej**************@TK2MSFTNGP09.phx.gbl...
gee, Ron, that sounds enormous. I count my effort
successful when i can throw code away!

Seriously, if you havent had the chance yet, check
out Refactoring by Fowler.
--
Grace + Peace,
Peter N Roth
Engineering Objects International
http://engineeringobjects.com
Home of Matrix.NET
"Ron Mexico" <ro**@mvick.com> wrote in message
news:uo**************@TK2MSFTNGP15.phx.gbl...
We made the move to C# from VB/C++ when .Net was released because at
first it was thought that C# was the language choice of Microsoft (being
superior). Also, most of us are used to and like C++ syntax. The only
reason this app is in VB versus C++ was time because it is a highly UI
intensive app. The main reason I was looking to doing a rewrite is
because the App is gone beyond the main design (which VB could handle)
and I could redesign a more elegant/more maintainable solution using C#
(OO, ADO.Net, easier installation (no dll hell)...). Who knows when
Microsoft will stop supporting VB6 on new OS's (it could be a long time
or maybe never) so eventually I will have to rewrite this app. Right now
it is about 100,000 lines of code but in the future I could see it double
or maybe tripling. It's not like I am just doing maintanence; I am
actually enhancing the app and adding more functionality.

Thanks
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:ug*************@TK2MSFTNGP11.phx.gbl...
While the migration from VB6 to VB.NET might not be as simple as you
would wish, I think that many of the subroutines would be eminently
translatable. Why go to C# if the application is patently a VB one? Far
be it from me to advocate for a VB solution but sometimes you have to go
with what seems right!

You say that all your new development is in C#. Is this passed down from
on high or a real engineering descision?

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Ron Mexico" <ro**@mvick.com> wrote in message
news:uj*************@TK2MSFTNGP11.phx.gbl...
Hi,
Currently have an app that maintain that is written in VB6 and uses an
access db (backend db only used as a data store not writing to the db).
This app is a client app not server multi-teir app. It multi-form app
that takes in a lot of user input and gives out high end calculations
(engineering app). This app is starting to grow beyond the design and
becoming very hard to maintian. I was considering moving it to C#.
All of our new development is in C# - mostly server apps. I understand
the benefits going to .Net (no dll hell, OO, framework...) however it
seems that benefits are for web apps (web services), server apps.... A
rewrite would be a huge project and was wondering what others think.



Nov 17 '05 #5

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

Similar topics

0
1912
by: HeroOfSpielburg | last post by:
hi, I know this is a much-travelled subject, but I was wondering what people's thoughts were on the bare minimum (and conversely the grand scheme) for augmenting standard memory references to...
2
9359
by: Diogo Alves - Software Developer | last post by:
Greetings I would like to knowhow can I put a sliding panel... I've done this: if (panel1.Width < 300) { while (panel1.Width < 300) { panel1.Width = panel1.Width + 40;
0
1440
by: linkswanted | last post by:
World Moving & Storage Moving Companies and Movers We would like to take this opportunity to introduce "World Moving & Storage" to You. "World Moving & Storage" is well established, Fully...
0
1205
by: linkswanted | last post by:
Moving Companies California http://www.movingcompanies.co.il california movers, los angeles movers, moving in california, moving to CA, Moving company los angeles, moving to los angeles.
0
1252
by: linkswanted | last post by:
Free Moving Estimate, Local Movers, Long Distance Moving, Packing Supplies, Storage Rental, Home Moving, Apartment Moving, Office Moving, Commercial Moving, Moving Companies in your area....
0
1638
by: linkswanted | last post by:
http://www.movingcompanies.co.il/supplies/boxes.html http://www.movingcompanies.co.il/residental/ http://www.movingcompanies.co.il/commercial/corporate-moves.html...
0
1828
by: linkswanted | last post by:
We are your trusted source. World Moving & Storage is bonded and licensed by the U.S. Department of Transportation and is one of the largest residential moving and corporate relocation company in...
0
1763
by: linkswanted | last post by:
We are your trusted source. World Moving & Storage is bonded and licensed by the U.S. Department of Transportation and is one of the largest residential moving and corporate relocation company in...
0
4621
by: SuzK | last post by:
I am trying to calculate in VBA in Access 2002 a moving average and update a table with the calculations. Fields in my WeeklyData table are Week Ending (date) ItemNbr (double) Sales Dollars...
15
2416
by: mcjason | last post by:
I saw something interesting about a grid pair puzzle problem that it looks like a machine when you find each that work out the way it does and say with all the others that work out the way they...
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7014
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7229
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7395
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5485
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3108
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
311
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.