Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: asp help plzzzz


Message #1 by "Roy, Siddarth S" <sroy@b...> on Fri, 15 Nov 2002 14:27:20 -0500
Hi guys

I have come across an issue here.The probelm is can i search the clients 
system for specific file in the hard drive for the asp page . though i 
am running short on ideas com idea will also be good any ideas how would 
i go abt doing this system
thro asp or com or vbs (wsh srcipt ) which i can implement on the system 



Hope  i explained the probelm correctly

please help....

thx
sid



Message #2 by Mark Eckeard <meckeard2000@y...> on Fri, 15 Nov 2002 12:07:37 -0800 (PST)
Roy,

You can use the filesystemobject.

Mark.
--- "Roy, Siddarth S" <sroy@b...> wrote:
> Hi guys 
> 
> I have come across an issue here.The probelm is can
> i search the clients system for specific file in the
> hard drive for the asp page . though i am running
> short on ideas com idea will also be good any ideas
> how would i go abt doing this system 
> thro asp or com or vbs (wsh srcipt ) which i can
> implement on the system 
> 
> 
> Hope  i explained the probelm correctly
> 
> please help....
> 
> thx 
> sid 
> 
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
Message #3 by "Roy, Siddarth S" <sroy@b...> on Fri, 15 Nov 2002 15:12:18 -0500
how i can access client hard drive thro file system object i can status 
of web server thro that not the c drive of client who is usin my 
asppages

hope this helps
sid


-----Original Message-----
From: Mark Eckeard [mailto:meckeard2000@y...]
Sent: Friday, November 15, 2002 3:08 PM
To: ASP Databases
Subject: [asp_databases] Re: asp help plzzzz


Roy,

You can use the filesystemobject.

Mark.
--- "Roy, Siddarth S" <sroy@b...> wrote:
> Hi guys
>
> I have come across an issue here.The probelm is can
> i search the clients system for specific file in the
> hard drive for the asp page . though i am running
> short on ideas com idea will also be good any ideas
> how would i go abt doing this system
> thro asp or com or vbs (wsh srcipt ) which i can
> implement on the system
>
>
> Hope  i explained the probelm correctly
>
> please help....
>
> thx
> sid
>
>
>
>


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

Message #4 by "Kim" <kimiwan@k...> on Fri, 15 Nov 2002 21:59:17 +0100
Are your clients on the same LAN as the webserver? - otherwise you can't do
it.

-Kim

> -----Original Message-----
> From: Roy, Siddarth S [mailto:sroy@b...]
> Sent: 15. november 2002 21:12
> To: ASP Databases
> Subject: [asp_databases] Re: asp help plzzzz
>
>
> how i can access client hard drive thro file system object i can
> status of web server thro that not the c drive of client who is
> usin my asppages
>
> hope this helps
> sid
>
>
> -----Original Message-----
> From: Mark Eckeard [mailto:meckeard2000@y...]
> Sent: Friday, November 15, 2002 3:08 PM
> To: ASP Databases
> Subject: [asp_databases] Re: asp help plzzzz
>
>
> Roy,
>
> You can use the filesystemobject.
>
> Mark.
> --- "Roy, Siddarth S" <sroy@b...> wrote:
> > Hi guys
> >
> > I have come across an issue here.The probelm is can
> > i search the clients system for specific file in the
> > hard drive for the asp page . though i am running
> > short on ideas com idea will also be good any ideas
> > how would i go abt doing this system
> > thro asp or com or vbs (wsh srcipt ) which i can
> > implement on the system
> >
> >
> > Hope  i explained the probelm correctly
> >
> > please help....
> >
> > thx
> > sid
> >
> >
> >
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com
>
>
>


Message #5 by "Roy, Siddarth S" <sroy@b...> on Fri, 15 Nov 2002 16:21:02 -0500
if they are in the same lan as the webserver  how could i do it

sid

-----Original Message-----
From: Kim [mailto:kimiwan@k...]
Sent: Friday, November 15, 2002 3:59 PM
To: ASP Databases
Subject: [asp_databases] Re: asp help plzzzz


Are your clients on the same LAN as the webserver? - otherwise you can't 
do
it.

-Kim

