blah blah blah is here! blah blah » Close

0
votes
1 answers

c# beginner read & count !

Hi all, im beginner in c# i want to make a program that read a document and then have an option that can count the words from that document. first i made a menu for the program ===================================== [code]using Syste ...

0
votes
1 answers

reading and writing text files (parsing logs)

hi all, i am a newbie in all the C# world. i have to create an application that will take a certain log and will do parsing to it. first of all it needs to read the lines that contains a certain string and write it to another log with just ...

0
votes
0 answers

read a part of a text file and put it in a 2D array

Hi , I have a text file saved in C:\PROG\t.txt . Apart of the text file which is interested is in below. I want a c# code please, to read the text file and find the the values right after "BIC" that terminate with the slash and ...

0
votes
2 answers

C# read image from spreadsheet, right?

C# source: 01 private void btnRun_Click(object sender, System.EventArgs e) 02 { 03 Workbook workbook = new Workbook(); 04 workbook.LoadFromFile(@"..\..\..\..\..\..\Data\ImageSample.xls"); 05 Worksheet sheet = wo ...

0
votes
2 answers

Extension to(Continue_5: Read a text file into array by c#: http://www.debugging.com/bug/22823)

Hi there, Can u pls help ... This is a continued discussion: http://www.debugging.com/bug/22823 -------------------------------------------------------------------- How the final code mentioned over can be converted into a class: in wh ...

0
votes
1 answers

newbie question regarding reading from file

cami
30

Hi there, I am using C# and I want to read data from a text file and store it effectively using collections no datasets! I know the basics of how to read from file but for this particular file I can ignore the first 10 lines as they a ...

0
votes
1 answers

C# Read Last line from changing file.

Hello. How can I read last line of file that is being changed every 300ms? This is log from game. I need to read every line that is added to this file. Game saves this file every time the new line appears. This file is preety big. So ho ...

0
votes
1 answers

serial port hex Reading in C #

Hi guys, I am reading some data from serial port and its in hex format... How do i store it and use bit-wise operators on it... & | etc.. Example : my incoming data is "pp10A0p" Now i need to take only th ...

0
votes
6 answers

threading with a timer for each thread

Hi, I have to do multithreading. In my case each thread should run in a specified timer interval given in a database. I tried a sample by storing the data in an xml file and reading them with linq to xml. But it seems all the thread take ...

0
votes
0 answers

Working with OleDb Database Connection and Data Reader.

I have to create a marking system. One such table i.e the marking table contains student code and module 1 to module 24 that will contains the individual marks. The program has to check the student code against the actual information foun ...

1
votes
2 answers

Duplicate records being processed with StreamReader

Hi there I am attempting to read lines of a portion of a file into a database using StreamReader. I originally had an object reference error on the line: if (current.Contains("title")) but since I have corrected it, I am ...

0
votes
1 answers

Write and Read Xml Document in A single Process

Please help me to solve this problem. I've a method to write (Thank's to Mr Vulpes) and read Xml document but i put it in a single process, here is the code : [code]void createXMLConnection(){ int valfc=0; ...

0
votes
5 answers

C# application, Read from MySQL Database. Deployed into other machines

if I have a C# application which reads from a local MYSQL database, and when I compiled that C# application, I want to deploy that compiled application into another machine or notebook. Does that mean that I have to re-create the same datab ...

0
votes
1 answers

How to read from registry?

Hi all ! How can my program read from registry a specific key and then the value of the key to be written on a label ?

Feedback