473,379 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

VBA: Reciprocal functionality ?

Dear All,

I am putting together a section of code which needs to scan a number of
directory trees. For example ...

c:\abc
c:\abc\def
c:\abc\hij
c:\abc\def\klm

.... and then put these into XML format for navigation with a web browser.

So far I have tried coding it up using VBA using tables (and SQL) or
internal arrays. I have had some success but keep coming up against
problems of blowing the 255 character limit in tables and with
reciprocal coding using arrays (i.e. a particular piece of code needing
to re-visit and re-processing a constantly growing array).

For example, once I have scanned each parent directory, I then need to
scan the child directories but I find that arrays are really unwieldy
when it comes to filtering and sorting. Tables are better but for
portability (later) I would rather do it in internal memory.

Anyway, I can't help thinking that I am probably busy 're-inventing the
wheel' here and there must certainly be blocks of code available to do
this? Maybe even a piece of functionality which directly spits my
structures out to XML?

Any tips or thoughts or pointers to 'HOWTOs' would be most gratefully
received.

Many thanks,
Alan Searle.

PS: remove the xxx to send me an e-mail.
Feb 18 '06 #1
1 2232
You have considered and rejected something like:
<form action=folders.htm method=get>
<input id="file" name="file" type=file size="80"/>
</form>
which allows the user to browse his/her files and enter the selection
into a textbox?

trivial example at:
http://ffdba.com/folders.htm

Feb 18 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: valerian dinca | last post by:
Hi, This is my latest article for your consideration. If you think that this article could interest your subscribers it is free to reprint in your ezine and/or newsletter as long as you: 1....
2
by: work4u | last post by:
Hello Everyone, I am coding the reciprocal link exchange form which there is function to check if my site info and link already been add on the partner site page or not. Please anyone who works...
12
by: guy lateur | last post by:
Hi all, I am trying to write some code (macro's, if you like) to glue together our Office applications (mainly Word, Excel and Outlook). We have a lot of different projects going on...
6
by: Ieuan | last post by:
Hello all and Happy New Year, I've been having this problem for some time and thought I'd try to see if anyone else out there has had the same problem or can give a little help. I'm using a...
0
by: Martin Brunner | last post by:
Hi there, I have to use a C#-Library from Excel VBA. This __works__ fine over COM (Reference to the .tlb, that is created by .NET, out of VBA). But only __without__ in C#1 __With__, for...
12
by: Striker | last post by:
I have never used VB, so sorry for the novice questions. I have a very small app in vba that only uses excel as a place to put a button and some code that I need to move to VB. Now it seems...
0
by: mix01 | last post by:
Hi, I am trying to get some VBA code working, but am preplex as to why it does not work. I would really appreciate any level of help. Many thanks, Mix01 Version of the program
7
by: =?Utf-8?B?Z2s=?= | last post by:
I wonder how to export a call in vba from unmanaged vc++ Usually i can export function ...with stdcall In vb.net I can do that with com class. I would like to instantiate an object from vba. ie...
3
MMcCarthy
by: MMcCarthy | last post by:
Although some users find Macros simple and easy to use, there are some major limitations to using them. Although you can use macros to perform tasks, there is limited control on when and how those...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.