> -----Original Message-----
> From: Roy, Siddarth S [mailto:sroy@b...]
> Sent: 15. november 2002 21:12
> To: ASP Databases
> Subject: [asp_databases] Re: asp help plzzzz
>
>
> how i can access client hard drive thro file system object i can
> status of web server thro that not the c drive of client who is
> usin my asppages
>
> hope this helps
> sid
>
>
> -----Original Message-----
> From: Mark Eckeard [mailto:meckeard2000@y...]
> Sent: Friday, November 15, 2002 3:08 PM
> To: ASP Databases
> Subject: [asp_databases] Re: asp help plzzzz
>
>
> Roy,
>
> You can use the filesystemobject.
>
> Mark.
> --- "Roy, Siddarth S" <sroy@b...> wrote:
> > Hi guys
> >
> > I have come across an issue here.The probelm is can
> > i search the clients system for specific file in the
> > hard drive for the asp page . though i am running
> > short on ideas com idea will also be good any ideas
> > how would i go abt doing this system
> > thro asp or com or vbs (wsh srcipt ) which i can
> > implement on the system
> >
> >
> > Hope  i explained the probelm correctly
> >
> > please help....
> >
> > thx
> > sid
> >
> >
> >
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com
>
>
>



Message #6 by "Kim Iwan Hansen" <kimiwan@k...> on Sat, 16 Nov 2002 01:11:48 +0100
Use the client's IP address or machine name (both from the servervariables
collection) to build the path to the c drive of the machine.  Then use the
filesystemobject to check it. Of course, you must have the necessary
permissions on each of the machines you'll be checking.

-Kim

> -----Original Message-----
> From: Roy, Siddarth S [mailto:sroy@b...]
> Sent: 15. november 2002 22:21
> To: ASP Databases
> Subject: [asp_databases] Re: asp help plzzzz
>
>
> if they are in the same lan as the webserver  how could i do it
>
> sid
>
> -----Original Message-----
> From: Kim [mailto:kimiwan@k...]
> Sent: Friday, November 15, 2002 3:59 PM
> To: ASP Databases
> Subject: [asp_databases] Re: asp help plzzzz
>
>
> Are your clients on the same LAN as the webserver? - otherwise
> you can't do
> it.
>
> -Kim
>
> > -----Original Message-----
> > From: Roy, Siddarth S [mailto:sroy@b...]
> > Sent: 15. november 2002 21:12
> > To: ASP Databases
> > Subject: [asp_databases] Re: asp help plzzzz
> >
> >
> > how i can access client hard drive thro file system object i can
> > status of web server thro that not the c drive of client who is
> > usin my asppages
> >
> > hope this helps
> > sid
> >
> >
> > -----Original Message-----
> > From: Mark Eckeard [mailto:meckeard2000@y...]
> > Sent: Friday, November 15, 2002 3:08 PM
> > To: ASP Databases
> > Subject: [asp_databases] Re: asp help plzzzz
> >
> >
> > Roy,
> >
> > You can use the filesystemobject.
> >
> > Mark.
> > --- "Roy, Siddarth S" <sroy@b...> wrote:
> > > Hi guys
> > >
> > > I have come across an issue here.The probelm is can
> > > i search the clients system for specific file in the
> > > hard drive for the asp page . though i am running
> > > short on ideas com idea will also be good any ideas
> > > how would i go abt doing this system
> > > thro asp or com or vbs (wsh srcipt ) which i can
> > > implement on the system
> > >
> > >
> > > Hope  i explained the probelm correctly
> > >
> > > please help....
> > >
> > > thx
> > > sid
> > >
> > >
> > >
> > >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Web Hosting - Let the expert host your site
> > http://webhosting.yahoo.com
> >
> >
> >
>
>
>
>
>


Message #7 by "jasmin shah" <jasmin_shah@h...> on Fri, 15 Nov 2002 21:09:16 -0600
How can I add all the checkboxes which are next to the products that I
am selling to the cart.
Here is the code:

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/ecom.asp" -->
<%
Dim rs_beads
Dim rs_beads_numRows

Set rs_beads = Server.CreateObject("ADODB.Recordset")
rs_beads.ActiveConnection = MM_ecom_STRING
rs_beads.Source = "SELECT * FROM Products"
rs_beads.CursorType = 0
rs_beads.CursorLocation = 2
rs_beads.LockType = 1
rs_beads.Open()

