
May 3rd, 2002, 04:50 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
MSWC
<i><b>Originally posted by : Manuel</b></i><br />Hello!<br />I'm tryin' to use the MSWC.Counters object<br />with the old ASP it worked like<br />dim COUNTERS<br />set COUNTERS = Server.CreateObject("MSWC.Counters")<br />counter.Increment("a1_"&id)<br /><br />but how is this in ASP.NET??<br />I tryed arround like<br />object counter = new Server.CreateObject("MSWC.Counters");<br />counter.Increment("a1_"+id);<br /><br />I getting an error back:<br />'object' does not contain a definition for 'Increment'<br /><br />I also tryed to use following code in global.asax like in global.asa:<br /><object id="Counter" runat=server progid="MSWC.Counters" scope="Application" /><br /><br />There I also get the same error!<br />Does anyone know to use MSWC.Counters ???(included in IIS 5.0)<br /><br />Please HELP!!<br /><br />Manuel
|