473,503 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1620
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
2008
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
2447
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
12888
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
4294
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
292
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
2176
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
2568
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
283
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
1331
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
276
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
7202
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
7084
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
7328
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...
0
7458
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
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
380
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.