473,320 Members | 1,838 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.

shift appl. VB6 --> .NET


Hello NG,

This question regards a migration of a vb6 application to .NET

Since 2 years we develop and extend an administration/reporting
application
based on VB6, Crystal Reports 10 and MS SQL Server 2000 which is
including as well the control
of an Excel calculation module via COM.

Now this application should be shifted to .NET, for what we have now to
calculate the estimated amount of time / money for this.
Question is, how shall we procede in this to get a result which is as
closest to the reality as possible and which issues we have to pay
attention to?
As annotation I can say that this application is programmed object
oriented as much as it is possible in VB6.

In a little brainstorming I got up to now the following main points we
have to think about:

1. selection of the target language in .NET (c#,java,vb.NET)
--> which language has which advantages / reason to choose it
--> or is it only a matter of which language suits the most to the
programmers?
--> because at the end it is in any case translated into Intermediate
Language

2. can we use migration tools (converter and other tools)?

3. because .NET uses extended possibilities of object oriented
programming (z.B. real inheritance., polymorphism ..) we probably have
to do a refactoring

4. maybe the program design should be checked in general und maybe
modelled in a new way,
because we have the work of reprogramming anyway

5. is it possible to convert the application (half automatic - see
point 2) nearly 1:1
and to use it first like before, and then bit by bit to overwork the
parts (according to .NET's possibilities) which then are going to be
changed or to get new features in any case, (bit by bit refactoring)

6. is control of Excel via COM possible like up to now?

7. how is it going with the implementation of modules in other
languages
(e.g. time critical calculation routines programmed in C)
--> or is the only possibility for this, to program directly in the
Intermediate Language and compile it to native code?
Has anyone been doing this already and has faced problems, which
haven't been expected before?

This topic was initiated by the costumer, but the question remains, if
it's really necessary.
For me as a programmer/program designer I see as advantages mainly the
extended possibilities of object oriented programming, safe support of
the base technologies in future and a bigger and more flexible variety
of functions and features which his been up to now only available by
using 3rd party components or tricks with Windows API functions, as
well as I expect better support in creating installation packages and
automated documentation, which again is in VB6 only possible with
3rd party components in a proper way.

The general question is how long the DLL concept so far as well as the
COM technology and the used API function will still be supported,
meaning starting when we have to go to another technology
in any case.

Thanks for your help!

Jul 22 '05 #1
1 1602
Depending on what the app does and how the VB6 app developed, mostly
"migrate" VB6 to .NET ="rewite" in .NET. If you have been developing in both
classical VB and .NET long enough, you can easily reach the same conclusion.

Here is a latest article from MS on this topic:

http://msdn.microsoft.com/vbasic/def...ationstrat.asp
<je**@e-sistrum.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...

Hello NG,

This question regards a migration of a vb6 application to .NET

Since 2 years we develop and extend an administration/reporting
application
based on VB6, Crystal Reports 10 and MS SQL Server 2000 which is
including as well the control
of an Excel calculation module via COM.

Now this application should be shifted to .NET, for what we have now to
calculate the estimated amount of time / money for this.
Question is, how shall we procede in this to get a result which is as
closest to the reality as possible and which issues we have to pay
attention to?
As annotation I can say that this application is programmed object
oriented as much as it is possible in VB6.

In a little brainstorming I got up to now the following main points we
have to think about:

1. selection of the target language in .NET (c#,java,vb.NET)
--> which language has which advantages / reason to choose it
--> or is it only a matter of which language suits the most to the
programmers?
--> because at the end it is in any case translated into Intermediate
Language

2. can we use migration tools (converter and other tools)?

3. because .NET uses extended possibilities of object oriented
programming (z.B. real inheritance., polymorphism ..) we probably have
to do a refactoring

4. maybe the program design should be checked in general und maybe
modelled in a new way,
because we have the work of reprogramming anyway

5. is it possible to convert the application (half automatic - see
point 2) nearly 1:1
and to use it first like before, and then bit by bit to overwork the
parts (according to .NET's possibilities) which then are going to be
changed or to get new features in any case, (bit by bit refactoring)

6. is control of Excel via COM possible like up to now?

7. how is it going with the implementation of modules in other
languages
(e.g. time critical calculation routines programmed in C)
--> or is the only possibility for this, to program directly in the
Intermediate Language and compile it to native code?
Has anyone been doing this already and has faced problems, which
haven't been expected before?

This topic was initiated by the costumer, but the question remains, if
it's really necessary.
For me as a programmer/program designer I see as advantages mainly the
extended possibilities of object oriented programming, safe support of
the base technologies in future and a bigger and more flexible variety
of functions and features which his been up to now only available by
using 3rd party components or tricks with Windows API functions, as
well as I expect better support in creating installation packages and
automated documentation, which again is in VB6 only possible with
3rd party components in a proper way.

The general question is how long the DLL concept so far as well as the
COM technology and the used API function will still be supported,
meaning starting when we have to go to another technology
in any case.

Thanks for your help!

Jul 22 '05 #2

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

Similar topics

35
by: Will Stuyvesant | last post by:
Here is a question about list comprehensions . The question is dumb because I can do without ; but I am posing the question because I am curious. This: >>> data = ,,] >>> result = >>> for...
40
by: fordge | last post by:
we usually use <<n as a cheaper option to multiplication when its factor of 2^n right, even for non 2^n say ix24 ==> ix(16+8) ==> (i<<4)+(i<<3) similarly divison 2^n is >>n
2
by: Bill | last post by:
I am trying to convert a Java APP to C# and it appears C# does not have a >>> operator. Does anyone the best way to conver this operator in to c#? Thanks. -- Bill
3
by: Bob | last post by:
What is an equivalent of a Right Shift operator (>>) in visual basic 6.0? I am trying to convert a C++ code into visual basic that looks like the following: While (m < n) { k = (m+n) >> 1 } ...
1
by: jens | last post by:
Hello NG, This question regards a migration of a vb6 application to .NET Since 2 years we develop and extend an administration/reporting application based on VB6, Crystal Reports 10 and MS...
12
by: Mick_fae_Glesga | last post by:
OK, the solution to this is probably blindingly obvious to everyone, but... surely it can't be right. I am compiling with borland bcc32 free compiler this piece of code is designed to identify...
7
by: gokkog | last post by:
Hello, Recently I have the book Programming Pearls. Nice read! Perhaps it is weekend, I cannot understand the following codes well: #define BITSPERWORD 32 #define SHIFT 5 #define MASK 0x1F...
1
by: onkar | last post by:
#include<stdio.h> int main(void){ printf("%d %d\n",32<<1,32<<0); printf("%d %d\n",32<<-1,32<<-0); <----------------------------------see here printf("%d %d\n",32>>1,32>>0); printf("%d...
10
by: Vivien Parlat | last post by:
Hello, I have a little question about operator >between integers: does anyone know why, when I write: "1 >x", the returned value is 1 for all values multiple of 32 and 0 else (this does not...
1
by: Sonam | last post by:
Its written in K&R that >behaves as logical shift on some machines but as arithmetic shift on others. Why??
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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...

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.