|
Hi, im a newbie, and i now the answer is probably very simple but i just cannot figure it out. I would like to get the datagridview to STOP taking the first row as the columnheader. i hav tried using DataGridView1.Columns(0).HeaderText but iv realised it doesnt stop taking the first row as the column header but it simply replaces the text in that column header but does not do what i want. Any help is much appreciated
PS i am using vb
|
|
|
|
|
Do you mean that you don't want column headers? Have you tried setting the ColumnHeadersVisible property to false?
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson Because programming is an art, not a science. Marc Clifton I gave up when I couldn't spell "egg". Justine Allen
|
|
|
|
|
Hi Friends.
I'm a new member.
i'm working with VB.net 2.0.
I want to add a datetimepicker into column of datagridview
please tell me how to do??
Thanks for all ideas 
|
|
|
|
|
|
Thanhks Tindo.Your guide help me so much.Thanhks again.
And Do you know how to add a MaskedTextBox into column of DataGridView???
if you cound not try then
msgbox("you will lose")
else
msgbox("you can change yourself")
end if
|
|
|
|
|
how do you get values from text boxes and then use them?
thanks
|
|
|
|
|
You have to use the Text property.
The String^ value can be converted to a number
using System::Convert::To[Type] .
([Type] = Double, Int32, ... )
Alex
|
|
|
|
|
string A;
int B;
A = textbox1.text;
B = convert.toint32(textbox2.text); // if possible!!!
other types other convertions
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
salam sir;
please help me how can get online help in visual studio .net 2003 and 2005?how can get free download msdn software and how can get online get help in msdn?
thanks
mohammedali
|
|
|
|
|
I am pretty certain that you need to buy MSDN library, it also comes with the purchase of the VS products. I don't know if you can get it for the express versions.
Otherwise you can use the online version, however most developers use Google, you get MSDN + community information.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I need to display a BrowseFolderDialog that contains a checkbox.
I have found a SaveFileDialog from CP[^]
that allows to add any control in SaveFileDialog. I need the same for BrowseFolderDialog.
Any help would be much appreciated.
|
|
|
|
|
I believe you will have to resort to Windows API.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
Dear Sir,
I am developping one Video Application, In that I record the video using WEBCAM. the video is recorded i can see the recorded video. Now I want to adjust the brightness, color etc..
how can I adjust the brightness / contrast / color of a usb camera programatically on Win XP & Vista ?
Which api functions will I need?
I want to adjust those settings found in the standard camera settings dialog (which contains brightness / contrast / saturation ), not sure but guess it's a part of video for windows api.
I have a Logitech usb camera.
Please give solution with code.
Regards,
Balaji.V
|
|
|
|
|
balaji_vbr wrote: Please give solution with code.
Why don't you write code & we'll check it? This isn't rent-a-coder you know.
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson Because programming is an art, not a science. Marc Clifton I gave up when I couldn't spell "egg". Justine Allen
|
|
|
|
|
we are using C#.net & windows media encoder 9 sdk for recording the video. e record the video through usb Webcam.
while recording the video i want to change the brightness, contrast.
Regards,
Balaji.V
|
|
|
|
|
Ok. So try doing it, research it, read articles, write some code & then we'll help you.
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson Because programming is an art, not a science. Marc Clifton I gave up when I couldn't spell "egg". Justine Allen
|
|
|
|
|
This column would open a dialogbox when clicked. I want a column with an image displayed for each row how can I do that ?
|
|
|
|
|
|
Hello,
Im trying to make a little application to have a console application open and say 1 for addition 2 for multiplication, etc.
i do not know how to make a menu for a console where if i type 1 i need the console to read it and show the layout for the addition.
please help!
-Steven
krtek16@hotmail.com
p.s. i wrote it like this (addition example)
{
console.writeline("please enter first number to add");
string sNumber1Add;
sNumber1Add = console.readline();
double dNumber1;
dNumber1 = Convert.ToDouble(sNumber1Add);
console.writeline("please enter second number to add");
string sNumber2Add;
sNumber2Add = console.readline();
double dNumber2;
dNumber2 = Convert.ToDouble(sNumber2Add);
//add together
double dAnswerAdd;
dAnswerAdd = dNumber1Add + dNumber2Add;
console.writeline("The answer is + "
dAnswerAdd);
console.writeline("press enter to terminate");
console.read();
}
|
|
|
|
|
i didn´t practiced doing that but i bet it´s easy
did you tryied using routines???
...void mymenu()
{
console.writeline("*********************");
console.writeline("*****my program******");
console.writeline("*********************");
console.writeline("1 - item");
console.writeline("2 - item");
console.writeline("3 - item");
console.writeline("4 - exit");
console.writeline("select(1-4)");
...validations whatever!!!
}
good luck
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
Hello,
i am using VS 2003 and/or VS 2005
In C# i want to the accomplish following task:
i want to have a user control that supports multiple checkboxes in it.
the number of checkboxes and the text of these boxes should be dynamically changed.
Depending on the layout of the user control these checkboxes should be aligned horizontally or vertically.
i.e. I say control shall have 8 checkboxes and each checkbox shall have its on descriptive Text.
then these checkboxes should layout themselves left to right or top to bottom depending on ratio height to width of the user control.
I managed to build that user control, but i dont really know where to add / delete the checkboxes
in design time.
At the moment, i create the array that holds the checkboxes in the constructor (both runtime and design time).
Depending on the number of desired checkboxes, which is set via a property i dynamically grow or shrink this array.
I dont know where i should add these checkboxes to the usercontrol. When i add them in the Paint method, i have to delete them before i add them new.
Maybe someone can help me with an easy example.
Greetings Wolfgang
|
|
|
|
|
I have not tried it, but you could use
Controls.Add(...) Alex
|
|
|
|
|
Hi Alex,
I know how to add a control.
It works as it should, but I think its no good to add controls in the paint method....
Greetings
Wolfgang
|
|
|
|
|
I still don't really understand what you want.
Why do you add the checkboxes in the Paint method?
Why don't you just add them in the property where you set
the number of checkboxes?
When you grow or shrink the array, you can also
create the new checkboxes and add these to your control
via Controls.Add(...) .
When a String in your property "Description Text" is
changed, then the Text property of your checkbox
should be changed.
If this was not what you wanted to do, then please give
us a code section...
Alex
|
|
|
|
|
Are you looking for FlowLayoutPanel ?
"If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be 'meetings'." - Dave Barry
|
|
|
|