473,396 Members | 2,140 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,396 software developers and data experts.

Migrating vb 6 to vb.net

Hello. I have to migrate an old vb 6 application to vb.net.
I don't have to rewrite the application, just getting it compiled.

My first problem is in the data access. I use an Oracle database and in the
code there are RDO objects, as rdoConnection, rdoEnvironment... Is still
that in .NET? Is there any reference I can add to get that compiled?

--

Regards,

Diego F.

May 14 '07 #1
3 1844
I'm confident you'll get more specific advice than what I have to offer, but
the reality is that you will have to rewrite most of your VB6 app. Any
significant app just has too many changes. And RDO is dead.

"Diego F." <di********@msn.comwrote in message
news:%2***************@TK2MSFTNGP03.phx.gbl...
Hello. I have to migrate an old vb 6 application to vb.net.
I don't have to rewrite the application, just getting it compiled.

My first problem is in the data access. I use an Oracle database and in
the code there are RDO objects, as rdoConnection, rdoEnvironment... Is
still that in .NET? Is there any reference I can add to get that compiled?

--

Regards,

Diego F.

May 14 '07 #2
On 14 mayo, 13:19, "Diego F." <diego_f...@msn.comwrote:
Hello. I have to migrate an old vb 6 application to vb.net.
I don't have to rewrite the application, just getting it compiled.

My first problem is in the data access. I use an Oracle database and in the
code there are RDO objects, as rdoConnection, rdoEnvironment... Is still
that in .NET? Is there any reference I can add to get that compiled?

--

Regards,

Diego F.
Hi DiegoF.

Now in VB. Net you can use OleDB and ODBC classes to connect to Oracle
Database. I recommend OleDB. Objects changes: Now you need:
OleDbDataReader (recordset), OledDbConnection (Old Connection Object)
and OleDbCommand (to execute queries). It's so easy too.

Cheers

May 14 '07 #3
"Diego F." <di********@msn.comschrieb:
Hello. I have to migrate an old vb 6 application to vb.net.
I don't have to rewrite the application, just getting it compiled.

My first problem is in the data access. I use an Oracle database and in
the code there are RDO objects, as rdoConnection, rdoEnvironment... Is
still that in .NET? Is there any reference I can add to get that compiled?

Did you already try to open the project in VS.NET? The conversion wizard
will convert it to VB.NET. However, note that the code generated by the
conversion wizard is of very bad quality and a rewrite is the better
solution.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

May 15 '07 #4

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

Similar topics

0
by: Zvika Glickman | last post by:
I'm migrating DB2 to ORACLE 9I. In the DB2 schema each table defined in diferrent tablespace. Few tablespaces are define on the same STOGROUP (there are few STOGROUP). It's a big db (few terra...
0
by: steve | last post by:
I am having huge problems migrating large db’s from one server to another. I use phpmyadmin to dump the data into a file, and then migrate it to my production server. Then I try to use this:...
4
by: Bernardo Robelo | last post by:
Hi, I am interested in migrating Microsoft Access database to Postgres database. But I do not have idea of like initiating. Maybe some tool exists for this problem. Thanks you. Bernardo
4
by: Juan | last post by:
I'm migrating a VB.Net app to c# and found the following: Private m_State(,) As Integer If anyone knows what is the analogous in c#... is it an array? Thanks, Juan.
6
by: Shai Levi | last post by:
Hi, I'm trying to migrate native c++ class to managed c++ class. The native class header definition looks as: class NativeClass { public: typedef void (CbFunc1)(int n,void* p);
3
by: BobRoyAce | last post by:
I would really appreciate recommendations for sources of materials on migrating ASP applications to ASP.NET (books, URL's, etc.). Also, is there a magazine that is particularly good for .NET stuff....
2
by: Jean-Claude Adams | last post by:
Hi Folks. I need some tutorial or some expertice about the subject. Because, i'm have a customer, need's change the actual appl, but the only issue is a dbf database, and the GUI is the older...
4
by: Collin Peters | last post by:
I have searched the Internet... but haven't found much relating to this. I am wondering on what the best practices are for migrating a developmemnt database to a release database. Here is the...
12
by: jdokos | last post by:
Does anyone know of any good sources (white papers, etc.) regarding migrating from Teradata to DB2 UDB EEE? We are in the very beginning stages of investigating this as an option for some of the...
34
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
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
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,...

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.