Forum Moderators: open

Message Too Old, No Replies

An ASP Search Script

which does not include Create.Object

         

cmatcme

5:24 pm on Mar 12, 2005 (gmt 0)

10+ Year Member



Does anyone out there know a resource or can provide a script which gives me an ASP script which does not include CreateObject function?

syber

7:34 pm on Mar 12, 2005 (gmt 0)

10+ Year Member



What exactly is it you are trying to do? The is no requirement to use the CreateObject method. You can have scripts that just use the built-in ASP objects, such as Response.Write or Request("id"). The only time you need CreateObject is when you wish to use custom objects.

An alternative to CreateObject is to use the OBJECT tag:
<OBJECT RUNAT=Server SCOPE=Session ID=MyConn
PROGID="ADODB.Connection">
</OBJECT>

lovethecoast

7:42 pm on Mar 12, 2005 (gmt 0)

10+ Year Member



If you're trying to search for files on the system, the only way to do this is through FileSystemObject or some other custom control that follows Windows security.

If your provider isn't letting you use custom controls, it's definitely time to find another! Even the $4.95 a month sites let you use built-in controls.

S

cmatcme

2:38 pm on Mar 13, 2005 (gmt 0)

10+ Year Member



lovethecoast, i'll try an find another host.

cmatcme

2:49 pm on Mar 13, 2005 (gmt 0)

10+ Year Member



What exactly is it you are trying to do?

Have the ability for users to search my site via my custom search engine.

----

The only time you need CreateObject is when you wish to use custom objects.

Do you need custom objects for to have a custom search engine.

----

Custom

By custom a mean a search engine which does not need google site search to run.

----