Search results

  1. S

    Question SystemIOException

    Hi Guys, 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...
  2. S

    Question How Best to organise different data?

    Hi all, 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. I have...
  3. S

    Question C++ convert to VB.Net

    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): Imports System.Net.Sockets Imports System.Threading.Thread Imports System.Net Imports System.Text Public Class Form1...
  4. S

    Question C++ convert to VB.Net

    Hi Guys, 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): #include "stdafx.h"...
  5. S

    Question DLL in Win7 Embeded and Win7 Pro

    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: _rx.JoinMulticastGroup(_MulticastIP,NICIPaddress)
  6. S

    Question DLL in Win7 Embeded and Win7 Pro

    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...
  7. S

    Question DLL in Win7 Embeded and Win7 Pro

    Hi Herman, Just to let you know, i recompiled at .NET 3.5 and it worked straight away, so thanks for you help i could have seen myself spending hours pulling my hair out :) Stu
  8. S

    Question DLL in Win7 Embeded and Win7 Pro

    Thanks Herman, I will give that a go i used .NET 4.0 but there is nothing groundbreaking in the code so it should recompile easily enough Stu
  9. S

    Question DLL in Win7 Embeded and Win7 Pro

    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...
  10. S

    Screen Freezing

    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. Stu
  11. S

    Screen Freezing

    Thanks, i will have a look, read and play
  12. S

    Screen Freezing

    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...
  13. S

    Question Graphics freezing

    Hi guys, 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. I...
  14. S

    Question Filter Form Graphic

    Hi guys, just to let you know, i found something that works great : Transparent, Click-Through Forms - CodeProject
  15. S

    Question Filter Form Graphic

    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...
  16. S

    Question Find Where Code Stops

    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...
  17. S

    Question Find Where Code Stops

    I just looked at the TraceListener and it looks alot better than what i have done so, back in and implement this class. Thanks Again, I will let you know what i find :)
  18. S

    Question Find Where Code Stops

    Thanks again, 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...
  19. S

    Question Find Where Code Stops

    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. Cheers Stu
  20. S

    Question Find Where Code Stops

    hi all, 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...
Top Bottom