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

DAO Recordset in .Net

'UPGRADE_WARNING: Arrays in structure rs may need to be initialized before
they can be used. Click for more:
'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="814DF224-76BD
-4BB4-BFFB-EA359CB9FC48"'

Dim rs As DAO.Recordset

How can this be accomplished ? There are dozens of array elements in this
structure.

What to do ?

Dec 8 '05 #1
3 2350

Don`t worry about this , sometimes these upgrade advises are a litle bit
hysteric and see problems where they are not
But if i may ask ,,, do you see a good performance benefit in using DAO in
..Net ?

regards
Michel Posseth [MCP]

"Dave" <Ki************@community.nospam> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
'UPGRADE_WARNING: Arrays in structure rs may need to be initialized before
they can be used. Click for more:
'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="814DF224-76BD
-4BB4-BFFB-EA359CB9FC48"'

Dim rs As DAO.Recordset

How can this be accomplished ? There are dozens of array elements in this
structure.

What to do ?

Dec 8 '05 #2
I've been using VB Versions 4, 5, and 6 and DAO for years. The applications
I write don't have performance considerations. I've just spend some time
upgrading some of them and everywhere I had a DAO recordset declared it put
one of those comments.

I've considered converting these applications ADO and then reconverting them
to .Net, but haven't done it.

I'm really trying to figure out how to prepare my applications best before I
convert them.

I've run into problems with the Tag property that are in virtually all the
controls in VB6 and are only in some in .Net. I've not yet figure out how
to deal with that one. The Tag property problem is much more frustrating
that dealing with all these comments.

Man, it's like the architects of VB.NET didn't even know VB6 existed.
"m.posseth" <mi*****@nohausystems.nl> wrote in message
news:OD**************@TK2MSFTNGP09.phx.gbl...

Don`t worry about this , sometimes these upgrade advises are a litle bit
hysteric and see problems where they are not
But if i may ask ,,, do you see a good performance benefit in using DAO in .Net ?

regards
Michel Posseth [MCP]

"Dave" <Ki************@community.nospam> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
'UPGRADE_WARNING: Arrays in structure rs may need to be initialized before they can be used. Click for more:
'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="814DF224-76BD -4BB4-BFFB-EA359CB9FC48"'

Dim rs As DAO.Recordset

How can this be accomplished ? There are dozens of array elements in this structure.

What to do ?


Dec 8 '05 #3
Hi Dave,

In .NET we have a new data access library, ADO.NET.
Commonly we suggest use that in .NET application.
Due to all the components, controls is all redesign in .NET, so the upgrade
may not be smooth, and they are not match one by one.
Commonly the upgrade wizard will use proper control even directly using Com
interop to generate a wrap for the VB6 control.
So we need manually do some upgrades.

But as a best practice, it would better to recreate your code in .NET, the
VB6 class which did not concern with legacy control/com dll may be
migration easier than others, because the syntax between vb6 and vb.net is
compatible.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 9 '05 #4

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

Similar topics

4
by: Tom | last post by:
I want to open a recordset object on an .asp page. When I open the recordset I would like to use a stored procedure that expects a parameter to be passed for the stored procedure. I will then use...
6
by: lenny | last post by:
Hi, I've been trying to use a Sub or Function in VBA to connect to a database, make a query and return the recordset that results from the query. The connection to the database and the query...
36
by: kjvt | last post by:
Based on a prior posting, I've written a function to convert a recordset to a dataview. The first call to the function for a given recordset works perfectly, but the second call always returns a...
0
ADezii
by: ADezii | last post by:
When you create an ADO Recordset, you should have some idea as to what functionality the Recordset does/does not provide. Some critical questions may, and should, be: Can I add New Records to the...
6
by: Oko | last post by:
I'm currently developing an MS Access Data Project (.adp) in MS Access 2002. One of the reports within the DB uses data that is Dynamic and cannot be stored on the SQL Server. To resolve this, I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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)...
1
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.