Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: Detect MouseNotMove event Pin
Mark Salsbery21-Sep-08 14:31
Mark Salsbery21-Sep-08 14:31 
GeneralRe: Detect MouseNotMove event Pin
baranils21-Sep-08 10:54
baranils21-Sep-08 10:54 
GeneralRe: Detect MouseNotMove event Pin
Mark Salsbery21-Sep-08 14:37
Mark Salsbery21-Sep-08 14:37 
GeneralRe: Detect MouseNotMove event Pin
baranils21-Sep-08 19:38
baranils21-Sep-08 19:38 
QuestionDetecting thumb drive insertion and suppressing Autorun. Pin
ihaxxu20-Sep-08 9:05
ihaxxu20-Sep-08 9:05 
AnswerRe: Detecting thumb drive insertion and suppressing Autorun. Pin
Perspx20-Sep-08 9:26
Perspx20-Sep-08 9:26 
GeneralRe: Detecting thumb drive insertion and suppressing Autorun. Pin
ihaxxu21-Sep-08 10:33
ihaxxu21-Sep-08 10:33 
QuestionPls pls pls help me been working on it for weeks Pin
yefeng_law20-Sep-08 7:16
yefeng_law20-Sep-08 7:16 
hi,

this is exactly my first program, i will be using C#. The device i am using is a usb connected PC digital TV receiver this receiver software actually have a function which measure the signal strength, BER and these data are save into an log file (thus it real time measurement data) once i start the device (start watch TV).

I am suppose to use C# to get the real time measurement and convert it into graphic (line chart).

I have try to get the data for the log file and display it in the textbox using the following code

using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Testing_1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
StreamReader objstream = new StreamReader("c:\\measurement.log");
textBox1.Text = objstream.ReadToEnd();

}


but this is the error i got : the file been use by another program.

I also try another method which is directly from the usb port which the device is connected to but i am unable to start working on it coding. i had been looking into example of usb_hib and ICSHARPUSBlib but i was unable to get anything out.

Thus please help me, if i am in the right direction (get the data from usb directly?) or do you have any better item on how i should get this done, any code to refer to.

thank so much
AnswerRe: Pls pls pls help me been working on it for weeks Pin
Harvey Saayman20-Sep-08 9:45
Harvey Saayman20-Sep-08 9:45 
GeneralRe: Pls pls pls help me been working on it for weeks Pin
Colin Angus Mackay20-Sep-08 12:15
Colin Angus Mackay20-Sep-08 12:15 
GeneralRe: Pls pls pls help me been working on it for weeks Pin
yefeng_law20-Sep-08 19:09
yefeng_law20-Sep-08 19:09 
GeneralRe: Pls pls pls help me been working on it for weeks Pin
yefeng_law20-Sep-08 18:46
yefeng_law20-Sep-08 18:46 
QuestionGet refference to active excel instance and callback? Pin
s-p-s20-Sep-08 5:23
s-p-s20-Sep-08 5:23 
QuestionCapture a link click to open a web page... Pin
devzav20-Sep-08 4:51
devzav20-Sep-08 4:51 
AnswerRe: Capture a link click to open a web page... Pin
#realJSOP20-Sep-08 9:49
professional#realJSOP20-Sep-08 9:49 
QuestionMultiQC & QCFile-LinkA interfacing. Pin
Dinker Batra20-Sep-08 3:26
Dinker Batra20-Sep-08 3:26 
AnswerRe: MultiQC & QCFile-LinkA interfacing. Pin
danmol20-Sep-08 23:33
danmol20-Sep-08 23:33 
GeneralRe: MultiQC & QCFile-LinkA interfacing. Pin
danmol20-Sep-08 23:34
danmol20-Sep-08 23:34 
GeneralRe: MultiQC & QCFile-LinkA interfacing. Pin
Dinker Batra20-Sep-08 23:42
Dinker Batra20-Sep-08 23:42 
Questionretrieve a msaccess column description Pin
djjedi20-Sep-08 2:50
djjedi20-Sep-08 2:50 
AnswerRe: retrieve a msaccess column description Pin
Harvey Saayman20-Sep-08 9:47
Harvey Saayman20-Sep-08 9:47 
GeneralRe: retrieve a msaccess column description Pin
djjedi20-Sep-08 11:04
djjedi20-Sep-08 11:04 
GeneralRe: retrieve a msaccess column description Pin
Harvey Saayman20-Sep-08 11:12
Harvey Saayman20-Sep-08 11:12 
GeneralRe: retrieve a msaccess column description Pin
djjedi23-Sep-08 1:48
djjedi23-Sep-08 1:48 
QuestionHow to save with unique ID Pin
manju#12320-Sep-08 2:25
manju#12320-Sep-08 2:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.