Guest_imported
New member
- Jan 1, 1970
- 0
Hello!
I'm tryin' to use the MSWC.Counters object
with the old ASP it worked like
dim COUNTERS
set COUNTERS = Server.CreateObject("MSWC.Counters"
counter.Increment("a1_"&id)
but how is this in ASP.NET??
I tryed arround like
object counter = new Server.CreateObject("MSWC.Counters"
counter.Increment("a1_"+id);
I getting an error back:
'object' does not contain a definition for 'Increment'
I also tryed to use following code in global.asax like in global.asa:
<object id="Counter" runat=server progid="MSWC.Counters" scope="Application" />
There I also get the same error!
Does anyone know to use MSWC.Counters ???(included in IIS 5.0)
Please HELP!!
powerwave
I'm tryin' to use the MSWC.Counters object
with the old ASP it worked like
dim COUNTERS
set COUNTERS = Server.CreateObject("MSWC.Counters"
counter.Increment("a1_"&id)
but how is this in ASP.NET??
I tryed arround like
object counter = new Server.CreateObject("MSWC.Counters"
counter.Increment("a1_"+id);
I getting an error back:
'object' does not contain a definition for 'Increment'
I also tryed to use following code in global.asax like in global.asa:
<object id="Counter" runat=server progid="MSWC.Counters" scope="Application" />
There I also get the same error!
Does anyone know to use MSWC.Counters ???(included in IIS 5.0)
Please HELP!!
powerwave