you were helped. you didn't tell us you had a problem. you only wanted us to tell you how to do it. Have a go first, when you hit a problem, then ask for help - I will guarantee you will get help then. Don't go off all grumpy because because you asked the wrong question....google for it, have a go, and see the difference a bit of effort makes.;)
Most of the time this is caused by a very stupid programming error. It happened to me when I just started using C#, I did nogt completely understand the concept of properties and made a prperty assign to itself.
It is difficult to give a general way out. Your best chance is to try isolate the probleme, but maybe you have to tear down your complete application to find out which line of code causes the problem.
You may use breakpoints to find out where your application uses operations that appear to take a long time (normally it takes some time to fill such an amount of memory).
Thanks for the response.....
I want the log details of an application to be saved for every 10 mins....
I made the log details available in textboxes and labels....
How to export the details to the excel sheet....
I have got information regarding exporting the datagridview but i did'nt use datagridview in any part of my code....
Please Help me to transfer the details entered in textboxes and labels to excel sheet without using a datagridview.
Thank you very much for looking at and answer my questions.
I develope mobile phone program using c# 2005,I set the anthor property of a datagrid control,but it does not work.I don't why,maybe it have something to do with my program achitecture.Because all my control is added according to a text file,which decide what kind of control to add and their property value,my program read this text file,and add control dynamicly.
Thanks for answering.
I need to print encrypted customer details as a barcode. then need to scan the data and read back the details.
My approch is like this,
I encrypted the string data using cryptoservices and get memory stream and sen the byte array data as unmanaged byte arra to the printer.
Byte bytes = memoryStream.GetBuffer();
IntPtr pUnmanagedBytes = new IntPtr(0);
PrintDirect.writePrinter - normal pront command to write data to the printer. Theres a scan divice configured to a com port to scan the barcode. When i scan the barcode I need to read that data (that I send as unmanaged byte array to the printer). and decrypt it and get the initial customer details.
everything works fine if I send my data as a string (print the barcode and read it back). Problem occures when I print it as an unmanaged byte array. Is there any way that I can send byte by byte to the printer and when scan it read byte by byte. Can anybody help me.
REalistically, we're just stabbing in the dark, because we have no idea what bar code system/scanner you are using. You may be hitting a limitation of the SDK, if you're finding a way to write a barcode, but that barcode cannot be read back.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
yes, the printer doesn't seems like accepting some characters. I've solved the problem by using different encryption/decryption method with no overhead (abandon the dot net cryptoservice ). Thanks alot for your comments. they help me to find the correct path.