|
-
Nov 20th, 2002, 01:58 PM
#1
Thread Starter
Lively Member
Ad Rotator component
I am getting the message
"Object doesn't support this property or method:'GetAdvertisement'
when i using the code
Set AdRotator= Server.CreateObject("MSWC.AdRotator")
Thanks
-
Nov 21st, 2002, 05:44 AM
#2
New Member
This would be easier to look at if you could provide the rest of the code.
-
Nov 21st, 2002, 08:54 AM
#3
Thread Starter
Lively Member
Set AdRotator= Server.CreateObject("MSWC.AdRotator")
AdRotator.GetAdvertisement ("emp_data/adrot.txt")
Is the only other statement where the adrot.txt is the Rotator Schedule file.
Please let me know
Thanks
-
Nov 21st, 2002, 10:49 AM
#4
Frenzied Member
Try this
Code:
Set AdRotator= Server.CreateObject("MSWC.AdRotator")
response.write (AdRotator.GetAdvertisement ("emp_data/adrot.txt") )
-
Nov 21st, 2002, 12:15 PM
#5
Thread Starter
Lively Member
Thanks andreys
Thanks a lot andreys. It worked.
Could you please explain why i had the problem
-
Nov 21st, 2002, 12:34 PM
#6
New Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|