blah blah blah is here! blah blah » Close

0
votes
0 answers

Uploading files to c# from any location

Hello I'm attempting to create a method in my code which allows users to upload files from any location on their desktop. So far, every time I've tried to code this, I get an error saying that 'Access to the path has been denied'. I have ...

0
votes
0 answers

searching for directory and writing it automatically to path

string[] first = File.ReadAllLines("file1.txt"); string[] second = File.ReadAllLines("file2.txt"); string[] third = File.ReadAllLines("file3.txt"); using (StreamWriter sw = new StreamWriter("result. ...

0
votes
0 answers

Importing formatted records into a database

Hi there I'm trying to import a formatted file into my MySQL database. For those familiar, its a BibTeX file. I have no problem importing any data but, whatever I have tried so far, I can't seem to figure out a way for the same record to ...

0
votes
0 answers

download file

hello, i want simple code so i can download file like this [img]http://img692.imageshack.us/img692/7647/17324400.jpg[/img] [img]http://img94.imageshack.us/img94/5895/12610622.jpg[/img]

0
votes
0 answers

File Package

muster
678

Hey all, i'm trying to make a file package where i can concatenate files just like zip or rar without compression. I know i should use Bplus Tree or BTree but i need a good information in details of how to implement one or explain the logic ...

0
votes
3 answers

C# File transfer

Hi I need to write a client/server application that sends files of about 5MB each. The server must be multithreaded(can accept multiple clients at the same time). Is there anyone who can help me please. Thanks

0
votes
1 answers

c# recording screen

Hi, How can i record my screen as a video file. Can i do this with c#. Thanks David

1
votes
1 answers

text file delete line

lios
15

hi i have a text file with 1000 lines and i wand to delete the last line each time i press a button! is any function to delete the last line?? thanks

0
votes
1 answers

Counting the Occurrence of Same Bytes in a Binary File

say I have the below binary file name test.bin. I want to count the occurrence of the same bytes [44 04 85 44 10 10 01 01 10 00 08] in that file. how do I do that? The answer should be 3. Some sample could be be greatly appreciated. thanks. ...

-1
votes
1 answers

how to create my own file format..!??

i'am little good in System.IO; and what i'am eXactly asking is., can we operate in bit level., that is., tat' file format should not be read by any software rather than our's..!?? coding (or) logic (or) idea to proceed needed..!!

1
votes
0 answers

unspecified files

Hi there I'm a newbie to programming but very much willing to work hard and try. We have about 100 servers and on each servers we have the g drive and e drive. early this year there were some temp files dumped all over the 100 ser ...

2
votes
1 answers

Overwrite part of existing Binary File

if I have a existing binary file of 20 bytes, and I want to replace (over-write) portion of that file, say 4 bytes, from index 10 to index 13, how could I do that? I understand that FileMode.Append could be used, but it always append at ...

0
votes
1 answers

Setup with Config File

I asked this on the old board (without an answer) and don't see it here so I'm reposting it because I found an answer in case anyone else needs to do this. My issue was that I store some paths in an app config file and I wanted the user ...

0
votes
0 answers

Storing an image/document in sql server

I need to store email attachments, which may be an image,file, or document in sql server. Which datatype should I use for the column? would it be nvarchar(MAX)?

Feedback