473,654 Members | 3,096 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 1639
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
2045
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
2483
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
12899
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
4304
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
2190
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
2579
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
1353
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
8376
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
8290
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8489
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,...
1
6161
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
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
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2716
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 we have to send another system
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1596
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.