rs_beads_numRows = 0
%>
<!--#include file="Connections/con_ecom.asp" -->
<%
Dim rs_beads
Dim rs_beads_numRows

Set rs_beads = Server.CreateObject("ADODB.Recordset")

rs_beads.Source = "SELECT * FROM Products"
rs_beads.CursorType = 0
rs_beads.CursorLocation = 2
rs_beads.LockType = 3
rs_beads.Open()

rs_beads_numRows = 0
%>
 <title>Beads</title>

<body background="bg.gif">
<p align="center"><font size="6" color="#2FAAB0"><b>Beads</b></font></p>



<CENTER>



<HR>





<TABLE BORDER=1 CELLSPACING=2 CELLPADDING=2 BGCOLOR=adcfdc width="473">



<TR>

<TD width="148"><B>Beads</B></TD>

<TD width="128"><B>Name/Beads Size</B></TD>

<TD width="58"><B>Price</B></TD>

<TD width="66"><B>Order</B></TD>

</TR>



<FORM NAME="itemsform" method="POST" action="shop_cart.asp">



<HTML>



<HEAD>



<tr>

<TD ALIGN="RIGHT" width="148">



<a href="Kodak%20Pictures/2002-09-26/med--amethyst.gif">



<img border="0" src="Kodak%20Pictures/2002-09-26/med--amethyst.gif"
width="169" height="123"></a></TD>



      <TD ALIGN="LEFT" width="47"
valign="top"><%=(rs_beads.Fields.Item("ProductName").Value)%> 
      </TD>



<TD width="33"
valign="top"><p><%=(rs_beads.Fields.Item("UnitPrice").Value)%> 
        <p>&nbsp;<p>$50.00

<p>$45.00

<TD width="1" valign="top"><p>&nbsp;</p>

        <p> 
          <input type="checkbox" name="C1">
        
        <p>

<input type="checkbox" name="C2" value="ON"></TD>



</tr>

<tr>

<TD ALIGN="RIGHT" width="148">



<a href="Kodak%20Pictures/2002-09-26/med-blackonyx.gif">



<img border="0" src="Kodak%20Pictures/2002-09-26/med-blackonyx.gif"
width="187" height="169"></a></TD>



<TD ALIGN="LEFT" width="47" valign="top">



 <b>Black Onyx</b><p>



 <b>6mm<font color="#0099CC"> </font></b>

 <p>



 <b>4mm</TD>



<TD width="33" valign="top"><p>

<p>&nbsp;<p>$40.00

<p>$30.00

<TD width="1" valign="top"><p>&nbsp;</p>

<p>

<input type="checkbox" name="C3" value="ON"><p>

<input type="checkbox" name="C4" value="ON"></TD>











</tr>

<tr>

<TD ALIGN="RIGHT" width="148">



<a href="Kodak%20Pictures/2002-09-26/med-grn-aven.gif">



<img border="0" src="Kodak%20Pictures/2002-09-26/med-grn-aven.gif"
width="187" height="156"></a></TD>



<TD ALIGN="LEFT" width="47" valign="top">



 <b>Green Aventurine</b><p>



 <b>6mm<font color="#0099CC"> </font></b>

 <p>



 <b>4mm</TD>



<TD width="33" valign="top"><p>

<p>&nbsp;<p>$40.00

<p>$30.00

<TD width="1" valign="top"><p>&nbsp;</p>

<p>

<input type="checkbox" name="C5" value="ON"><p>

<input type="checkbox" name="C6" value="ON"></TD>











</tr>

<tr>

<TD ALIGN="RIGHT" width="148">



<a href="Kodak%20Pictures/2002-09-30/sm-gar-nk.gif">



<img border="0" src="Kodak%20Pictures/2002-09-30/sm-gar-nk.gif"
width="170" height="167"></a></TD>



<TD ALIGN="LEFT" width="47" valign="top">



 <b>Garnet Necklace</b><p>&nbsp;



 <p>



 <b>3mm</b></TD>



<TD width="33" valign="top"><p>

<p>&nbsp;<p>&nbsp;<p>$20.00

