![]() |
| | #1 |
| Registered User Join Date: Sep 2001
Posts: 804
| where can i get controt.dll? thankx
__________________ oh i'm sorry! i didn;t realize my fist was rushing to meet ur face! MSN :: commander_android@hotmail.com []*[] |
| Commander is offline |
| | #2 |
| 5|-|1+|-|34|) Join Date: Aug 2001
Posts: 4,429
| hmm... i don't know... google couldn't find it for me.. /edit... found it on my computer tho
__________________ EntropySink. You know you have to click it. |
| ober is offline |
| | #3 |
| End Of Line Join Date: Apr 2002
Posts: 6,240
| As you're using PWS, you can always build your own content rotator script. It's pretty easy. And you can connect to a database (MS Access for home use) to get the data etc.
__________________ When all else fails, read the instructions. If you're posting code, use code tags: [code] /* insert code here */ [/code] |
| Hammer is offline |
| | #4 |
| Registered User Join Date: Sep 2001
Posts: 804
| thankx ober! i haven't tried it out yet but i'm going to! and hammer, i'm not that good of a asp coder, i just started learning. who knows? maybe i'll write my own content rotator script someday! anyway, thankx guys!
__________________ oh i'm sorry! i didn;t realize my fist was rushing to meet ur face! MSN :: commander_android@hotmail.com []*[] |
| Commander is offline |
| | #5 |
| End Of Line Join Date: Apr 2002
Posts: 6,240
| In case you're interested, here's a very basic way of printing some random text. In my real code, the response.write()'s are actually calls to other functions that get content from a database, but I cut that out to keep this example short. Code: <%
Function PrintRandomText
MaxFunctions = 5
Randomize
MyNum = Int((MaxFunctions * Rnd) + 1)
Select Case MyNum
Case 1:
Response.Write("Hello everyone")
Case 2:
Response.Write("Welcome")
Case 3:
Response.Write("Bonjour")
Case 4:
Response.Write("Greetings")
Case 5:
Response.Write("Hi ya")
Case Else:
Response.Write("It's all gone wrong!")
End Select
End Function
PrintRandomText
%>
__________________ When all else fails, read the instructions. If you're posting code, use code tags: [code] /* insert code here */ [/code] |
| Hammer is offline |
| | #6 |
| Registered User Join Date: Sep 2001
Posts: 804
| thankx hammer! i will have to put everything in that format now! i goota lot of work to do! EDIT :: and about the controt.dll file, where exactly do i put it? i've put that in system folder, system32 folder and the windows folder, but i am still getting the same error for the content rotator.
__________________ oh i'm sorry! i didn;t realize my fist was rushing to meet ur face! MSN :: commander_android@hotmail.com []*[] Last edited by Commander; 08-06-2002 at 02:52 PM. |
| Commander is offline |
| | #7 |
| End Of Line Join Date: Apr 2002
Posts: 6,240
| >and about the controt.dll file I'm not sure if you can "force" this one in or not. Some people state it's part of the resource kit that you're supposed to order from M$. However, you could try registering it manually. Use something like >start->run >regsvr32 controt.dll If you don't get anywhere, try looking through this lot.
__________________ When all else fails, read the instructions. If you're posting code, use code tags: [code] /* insert code here */ [/code] |
| Hammer is offline |
| | #8 |
| Guest
Posts: n/a
| thankx hammer, but whenever i type that in, i get an error saying >LoadLibrary("controt.dll") failed. >GetLastError Returns 0x00000485 any idea what's causing this? |
| | #9 | |
| End Of Line Join Date: Apr 2002
Posts: 6,240
| Do you have Visual Studio tools? If so you can use them to show you that Quote:
IISRTL.DLL COMSVCS.DLL I don't know if simply finding these 2 DLL's (and their dependencies) and registering them will work. Maybe someone can upload them (Ober?) and you could give it a go. All sounds a bit of a bodge to me though, I'm not placing any money on this one!
__________________ When all else fails, read the instructions. If you're posting code, use code tags: [code] /* insert code here */ [/code] | |
| Hammer is offline |
| | #10 |
| Registered User Join Date: Sep 2001
Posts: 804
| who knew just get a simple content rotator thing working, i had to do this much work! ayway, i'll give thise a try
__________________ oh i'm sorry! i didn;t realize my fist was rushing to meet ur face! MSN :: commander_android@hotmail.com []*[] |
| Commander is offline |
| Thread Tools | |
| Display Modes | |
|