Things have changed quite a bit. The concept of TLB files doesnt apply with
.NET. Now every type has whats known as metadata associated with it. All
of the metadata is stored inside the actual assembly header. The other
thing you need to be aware of is, Interop with COM. Since you are going to
be running COM in the .net context, you will need to use the tlbimp.exe
utility to create a RCW (Runtime Callable Wrapper). More information is
available on this as msdn.microsoft.com.
----Original Message Follows----
From: "Gerald de Bueger" <[EMAIL PROTECTED]>
Reply-To: "dotnet" <[EMAIL PROTECTED]>
To: "dotnet" <[EMAIL PROTECTED]>
Subject: equivalent of tlb file in asp.Net
Date: Mon, 2 Dec 2002 05:00:28 -0800
Hi all,
I'm new to .net and want to learn how to do stuff I did in asp in
ASP.Net
First is what is the equivalent of :
<! - - METADATA TYPE="typelib" FILE="D:\lyb\commonVariabl.tlb" - - >
I used to create tlb files with lot of variable I need to access from
the site. If I include this line in the global.asa file the variables
will be accessible throughout the whole website. What is the equivalent
for .Net (c#).
Ideally, I wouldn't want to declare the variables. I would only want to
access them by doing something like this:
String sText = varComingFromTheLybFile;
Thanks for your help. I hope I was clear enough.
Gerald
---
You are currently subscribed to dotnet as: [EMAIL PROTECTED]
To unsubscribe send a blank email to %%email.unsub%%
---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/
Jeff Gonzalez
.NET Software Engineer
Email : [EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.15seconds.com/issue/wa.htm#gonzalez
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/
- equivalent of tlb file in asp.Net Gerald de Bueger
- equivalent of tlb file in asp.Net Gerald de Bueger
- RE: equivalent of tlb file in asp.Net Mark Hogge
- Jeff Gonzalez
