PC Review


Reply
Thread Tools Rate Thread

Another newbie quesion: Using DIM

 
 
boaz
Guest
Posts: n/a
 
      31st Mar 2004
Hi,

Thanks you guys for my Event question.

In VB6, there is a big difference between the following:

1) Dim ado_obj As New ADODB.Recordset
2) Dim ado_obj As ADODB.Recordset: Set ado_obj = New ADODB.Recordset

In VB.NET, do I still new to worry about this kind of small detail?

Does 1) really the same as 2) in VB.NET, or 1) and 2) are still different in
VB.NET?



--
>There is no answer.
> There has not been an answer.
> There will not be an answer.
> That IS the answer!
> And I am screwed.
> Deadline was due yesterday.



 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      31st Mar 2004
* "boaz" <(E-Mail Removed)> scripsit:
> In VB6, there is a big difference between the following:
>
> 1) Dim ado_obj As New ADODB.Recordset
> 2) Dim ado_obj As ADODB.Recordset: Set ado_obj = New ADODB.Recordset
>
> In VB.NET, do I still new to worry about this kind of small detail?


No. 1) does in VB.NET the same as 2).

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quesion about ADO.NET in VB.NET Cylix Microsoft VB .NET 3 14th Aug 2006 07:09 AM
Newbie quesion:Can asp.net2.0 webpart work without sql express? fumade Microsoft ASP .NET 1 14th Jul 2006 09:50 AM
Excell Newbie Quesion Please Help KeyWest JetSki Microsoft Excel Programming 9 14th Jun 2005 10:38 PM
Newbie quesion: Printing DataGrid Results Adriano Microsoft VB .NET 1 21st May 2004 09:22 AM
App Quesion ion Microsoft C# .NET 1 10th Apr 2004 06:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:23 AM.