> Hello Peter, Thankx for your reply, i wanted to know that since i am
> just creating a reference and thus how do i fix it, am i supp to
> initialize a value or sthing, please let me know. thankyou
What is rs supposed to be? I could make a guess that you are trying to
create a recordset and that you are using ADO in your ASP application? The
.NET data access technology is ADO.NET, which does not use recordsets. When
you write:
Dim rs As Object
in VB.NET, you are creating a reference to an object of type Object (Object
being the class that sits at the top of the .NET Framework class hierarchy).
I could simply say that to create an actual object, you would just change
the statement to:
Dim rs as New Object
Then, rs would contain the address of the of the instance. However, that
answer masks the differences between the languages and between ASP and
ASP.NET, and will probably only get you to the "next error".
In VB.NET, as opposed to "classic" VB/VBA, you are dealing with a new,
object oriented programming language with rules that are quite different
from those for VB/VBA.
To convert your current ASP applications properly, you'll need to understand
the new world of .NET and how it differs from older technologies.
Here are several places you can start your research from:
http://msdn.microsoft.com/VBasic/Learning/Migrating/
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbor
iUpgradingFromVisualBasic60.asp
http://support.microsoft.com/default.aspx?scid=kb;en-us;317071
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/t
echmap_vbnet.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmscms02/html/
cms_2002migrationnet.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/asp
netmigrissues.asp?frame=true

Signature
Peter [MVP Visual Developer]
Jack of all trades, master of none.