|
When I did Application.DoEvents(); no message appears but the file size stopped at 7805 kb and the program stopped and thats cant be because the file must end with the last record in my database table.
|
|
|
|
|
Are there no exceptions?
I looked over your code and couldn't find any problem, so I tried if there is maybe a problem with the filesize (I haven't really awaited that there is an error and there is no error. I was able to create an 9GB large text file without problems).
Do you use any other COM-objects in your project?
At next I would try to do this database-"export" in an own thread.
Greetings
Covean
|
|
|
|
|
Hi, in my database I have a bunch of sums which for example can be broken down to (100*25)/3 or whatever the case may be.
How would I work out programatically the sum in the string in my C# app?
Thanks.
Strive to be humble enough to take advice, and confident enough to do something about it.
|
|
|
|
|
Good question. I had thought .NET provided something for doing that sort of thing, but can't find it.
There are a number of projects on the net which provide functionality for doing that sort of thing. Here's one:
http://www.bestcode.com/html/bcparser_net.html
Regards,
Rob Philpott.
|
|
|
|
|
|
|
Hi,
I want to convert my text file to pdf file ?
is it possible in C#?
Thanking You
Sunil G.
modified on Monday, January 11, 2010 5:00 AM
|
|
|
|
|
Message Closed
modified 23-Nov-14 7:13am.
|
|
|
|
|
I think PDFSharp is third party component.
I dont want to use third party.
|
|
|
|
|
You don't have a choice. There is nothing in the .NET Framework that reads/writes .PDF files natively.
|
|
|
|
|
Id PDFsharp copyrighted or free source ?
Can i use PDFSharp in my C# application?
Can u give the component?
|
|
|
|
|
|
hi..
what is the maximum buffer size in c#.
while i use
byte [] byte = new byte [MAX];
how much will i set maximum value MAX variable.
have ant restriction to set maximum buffer size . can i use this long.MaxValue
Thanks.
|
|
|
|
|
The effective limit is how much RAM your users are going to have.
Int32.MaxValue is about 2GB, which is probably too much to assume is present on your users' machines
Int64.MaxValue is about 1019 which is a ridiculously large number.
Why do you need such a large buffer in the first place? You might want to re-think your algorithm.
Nick
----------------------------------
Be excellent to each other
|
|
|
|
|
i will consider ... thanks for your reply
|
|
|
|
|
Dear developers,
I am coding a very small project for my study. I want to refresh form1 after form2 is closed. For example, I open form1 and click one button to open form2 and in form2 I can insert data to the database (ex : tblItem). In addition, combobox in form1 retrieves data from the database (tblItem) too. So, after inserting data from form2 and when I close the form2, I want the comboxbox in form1 refresh to retrieve the last update of tblItem data.
Please advise, thanks.
Visoth
Chuon Visoth
Angkor Wat - Cambodia
asp.net - c sharp beginner
|
|
|
|
|
How are you showing form2?
If you use form2.ShowDialog() , it won't return until you close form2, so you can just add code after this line in form1.
Nick
----------------------------------
Be excellent to each other
|
|
|
|
|
Let's see my code.
form2 frmitem = new form2();
frmitem.ShowDialog();
Many thanks,
Chuon Visoth
Angkor Wat - Cambodia
asp.net - c sharp beginner
|
|
|
|
|
Hi,
I am new to C#. I want to know what is COM Interop in C#.
|
|
|
|
|
You should
a) search on the internet
b) read a book
to learn about Com Interop.
Here is something to start you up[^].
There are only 10 types of people in this world — those who understand binary, and those who don't. |
|
|
|
|
|
how to check if an ini contains a specific section?
|
|
|
|
|
|
There is a good and free iniParser:http://ndevilla.free.fr/iniparser/
April
Comm100 - Leading Live Chat Software Provider
modified 27-May-14 8:59am.
|
|
|
|
|
Use API to read/write from/to INI files.
|
|
|
|
|
Hi,
I am Jignesh Patel. I am looking to hire someone to work on my C#.Net project for automated testing using UIAutomation. The project will require about 2 hours time commitment per day. I am willing to pay 20 dollars an hour for the work. The candidate must superior skills in C#.NET and knowledge of UIAutomation. Please email me at jignesh4325@gmail.com if you are interested.
Regards,
Jignesh
|
|
|
|