Search results for query: *

  1. S

    Continuously writing received data from serial to textfile.

    Hi there, For my project, I'm looking for a resolution for my problem. Every second I got a new data from my serial port. When I want to write this to a file, I only get one time the data that has been written. What Do I have to to to fix this, a program code would be helpfull. Kind regards and...
  2. S

    Auto select Serial Port

    okay thx, i'll give it a try
  3. S

    Auto select Serial Port

    Hi there, is there a way, when a program is started, to automatically select the serial port and ask the user if this is correct I'm using the following, but I want to make it more user friendly. window loaded: foreach (string s in SerialPort.GetPortNames()) { cbxComPort.Items.Add(s); }...
  4. S

    Answered Stop SoundPlayer in 'Alarm' program.

    Can I do it in an other way?
  5. S

    Answered Stop SoundPlayer in 'Alarm' program.

    namespace ClockAlarm { public partial class Form1 : Form { System.Timers.Timer timer; SoundPlayer player = new SoundPlayer(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e)...
  6. S

    Answered Stop SoundPlayer in 'Alarm' program.

    Ahh, do you see the code, cause I don't. sh*t using de left </> icoon?
  7. S

    Answered Stop SoundPlayer in 'Alarm' program.

    Hi there, :) okay, Thx, well take a look at my rewritten code, it has an other wav file - simple. [/CODE]
  8. S

    Answered Stop SoundPlayer in 'Alarm' program.

    Hi there, I've adjusted this and it works properly. Thanks. Now another problem. I want to set this little program on the computers of my kids. So in the debug file I can find the executabe file. If I copy this file on their computer it works, yet the WAV file that I also copy/paste in the...
  9. S

    Answered Stop SoundPlayer in 'Alarm' program.

    Hi there UAll, New in using CSharp and learning step by step - also following some creations from YouTube. So Here I am to put my question to you all. First, here's my program - Clock Alarm: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using...
Back
Top Bottom