Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: ISBN number?


Message #1 by "Wang, Julia" <Julia.Wang@R...> on Mon, 12 Nov 2001 11:24:00 -0600
Could you give me the ISBN number for the book you suggested?  'Cause I

tried to search for the title but did not get the exact one.

Thanks!

Julia









-----Original Message-----

From: ashwini400@y... [mailto:ashwini400@y...]

Sent: Monday, November 12, 2001 5:42 AM

To: Access ASP

Subject: [access_asp] Re: FileSystemObject and how to get directive

right?





Dear Julia,

Hi !



First of all, the statement 

Set myFSO = Server.CreateObject("Scripting.FileSystemObject") is 

absolutely right. You need not worry about that.



Secondly, if using Server.CreateObject shows "CreateObject failed", then 

it indicates a problem in the setting, best way out is un-install and re-

install PWS(if you are on Win95/98). On Win NT, un-istall and re-install 

the IIS. That should solve teh problem.



Thirdly, do not give command like this, as you have given - > 

Set myFolder = myFSO.GetFolder("\\Webserver\Personal Web\WangJ\asp1" &

FormFold)

Instead say ->

Set myFolder = myFSO.GetFolder(Server.MapPath("foldername"))



Server.MapPath does the conversion from a logical path to a physical path. 

You need not give teh entire path from the root to the current folder.



Last, I would suggest for a person who is new to ASP, get hold of the 

book "Teach Yourself ASP in 21 days", by Mitchell & Atkinson. Its really 

GOOD. And is meant for newbies.



Ashwini.

ashwini400@y...





> 

> Hi Folks!

> 

> First of all, is "Set myFSO 

> 

> Server.CreateObject("Scripting.FileSystemObject") right?

> 

> Secondly, how do I find out the directory to my folders ("asp1" in my 

case) or files? I have part of the code like the following but it won't 

work.

> 

> First of all, with "Server.CreateObject...", when I ran the web page, it

> 

> says"CreateObject failed", then I left out the"Server." using "Set myFSO 



> 

> CreateObject("Scripting.FileSystemObject")" instead, then it tells 

me "Path

> 

> Not Found."

> 

> So please can anyone out there help me?? I am new to ASP. I really need 

some

> 

> guidance.

> 

> <%

> 

> Dim myFSO, myFolder, myFile, FormFold

> 

> FormFold = Request.Form("folder")

> 

> Set myFSO = CreateObject("Scripting.FileSystemObject")

> 

> Set myFolder = myFSO.GetFolder("\\Webserver\Personal Web\WangJ\asp1" &

> 

> FormFold)

> 

> Response.Write "The files in" & myFolder.Name & " are:"

> 

> %>

> 

> <table border="1">

> 

> <tr>

> 

> <td><b>Name</b></td>

> 

> <td><b>Size</b></td>

> 

> <td><b>Type</b></td>

> 

> <td><b>Modified</b></td>

> 

> </tr>

> 

> Thanks a million!

> 

> Julia 

> 

>  

> 

> <*><*><*><*><*><*><*><*><*><*> 

> Julia Wang 

> Acquisition/Serials Librarian 

> Greenlease Library 

> Rockhurst University 

> 1100 Rockhurst Rd. 

> Kansas City, MO 64110 

> Tel:  xxx-xxx-xxxx  

> Fax:  xxx-xxx-xxxx  

> 








Message #2 by "Ken Schaefer" <ken@a...> on Tue, 13 Nov 2001 11:47:29 +1100
http://www.amazon.com/exec/obidos/ASIN/0672318636/ref%3Dsim%5Fbooks/002-0341

545-6738479

(SAMS Teach Yourself Active Server Pages v3 in 21 Days by Mitchell et al)



Also recommended is:

Beginning Active Server Pages v3 by Wrox Press:

http://www.amazon.com/exec/obidos/ASIN/1861003382/qid%3D967421606/sr%3D1-2/0

02-0341545-6738479



Cheers

Ken



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: "Wang, Julia" <Julia.Wang@R...>

Subject: [access_asp] ISBN number?





: Could you give me the ISBN number for the book you suggested?  'Cause I

: tried to search for the title but did not get the exact one.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Message #3 by "Wang, Julia" <Julia.Wang@R...> on Wed, 14 Nov 2001 10:20:43 -0600
Thanks a lot, Ken! :-) Julia









-----Original Message-----

From: Ken Schaefer [mailto:ken@a...]

Sent: Monday, November 12, 2001 6:47 PM

To: Access ASP

Subject: [access_asp] Re: ISBN number?





http://www.amazon.com/exec/obidos/ASIN/0672318636/ref%3Dsim%5Fbooks/002-0341

545-6738479

(SAMS Teach Yourself Active Server Pages v3 in 21 Days by Mitchell et al)



Also recommended is:

Beginning Active Server Pages v3 by Wrox Press:

http://www.amazon.com/exec/obidos/ASIN/1861003382/qid%3D967421606/sr%3D1-2/0

02-0341545-6738479



Cheers

Ken



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: "Wang, Julia" <Julia.Wang@R...>

Subject: [access_asp] ISBN number?





: Could you give me the ISBN number for the book you suggested?  'Cause I

: tried to search for the title but did not get the exact one.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~









  Return to Index