Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2003, 11:59 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default XML Listener

Hi all,
I need a listening program to sit on the server waiting for XML files to be passed to it, then acting on them.

I would like some info on the best way to send the XML file as well as how to set up the listener.

Any tips or reference links would be much appreciated.

Thank you
Rod
__________________
======================================
"They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad."
--Shakespeare
======================================
 
Old June 25th, 2003, 08:53 PM
Registered User
 
Join Date: Jun 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is it in .NET?
I have an application where XML Is heavily involved (create several instructions based on a 'mother' instruction and data from a database.
In .NET I experimented with the new file system watcher but I wasn't too happy with it. Basically when I got more than 60 files at the same time, my code f**ked up and created heavy errors. I got a lot of filelocks, very annoying...
So what I did is a loop (every two seconds) that checks all received files in a loop (for each receivedfile in system.file.directory.getfiles("mydirectory") and then processed that file. For distributing all the results we use FTP.
 
Old June 25th, 2003, 08:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Thanks Dries,
I'll mess arround a bit with your suggestions.
Most of the app is ASP but and the listener will be stand alone VB, I may in the long run do it in .NET for the experience.

THanks again.





Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP Listener aveekb BOOK: Professional Java Development with the Spring Framework 2 May 7th, 2008 04:03 PM
Webservice listener dcrooks .NET Web Services 0 February 18th, 2005 05:33 PM
PHP IIS5 listener stew998 Pro PHP 0 February 9th, 2005 11:36 AM
mouse listener trouble dazednconfused Flash (all versions) 3 October 28th, 2004 02:09 PM
Connecting an XML listener to a VB interface yeeck VB How-To 0 June 23rd, 2003 06:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.