blah blah blah is here! blah blah » Close

0
votes
0 answers

Split but not always

I want to manually read in a CSV file and use the split to load it into a data table. However, I need to not Split if it is within "". There may be an easier way to do it (if so please let me know) but I'm reading the CSV files ...

2
votes
3 answers

C# Printing HEX to file

foamy
2120

Hi all, I'm doing a project that involves sending a file to a major corporation. This file needs to contain a "EBCDIC HEX 1C" character as a segment terminator. I've tried using the code below, but apparently it ain't right :-/ ...

1
votes
1 answers

File Decryption not working properly

Wrote myself a small password management utility that is supposed to support encryption of a master password file. Everything seems to work fine, and no exceptions are thrown during the entire encrypt/decrypt operation. However upon trying ...

1
votes
1 answers

hashing

muster
1441

Hello all. I have a c++ question. I have this project in my mind. its like mpq file format. In other words i want to make a files packager where i can store several files in a single file. The problem i'm facing is making a hash key from th ...

1
votes
3 answers

load database from text file

say I have a table named XY_values with columns X_values and Y_values. now, I have a text file xy.txt which contains those x values and y values, with x values in the 1st column and y values in the second column. is there any SQL comm ...

0
votes
1 answers

making a setup file my two projects

salam guyz! i know how to make setup file of my project in c#, BUT i i have now two different projects and want to make one setup file from those so how? will u plz tell me how? tank you very much from your help

0
votes
1 answers

file securing

salam guyz i just made an application which generate a file for me, ok now i want to encrypt that file so when ever someone trys to reead it's contents so he/she should cant (because of security) now can any body help me!!!! if u hel ...

1
votes
1 answers

Creating a back up file

Hello all, In my program I have to create a back up file whenevr a particular class is called. Suppose class MyClass.cs creats a xml file(c:\test.xml) after serialization. when this class is called next time it first checks whether file ...

0
votes
0 answers

Pocket Pc, windows application that loads a .swf flash file

I am working on a ppc and i had too many things not working when opening my web page (flash, jquery..) from explorer mobile browser, same thing with opera 10... so i was thinking what if i make a windows application for pocket pc that loads ...

1
votes
1 answers

File.Create clings on like a b******

foamy
2120

Hi all, Can anyone explain to me why this: [code] File.Create("foamy.txt"); File.ReadAllLines("foamy.txt"); [/code] produces a System.IOException and this: [code] using(StreamWriter sw = new StreamWriter(&quo ...

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
1441

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 ...

Feedback