Suljettu

File append in VB.NET

Hello All

I currently have a simple CSV file and a random access file of structure:

Public Structure actStock

<VBFixedString(13)> Dim Scan As String

<VBFixedString(15)> Dim SupRef As String

<VBFixedString(35)> Dim Name As String

<VBFixedString(8)> Dim Size As String

<VBFixedString(8)> Dim Price As String

<VBFixedString(4)> Dim Qty As String

<VBFixedString(13)> Dim AltScan As String

<VBFixedString(8)> Dim Test As String

End Structure

There are 4 machines which need to share data-files. 2 Windows XP Tills, 1 Windows XP Main machine and a hand-held device. The hand-held is capable of accessing the random file on the Main machine(XP).

Both tills output a file [url removed, login to view] to the working directory (configured in settings file). What I need is the code for a VB.NET windows service (I do need the code not just an EXE as this must be able to be modified). The service will run on both of the tills and monitor the working directory for [url removed, login to view] changing size (This part of the code is done and can be provided if needed) On the size changing I want the contents of the file (CSV Format) appended to a file ([url removed, login to view]) on the main machine effectively joining the files. This is the minimum that is needed.

I will then need to read the same file (CSV) that was appended to the [url removed, login to view] (CSV) and capture the Quantity field (4 characters) and the Barcode field (13 charaters). I will then perform a binary search on the random file ([url removed, login to view]) [Also hosted on the main PC] to find the appropriate record and add the number in the quantity field of the csv (Which is an adjustment not the actual qty as in the random file) and add the values together to create a new value. I do NOT need this part done I already have the code using a filestream. I simply need to access the file with a filestream.

So to sum up I need. VB.NET code that can access a file hosted over the network on a different machine with:

VITAL: THIS MUST BE ON A SERVICE

On a windows forms project my current code works however when I make it a service I get access denied or IO exceptions all the time. So please ensure your code works as a service before reporting completion.

1. Any kind of way to append the contents of one file to the remote file

2. Filestream access to a file across the network.

You do not actually need to do the processing just the access and close down code for the files.

I am on a very tight schedule for this so I need the code by Monday 14th September.

Thanks again

Dexter

Taidot: .NET, Tietoturva, tietojenkäsittely, Visual Basic, Windows Desktop

Näytä lisää: what is search string, what is record in data structure, what is my name in binary code, what is my name in binary, what is data structure in c, what is data in data structure, what is binary search in data structure, what is binary search in c, what is binary search, what is a binary search, vb this, vb.net if, up string, sum binary, string search in c, string processing in c, string in data structure, string find c, string data structure, simple vb net code, simple binary code, simple binary, search in.net, search binary, price file

Tietoa työnantajasta:
( 0 arvostelua ) Lincoln, United Kingdom

Projektin tunnus: #506226

12 freelanceria on tarjonnut keskimäärin 201 $ tähän työhön

jaip1

Check PMB!

250 $ USD 3 päivässä
(1 arvostelu)
0.0
jcairns

I have written several windows services for other clients that I have had. I can get this completed by your deadline.

225 $ USD 2 päivässä
(0 arvostelua)
0.0
coolbaddycool

i can fulfill ur requirements

200 $ USD 2 päivässä
(0 arvostelua)
0.0
nitinksingh

Hi, Myself Nitin Kumar Singh, from Delhi, India working in one of the top MNC as a S/W engineer. In my total IT exp. of almost 6 years, I have worked in languages/db like ASP.NET,C#,VB.NET, XML,JavaScript,AJAX,SQL Lisää

100 $ USD 15 päivässä
(0 arvostelua)
0.0
kiojcee

Hi, i can do it.

200 $ USD 4 päivässä
(0 arvostelua)
0.0
djg973

please see my pm

500 $ USD 3 päivässä
(1 arvostelu)
0.0
SJSITConsulting

please see PM

350 $ USD 20 päivässä
(0 arvostelua)
0.0
zeshansadiq

Dear Sir, I have more than 3 years of experience in the IT industry, Having enough work experience in IT, I have experience to work with many Web Technologies, Software Development, Database Development, Programming La Lisää

200 $ USD 15 päivässä
(0 arvostelua)
0.0
sohaibshaikh

Dear Sir, i am a professional software developer working in a multinational software house as a Sr. Software engineer for 3 years ... the task you mentioned is not that tough ...you have asked to check the file size .. Lisää

100 $ USD 2 päivässä
(0 arvostelua)
0.0
fazalbhi

5 years of .Net [url removed, login to view] in getafreelancer and looking for a start.

30 $ USD 10 päivässä
(0 arvostelua)
0.0
sukhsofts

Hi, Please check PMB.

79 $ USD 2 päivässä
(0 arvostelua)
0.0
Fransj

I can create this before monday morning!

180 $ USD 1 päivässä
(0 arvostelua)
0.0