Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 21st, 2003, 08:17 AM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ado getchildren problem

I get an empty recordset from the getchildren method. My code is as follows:
    rec.Open "", "URL=http://server/mesaieux/images/Actes/", ,adOpenIfExists Or adCreateCollection

Set rs = rec.GetChildren

The server has the frontpage 2002 server extensions and all the directories enable browsing in IIS5. The //server/mesaieux/images/Actes/ directory is not empty.

Anybody has an idea

Reply With Quote
  #2 (permalink)  
Old November 21st, 2003, 08:39 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

I think your parameters are not quite right. Example from MDSN (note the extra comma before the options argument)
Quote:
quote:
...As another example, the following code will open a Recordset on the contents of the Winnt directory:

recordset.Open "", "URL=http://YourServer/Winnt/",,,adCmdTableDirect
hth
Phil
Reply With Quote
  #3 (permalink)  
Old November 21st, 2003, 08:46 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Scratch that last post, I just noticed the example I posted is for the Open method of the Recordset object, but your code is fine for the Open method of the Record object.
Reply With Quote
  #4 (permalink)  
Old November 21st, 2003, 01:22 PM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for the try. However, it still does not work.
Anybody knows what should be the IIS5 security parameters required for that code to work?

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ADO.Net Problem akhilesh_g ASP.NET 2.0 Professional 2 December 18th, 2007 05:33 AM
ADO DB problem. KalliMan2 Visual C++ 7 March 27th, 2006 02:00 AM
Ado.net Problem... NitinJoshi General .NET 2 January 10th, 2005 04:49 AM
Ado Image problem alanshen209 Access ASP 0 May 13th, 2004 04:33 PM
getchildren problem Jeantrudel ADO.NET 0 November 25th, 2003 11:46 AM



All times are GMT -4. The time now is 06:01 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.