I am getting an error on a program i created, the program seems to work great so i started trying to cause problems (as users will generally do), I have found i can get it to crash if i remove the removable USB drive while it is compressing data to it, below is a small program i...
I am about to create an application to playback recorded data.
The data is held in zip files, each with a text file for serial data (wind speed and direction, position etc), there will be multiple PNG files for screen captures and also up to 10 WAV files for sound recording.
Just want to connect
Just to add a little more below is some basic code, I have tried to just connect and receive the data (i have tried other code just to try to connect):
Public Class Form1...
I have been asked to create a module that receives images over a network and some saple code that works, my problem is the sample code is C++ and i have tried to understand it but with not much success.
The code is only 91 lines long with line spaces (see below):
Fixed At Last - I hope
I think i have cracked it and it is really simple, i just added the NIC IP address to the JoinMulticastGroup and it seems to work everytime now:
I spoke too soon,
The problem is back so the compiling with dot net 3.5 wasn't the problem.
The WSE7 system i am using the DLL in has 4 NIC's fitted and having looked on the net this can cause problems, i have pasted the code below that sets up the socket:
_rxEndpoint = New...
Hi not sure if this is the correct forum thread for this, but i have created a DLL using Vb.net and VS2012 and it works great on my development PC which is Win 7 Professional. The DLL receives Packets over multicast UDP and then reassembles the data and sends acknowledgements back over the...
jmcilhinney, i just wanted to let you know i used the background worker and it seems to work great, i have left a system on test for the next few days to make sure everything does everything it is supposed to., thanks for the help.
Hi i have created a program to collect data from many sensors (video capture, audio capture and sensor data like GPS, Speed etc), the data is saved to a temoporary directory depending on the minute if the minute is odd then it would be saved to something like 'D:\Temp\Odd' and if the current...
I have created a program for recording data from different sensors (data, video capture @ 1 frame every 15 seconds and audio from up to 10 mics), this then gets compressed to a local hard drive directory and a copy of the compressed file is sent to a network drive for back up.
Hi i am creating a program to be used on a ships bridge, the problem i have is at night they have to be able to swith to night mode, i have the program dimming the display but wanted to add a red filter to the form also, i have used Photoshop to show what i want to kind of do:
The Normal Form...
After using trace listener, and letting it crash a couple of times it always stopped at the same point, i found it was the serial port out, when i tried to write to the serial port it timed out for some reason (this seems to take a few hours to happen), so i set the write timeout to 200ms and it...
I have created a small sub to log where the program is:
ErrLogger(New StackTrace(New StackFrame(True)).GetFrame(0).GetFileLineNumber)
the ErrLogger code just writes the value in brackets to a text file so i see what line number it is at, i just call it at the start of each sub...
Thanks, i was wondering if i needed to do something like this or if there was something built in, oh well time to get creative :)
Is there a procedure for dumping the whole app state, this could be useful now and in the future.
I have been working on a project for a few months now and recently i have been having a problem where the program just stops, windows doesn't report it as not responding and the resources used by the program are at normal levels (it isn't increasing).
The program basically records data...