|
Ok, thanks!
_____________________________
...and justice for all
APe
|
|
|
|
|
Hi frnz....this is an urgent requirement...plz help as soon as possible...
I am creating a tool which runs a batch process for color replacement....
I select a folder which contains all the bitmaps.
I give the input RGB color and the output RGB values.
In all the bitmaps the the color having input RGB should be replaced with a color having output RGB value...i dont know how to replace the colors using C#...plz help me out..
P.S. if anyone can tell me where i can get the color dropper code...that will be of gr8 help...
|
|
|
|
|
You need to read my image processing articles, they show how to access the bits of an image. It will need to be 24 or 32 bit, so the full range of colors is available, then color mapping is trivial
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
thanx Chris...can u gimme the link for ur articles...
|
|
|
|
|
|
|
Hello there,
I'm having some weird issues using the "topmost" property of a form.
I want a form to be put on top of all other windows when a specific event occurs. So the code is triggered in a timer event, I just do:
this.TopMost = true;
this.TopMost = false;
This works ... most of the time, sometimes it does not make the form at the top at all, and in one machine I have access to when it works, it acts weird as it stays topmost although I click at other windows, until I click on the form and click back anywhere else, then it goes to the back properly.
Is there any documented/undocumented bug with topmost property in forms? I'm up to a point where I'm sure there is nothing in my code messing with that, and it's giving me some major headaches this issue.
|
|
|
|
|
I suspect that you're doing it too quick, try BringToFront instead. It's not normal to make a form topmost and then change it back right away.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
I did actually tried BringToFront, with the exact same results. Let me explain further. The form in fact do go to topmost level most of the time, but sometimes it stops coming to the front, and the other issue with the "double focus" also happens using BringToFront.
|
|
|
|
|
Help me!
I want to know the face detection and face recognization in C#. Nobody known to help me.
Thank so much.
My Email: leminhtuan75@yahoo.com
Học, học nữa, học mãi.
V.I.Lê Nin.
|
|
|
|
|
Try google, you need to read articles with a question like that, not rely on forum responses.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Hello!
when I format my xml files with Formatting.Indented empty tags gets a few extra spaces,
< appConfig >< /appConfig >
becomes
< appConfig >
< /appConfig >
I think I can handle this with IndentChar, but I havent figured out how yet. Could anyone give me a pointer?
/Regards
-- modified at 2:35 Monday 23rd April, 2007
|
|
|
|
|
Worked it out with settings.NewLineHandling = NewLineHandling.None;
|
|
|
|
|
|
|
Hey what code you have written for this DataGridView.cellBeginEdit Event()
please paste the code and what error you are getting?
Regards,
Satips.
|
|
|
|
|
hi Prasad,
you must have a got a pretty decent idea by now about the CellBeginEvent.
In the same, you need to validate the text to be of integer type.
Use the following piece of code for DataGrid1, its row 1 and cell 1
if (!Char.IsDigit(e.KeyChar) && e.KeyChar !=(char)8)
{
MessageBox.Show("The text that you have entered is not integer.");
}
else
{
LoggerDatagrid.Rows[1].Cells[1].Value = integer value that you want;
}
I hope this helps.
Keshav Kamat
India
|
|
|
|
|
I need a Player that can play multiple formats (wav, mp3, aiff, ...). Is there a library for C# out there? Additionaly, there should be the possibility to use a VST - effect.
Thanks alot.
|
|
|
|
|
Hi,
After binding datagridview with dataset, when users modify, add or delete the datagridview rows, I want to use datasource of datagridview to run OleCommandBuilder object. But an error appears "Unable to cast object of type bindingsource to type datatable"
I am very confused and have you help me how to convert nimdingsource to datatable.....
[Code]
OleDbDataAdapter adap = new OleDbDataAdapter("Select * from tblVATTU where VATTU_ID = ''", con.con);
temp = new DataTable();
MessageBox.Show(dgvVATTU.DataSource.GetType().ToString());
temp = (DataTable)dgvVATTU.DataSource ; // error is here
OleDbCommandBuilder buider = new OleDbCommandBuilder(adap);
adap.FillSchema(temp, SchemaType.Source);
adap.Fill(temp);
It seem to be a solution or an answer.
|
|
|
|
|
Hi,
You need to fill dataset first,
<br />
Dataset dsFunction = New DataSet();<br />
OleDbDataAdapter adap = new OleDbDataAdapter("Select * from tblVATTU where VATTU_ID = ''", con.con);<br />
temp = new DataTable();<br />
adap.Fill(dsFunction);<br />
temp = dsFunction.Tables[0];<br />
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
If the datagrid is empty, then fill it first. And then try to bind the table to the datasource.
DataGrid1.Rows.Add(1); <br />
DataGrid1.Rows[1].Cells[1].Value = "Some String";
Keshav Kamat
India
|
|
|
|
|
Hi
I am Fresher. i want desing the login page in C#.Net. Using the SqlServer. please give me code or ideas
|
|
|
|
|
What does 'fresher' mean ? What part do you already know how to do ? What part is confusing you ? You didn't ask in the ASP.NET forum, do you mean this to be a web page ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Christian Graus wrote: What does 'fresher' mean ?
Indian English for new recruit, raw out of college. On an unrelated note, why do you insert a space before your question marks?
Cheers,
Vikram.
"But nowadays, it means nothing. Features are never frozen, development keeps happening, bugs never get fixed, and documentation is something you might find on wikipedia."
- Marc Clifton on betas. Join the CP group at NationStates. Password: byalmightybob
|
|
|
|
|
Because, when I was in primary school, I was taught to put a space before an after a question mark. Not saying this is 100% right, but it's what I learned, so it's how I do it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|