473,796 Members | 2,444 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 1651
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.goo glegroups.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
2069
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 d in data: .... for w in d:
40
2519
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
12908
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
4312
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 } Thanks,
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 SQL Server 2000 which is including as well the control of an Excel calculation module via COM.
12
2202
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 the most significant bit in a given element in an array of unsigned longs. Now I realise there may be a more efficient way to do this, and if you know a better way please let me know.
7
2587
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 #define N 10000000 int a;
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 %d\n",32>>-1,32>>-0); <----------------------------------and here return 0;
10
1359
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 hurt me, 1 does). When I do the same thing with : "1L >x", only multiples of 64 do this. I thought 0 was the only possible result for any x 0. Why is it not the case ? And how to correct this simply -- in one
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
9680
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10228
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10173
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10006
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9052
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6788
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.