G
Guest
I have a new position in which Studio 6 is still in use, due to the client
machines. While they're no dogs, they do have a lot running on them and are
using WinXP Pro.
Using VB6, I could minimize memory footprints by using late binding to
create a class from a dll rather than importing the entire dll (e.g. Set rs =
CreateObject("ADODB.Recordset").
Is the same possible with .Net? If I declare a variable with a fully
qualified namespace (without importing the parent namespace), am I getting
just that class or is .Net still importing the entire parent structure into
memory (e.g. Dim sr as System.IO.StreamReader without using "Imports
System.IO")?
Also, if XP is using the .Net runtime for OS cycles, am I adding anything to
memory by creating, say, a System.IO.StreamReader or a
System.Data.Odbc.OdbcConnection object?
Thanks for any thoughts or insight.
machines. While they're no dogs, they do have a lot running on them and are
using WinXP Pro.
Using VB6, I could minimize memory footprints by using late binding to
create a class from a dll rather than importing the entire dll (e.g. Set rs =
CreateObject("ADODB.Recordset").
Is the same possible with .Net? If I declare a variable with a fully
qualified namespace (without importing the parent namespace), am I getting
just that class or is .Net still importing the entire parent structure into
memory (e.g. Dim sr as System.IO.StreamReader without using "Imports
System.IO")?
Also, if XP is using the .Net runtime for OS cycles, am I adding anything to
memory by creating, say, a System.IO.StreamReader or a
System.Data.Odbc.OdbcConnection object?
Thanks for any thoughts or insight.