|
h.pordel wrote: Sorry
For example,
That this component of work to do
Rad Controls for Winforms
i request component free like this component
That was the answer he gave and I did search a google and found this:
Telerik RadControls for WinForms[^]
I Assume he wants a Free alternative.
|
|
|
|
|
h.pordel wrote: hello
I asked for a component Changing the Windows Form
And that children, is why computers and crack do not mix.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
hello friend ...
i thing You are asking ... how to chage the Windows Forms like (circle ....) and any other shapes...
windows controls like "button" in some other shapes?
is that You want?
|
|
|
|
|
Dear friends,
small Clarification what is the maximum size of byte array?
if i write like this ( for 2 gb file will it handle?)
byte[] bdata = System.IO.File.ReadAllBytes("MyFileName.doc");
Why the Stream.Read(buffer[],offset,"length") "Length" as "int" not a "double" (if it more then 2gb File How can i specify the length "becase the integer maximum value is (2gb -1 byte)...
if i want to read the last 10 bytes in more then 2gb file how can i read?
any idea? link?..
By
joe.I
|
|
|
|
|
Take a look at the StreamReader Class.
|
|
|
|
|
Thank you friend,
Thanks for Your replay ......
i made small mistake ....
thank you.
by
joe
|
|
|
|
|
Please don't read a 2gb file all at once. Thats just insane. Read it a little bit at a time, say, 1 mb or 10 mb, or whatever. Like the other guy said, check out StreamReader.
|
|
|
|
|
Thank you friend,
Thanks for Your replay ......
i made small mistake ....
i am not reading 2G file at time i am reading 100kb at time ...anyhow thanks for your suggestion.
thank you.
by
joe
|
|
|
|
|
IIRC it depends on 32 vs 64 bit.
But, in any case, will you really be happy if one program fills up all of most (or at least a sizable chunk) of your RAM?
Btw, surely you mean a long not a double
|
|
|
|
|
|
Hi,
AFAIK array sizes are limited to something like 2G-1.
However, assuming you only need part of the content of a binary (i.e. non-text) file, you can:
- get the File.Length, which is a long;
- get a stream for reading the file, with File.Open;
- seek a position in the file, say length-10, using FileStream.Seek;
- and read part of the file into an array, using FileStream.Read;
- finally close/dispose everything.
So for getting the end of the file, there is no need whatsoever to read everything!
Luc Pattyn [Forum Guidelines] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
|
|
Hi All ,
In my datagridview , i imported an excel file to analyse it so filter and etc. . after that I want to export it to an Excel File using Save As Button in Windows Application . Plz help me how can do it ... ?
Regards
s_mostafa_h
|
|
|
|
|
|
thanks,
this add all the contents of DatagriView , no the Header Text of column ,
....
RGDS !
s_mostafa_h
|
|
|
|
|
hi...
i tried to create a generic base class. create Form1 as base class. Tried to access form1 from form2. there is no error on build. but i cant view the design part of Form2. Design part shows the error
"The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form2 --- The base class 'Test2.Form1' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. Customer --- The base class 'System.Object' cannot be designed. "
source code is given bellow
public partial class Form1<T> : Form
{
public Form1()
{
InitializeComponent();
}
}
public partial class Form2 : Form1<Customer>
{
public Form2()
{
InitializeComponent();
}
}
public class Customer
{
private string customerName = string.Empty;
public string CustomerName
{
get { return customerName; }
set { customerName = value; }
}
}
please help me to solve this problem
---------------------------------------
Thanks in advance
|
|
|
|
|
Have you looked at an inherited form. Create you base form, compile your app. When you create your next form there is an option to create an inherited form and select the base form.
|
|
|
|
|
hi all,
i am in need of reading tasks from an .mpp file. How can i find the parent task id of particular task while reading? Please help me..
Lal
modified on Thursday, November 26, 2009 12:18 AM
|
|
|
|
|
Interop provides classes and interfaces to read an MPP file. There you can create a Task object and check if it offers any property to do this.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
Dear all,
Can you give me code that can find form in MDIParent?
Socheat
|
|
|
|
|
Your question is not clear. Do you want to find a form that is child of a MDI form?
Best wishes,
Navaneeth
|
|
|
|
|
Dear,
I want to find form child, if it not yet open, it will open
Socheat
|
|
|
|
|
|
MDIChildren property of the parent form would give an array of child forms. Is this what you are looking for?
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|