Search found 449 matches
- Tue Jul 31, 2012 5:01 pm
- Forum: Coding Questions
- Topic: ReadProgramData() stalls my application - why?
- Replies: 4
- Views: 2338
Re: ReadProgramData() stalls my application - why?
Okay, this is weird... It works now, previously it gave me some horribly aligned output. Thanks a lot, it works now!
- Mon Jul 30, 2012 6:14 pm
- Forum: Coding Questions
- Topic: ReadProgramData() stalls my application - why?
- Replies: 4
- Views: 2338
Re: ReadProgramData() stalls my application - why?
Thanks for your response! I updated my code to check whether or not data is to be read, but I get some weird output to the console. There seem to be plenty of empty line breaks. Any idea why that is?
parameter$ = "*.* /E /R:1 /W:1 /IT /NP /NS /NC /V" ; Just some standard parameters to parse ...
parameter$ = "*.* /E /R:1 /W:1 /IT /NP /NS /NC /V" ; Just some standard parameters to parse ...
- Wed Jul 25, 2012 5:51 pm
- Forum: Coding Questions
- Topic: ReadProgramData() stalls my application - why?
- Replies: 4
- Views: 2338
ReadProgramData() stalls my application - why?
Cheers folks!
Please take a look at this tiny little code example. It basically sums up how I would like to use Robocopy from the application I am writing. I would also like to read back whatever robocopy outputs. Problem is: Whenever I use ReadProgramData(), it stalls my application (even though I ...
Please take a look at this tiny little code example. It basically sums up how I would like to use Robocopy from the application I am writing. I would also like to read back whatever robocopy outputs. Problem is: Whenever I use ReadProgramData(), it stalls my application (even though I ...
- Thu Jun 28, 2012 5:48 pm
- Forum: General Discussion
- Topic: Select client IP for connecting to a server
- Replies: 2
- Views: 1204
Select client IP for connecting to a server
Hey folks,
assume a computer has multiple IP addresses which it can use to connect to a server. Is there any way I can tell OpenNetworkConnection() to use any specific IP address for establishing that connection (i.e. the ClientIP() which the server will then see)?
I have already found a solution ...
assume a computer has multiple IP addresses which it can use to connect to a server. Is there any way I can tell OpenNetworkConnection() to use any specific IP address for establishing that connection (i.e. the ClientIP() which the server will then see)?
I have already found a solution ...
- Wed May 02, 2012 7:01 am
- Forum: Windows
- Topic: A few challenges related to the Windows system
- Replies: 16
- Views: 5961
Re: A few challenges related to the Windows system
The (probably more elegant) alternative would be to write my own filesystem driver, which would make the files appear to be there, when in fact, they're still on a remote server and only being downloaded to the local system on demand (like Dropbox). Unfortunately, I have not a single clue how to do ...
- Mon Apr 30, 2012 1:27 pm
- Forum: Windows
- Topic: A few challenges related to the Windows system
- Replies: 16
- Views: 5961
Re: A few challenges related to the Windows system
Well, thank you for your response. Actually, I like to hear that this cannot be done easily, if you know what I mean. I now use a solution similar to FlexLink, with which all open-file requests are first processed by my own application.
- Mon Apr 30, 2012 9:23 am
- Forum: Coding Questions
- Topic: Please check this code snippet (network server stack)
- Replies: 4
- Views: 1836
Re: Please check this code snippet (network server stack)
; I'm assuming at this point that the server is already running - that much is easy.
#SERVER_RECEPTION_LENGTH = 65535 ; How many bytes to receive per round
#NETWORKMESSAGE_TIMEOUT = 5000 ; Timeout for non-finalised messages
#NETWORKMESSAGE_SEPARATOR = Chr(254) ; Separator character between ...
#SERVER_RECEPTION_LENGTH = 65535 ; How many bytes to receive per round
#NETWORKMESSAGE_TIMEOUT = 5000 ; Timeout for non-finalised messages
#NETWORKMESSAGE_SEPARATOR = Chr(254) ; Separator character between ...
- Mon Apr 30, 2012 8:40 am
- Forum: Coding Questions
- Topic: Please check this code snippet (network server stack)
- Replies: 4
- Views: 1836
Re: Please check this code snippet (network server stack)
First of all, thank you very much for your detailled answer, Rich!
I really burnt my hands last time I tried to mess with threaded server applications, so I'll stay a safe distance away from those. I did now increase the reception buffer size to 65535, which really won't make a difference on a ...
I really burnt my hands last time I tried to mess with threaded server applications, so I'll stay a safe distance away from those. I did now increase the reception buffer size to 65535, which really won't make a difference on a ...
- Wed Apr 25, 2012 11:44 am
- Forum: Coding Questions
- Topic: Please check this code snippet (network server stack)
- Replies: 4
- Views: 1836
Please check this code snippet (network server stack)
Hello folks.
I have written a basic network server code, which can receive and store messages into memory, and only release them for further processing once they are deemed to be fully received. Can you please take a look at this code and make comments as to it's reliability, possible sources of ...
I have written a basic network server code, which can receive and store messages into memory, and only release them for further processing once they are deemed to be fully received. Can you please take a look at this code and make comments as to it's reliability, possible sources of ...
- Tue Apr 24, 2012 7:00 am
- Forum: General Discussion
- Topic: Debugging / dealing with users
- Replies: 16
- Views: 3140
Re: Debugging / dealing with users
In my opinion, users, especially those who don't use computers very often except when the nature of their work forces them to, expect far too much. Computer technology is rocket science to them, so somehow they expect us programmers to be able to read their minds or magically interpret those indeed ...
- Tue Apr 17, 2012 12:25 pm
- Forum: General Discussion
- Topic: Just for information: ReceiveHTTPFile() with space chars
- Replies: 2
- Views: 1017
Re: Just for information: ReceiveHTTPFile() with space chars
I stand corrected ^^ Time to cut some trees down, eh?
- Tue Apr 17, 2012 11:47 am
- Forum: General Discussion
- Topic: Just for information: ReceiveHTTPFile() with space chars
- Replies: 2
- Views: 1017
Just for information: ReceiveHTTPFile() with space chars
Well, just in case anyone cares: I just spent about half an hour hunting down a bug which first seemed to prevent me from correctly uploading a file to an FTP server. As it turns out, the upload was fine, the download with ReceiveHTTPFile() was the problem - whenever there was a space character in ...
- Tue Apr 17, 2012 8:05 am
- Forum: Off Topic
- Topic: New technology :-)))
- Replies: 2
- Views: 1185
Re: New technology :-)))
These items have quite a price tag
Here's one very useful I spotted recently: http://www.intenso.de/produkte_en.php?k ... 1266500107 Gonna get one of these soon so I'll never have to ask a smoker to open my beer with their lighter again 


- Mon Apr 16, 2012 12:53 pm
- Forum: Coding Questions
- Topic: Monitoring a directory for new files being added
- Replies: 56
- Views: 37809
Re: Monitoring a directory for new files being added
Terribly sorry to dig up this old thread, but I am having problems with the solution by Sparkie. It seems to randomly miss events.
I simply tested the code (which I updated a little bit, I'll post it below) by copy-n-pasting a considerable number of files and a few subdirectories, each of them also ...
I simply tested the code (which I updated a little bit, I'll post it below) by copy-n-pasting a considerable number of files and a few subdirectories, each of them also ...
- Thu Apr 12, 2012 8:05 am
- Forum: Off Topic
- Topic: Multiple servers, multiple clients, one file inventory
- Replies: 5
- Views: 1382
Re: Multiple servers, multiple clients, one file inventory
It's what I do at work. It's for a customer, but to be sold later on. The thing is, I will be leaving my current company by the end of the month so I'm somewhat pressed for time.
A localised version of dropbox with your own servers, providing full network performance and storing large amounts of ...
A localised version of dropbox with your own servers, providing full network performance and storing large amounts of ...