<TD width="1" valign="top"><p>&nbsp;</p>

<p>&nbsp;

<p>

<input type="checkbox" name="C7" value="ON"></TD>











</tr>

</TABLE>

</CENTER>

</FORM>

<HR>



<CENTER>

<p><FONT SIZE=-2>&nbsp;<A HREF="main.htm">Back to Start</A>

<a href="SecondBeadsPage.htm">Next</a></FONT></p>

</CENTER>



</HTML>
<%
rs_beads.Close()
Set rs_beads = Nothing
%>
Detail </body>
-----Original Message-----
From: Mark Eckeard [mailto:meckeard2000@y...] 
Sent: Friday, November 15, 2002 2:08 PM
To: ASP Databases
Subject: [asp_databases] Re: asp help plzzzz

Roy,

You can use the filesystemobject.

Mark.
--- "Roy, Siddarth S" <sroy@b...> wrote:
> Hi guys 
> 
> I have come across an issue here.The probelm is can
> i search the clients system for specific file in the
> hard drive for the asp page . though i am running
> short on ideas com idea will also be good any ideas
> how would i go abt doing this system 
> thro asp or com or vbs (wsh srcipt ) which i can
> implement on the system 
> 
> 
> Hope  i explained the probelm correctly
> 
> please help....
> 
> thx 
> sid 
> 
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

Message #8 by "Roy, Siddarth S" <sroy@b...> on Mon, 18 Nov 2002 09:41:08 -0500
can we include a vbs file in asp which has wsh functions written in it

can we do that

thanx in advance
sid


-----Original Message-----
From: Kim Iwan Hansen [mailto:kimiwan@k...]
Sent: Friday, November 15, 2002 7:12 PM
To: ASP Databases
Subject: [asp_databases] Re: asp help plzzzz


Use the client's IP address or machine name (both from the 
servervariables
collection) to build the path to the c drive of the machine.  Then use 
the
filesystemobject to check it. Of course, you must have the necessary
permissions on each of the machines you'll be checking.

-Kim

> -----Original Message-----
> From: Roy, Siddarth S [mailto:sroy@b...]
> Sent: 15. november 2002 22:21
> To: ASP Databases
> Subject: [asp_databases] Re: asp help plzzzz
>
>
> if they are in the same lan as the webserver  how could i do it
>
> sid
>
> -----Original Message-----
> From: Kim [mailto:kimiwan@k...]
> Sent: Friday, November 15, 2002 3:59 PM
> To: ASP Databases
> Subject: [asp_databases] Re: asp help plzzzz
>
>
> Are your clients on the same LAN as the webserver? - otherwise
> you can't do
> it.
>
> -Kim
>
> > -----Original Message-----
> > From: Roy, Siddarth S [mailto:sroy@b...]
> > Sent: 15. november 2002 21:12
> > To: ASP Databases
> > Subject: [asp_databases] Re: asp help plzzzz
> >
> >
> > how i can access client hard drive thro file system object i can
> > status of web server thro that not the c drive of client who is
> > usin my asppages
> >
> > hope this helps
> > sid
> >
> >
> > -----Original Message-----
> > From: Mark Eckeard [mailto:meckeard2000@y...]
> > Sent: Friday, November 15, 2002 3:08 PM
> > To: ASP Databases
> > Subject: [asp_databases] Re: asp help plzzzz
> >
> >
> > Roy,
> >
> > You can use the filesystemobject.
> >
> > Mark.
> > --- "Roy, Siddarth S" <sroy@b...> wrote:
> > > Hi guys
> > >
> > > I have come across an issue here.The probelm is can
> > > i search the clients system for specific file in the
> > > hard drive for the asp page . though i am running
> > > short on ideas com idea will also be good any ideas
> > > how would i go abt doing this system
> > > thro asp or com or vbs (wsh srcipt ) which i can
> > > implement on the system
> > >
> > >
> > > Hope  i explained the probelm correctly
> > >
> > > please help....
> > >
> > > thx
> > > sid
> > >
> > >
> > >
> > >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Web Hosting - Let the expert host your site
> > http://webhosting.yahoo.com
> >
> >
> >
>
>
>
>
>




  Return to Index