|
|
No problem. Glad to help.
|
|
|
|
|
A TreeView has Root nodes and Child nodes.
When you say TreeView.Nodes[0]; it means the first Root node,
TreeView.Nodes[0].Nodes[0]; means the first Child node of the first Root node.
And so on...
While (true) { Human.isLearnable = true; }
|
|
|
|
|
Thanks you answer but i need the position of nodes.
jere
|
|
|
|
|
|
i saw you exemple but you get the treeview's position and not nodes.
thanks
jere
|
|
|
|
|
.
modified 6-Dec-16 7:34am.
|
|
|
|
|
Well whoop-de-freakin do. Somebody has found the smileys. Now did you want something or are you just an idiot with a mouse?
|
|
|
|
|
Oh great... Another retard...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Wow! That's a true nonsense profile.
You posted *this* after 7 months of lurking? May be you were trying to find out how to make a post for 7 months?
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
hi guys,
I want to run any C# made exe from another C# program.
For that i used this code:
System.Diagnostics.Process.Start(exe path);
It's working fine.
But when i am using same code in OnStart() method of Windows Services.
It will start the process into Task Manager Processes, but not showing in screen whatever GUI that exe has.
To show GUI also , what should i do?
Thanks....
|
|
|
|
|
As services run under on different desktop, the application is running but it's gui is displayed on different desktop, that's why you can't see it. If you want to see GUI you will have to run process ob behalf of the user that is logged in.
If you want to have GUI for your service, just create new winforms application. To communicate between GUI and service you can use IPC or .NET Remoting.
|
|
|
|
|
You need to manually set the 'Allow service to interact with Desktop' to on.
Did you think how this will work when the PC starts, and no-one is logged in?
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - coming soon ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
leppie wrote: You need to manually set the 'Allow service to interact with Desktop' to on.
But it is no more supported in Vista.
|
|
|
|
|
Thanks .........It's working now.....
|
|
|
|
|
hi......leppie.....
Now it's working fine. But i want to set this property programmatically. Is it possible?
Thanks......
|
|
|
|
|
No you cant, as said, this is apparently not even possible on Vista.
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - coming soon ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
|
Hi,
.net2 vs2005 xp
I have a datagridview whos SelectionMode property is set to FullColumnSelect
With focus in the grid the left and right keys move focus to the left and right columns...
Ive put a button on either side of the grid - i want the buttons to select the next or previous column in the grid (similar to the arrow keys) can anyone point me in the right direction on how to do this?
Thanks,
Chas
|
|
|
|
|
Got it working... right button:
if (DataGridView.CurrentCell.ColumnIndex != DataGridView.Columns.Count -1)
{
DataGridView.Rows[0].Cells[DataGridView.CurrentCell.ColumnIndex + 1].Selected = true;
}
Chas
|
|
|
|
|
if you need the code for that post me in my profile. your post is already in page 4, i will not find it.
- go to first row
- go to last row
- go to next row
- go to previous row
- go to x row
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
How can I check to see if the selected date in a DateTimePicker is a date which is future to the current date (now) please?
|
|
|
|
|
Compare it to DateTime.Today().
Bob
Ashfield Consultants Ltd
|
|
|
|
|
You can use DateTime.Now to retrieve current date and time. DateTimePicker has a Value property so you can compare these values.
|
|
|
|
|
if(dateTimePicker1.Value>DateTime.Now)
{
MessageBox.Show("Greater");
}
|
|
|
|