|
As far as I know you need to supply the machine name.
I dont think there is anything that will search the network for you so, you could retrive the machine name of every machine on the network and then cycle through and query each one on what6 queues it has.
|
|
|
|
|
Hi All,
I want to display the tables in my database by using a HTML web page. This should be created when the user clicks the next button in a C#.NET form.
|
|
|
|
|
There are many data bound controls, from the Repeater ( which gives you full control ) to the GridView ( which does all sorts of stuff for you, if you ask it to ). Just make your table the data source of a data bound control, and call it's DataBind method.
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 )
|
|
|
|
|
Hi,
Is there any way to kill a process and to close only a handle of a process(not complete process).
|
|
|
|
|
A handle is representative of an object, how would you close a handle, but not the object it represents ?
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 )
|
|
|
|
|
your are right, but the Process Explorer(Sys Internal) supports to close the handle too, i wonder how did the Process Explorer team achieve that task.
I am sorry if have done some english grammatical mistakes.
Regards,
Mushq
|
|
|
|
|
Hello,
Killing a process is possible over the System.Diagnostics.Process class. (method kill)
To get the process you could use GetProcessByName method.
Mushq wrote: and to close only a handle of a process
I think you have to specify a little more what you whant to do.
All the best,
Martin
|
|
|
|
|
Thanx, I have got the answer of my first part of question that how to kill a process, and about handle, for that i am taking particular example of Explorer.exe process, I have created Test folder in C dervice, and Test Folder in D Derive, and i have opened both of them simultaneously, Explorer.exe process has got handle of both these opened folder, when i search C:\Test in process explorer(Sys Internals), then it shows me that explorer.exe has loaded the handle C:\Test Folder.
I am sorry if have done some english grammatical or spelling mistakes.
Regards,
Mushq
|
|
|
|
|
Hello,
I'm just curious, so please don't think I'm rude.
But have you voted me down couse I haven't answered you second question?
If yes!
I didn't take time, cause I have work to do and I thought the answere from
Vasudevan Deepak Kumar [^] should help you enough!
If not, sorry for asking!
All the best,
Martin
|
|
|
|
|
I hadn't rated your answer down, i have given 5/5, you can check that there are two votes have been given to your message, i have given 5/5, and there is some one else who has rated that down, even i have replied that message with thanks.
I hope it is clear now
sorry for my english if it is not correct!
Best Regards,
Mushq
|
|
|
|
|
Mushq wrote: I hadn't rated your answer down, i have given 5/5, you can check that there are two votes have been given to your message, i have given 5/5, and there is some one else who has rated that down, even i have replied that message with thanks.
I was assuming this!
Again, I'm really sorry for asking but I'm allways a little confused when I get downvoted with no explination!
Thanks for your time
All the best,
Martin
|
|
|
|
|
|
hi, can anybody give me an idea as to what is the sequence of events carried out to build and execute .dtsx packages in SSIS. Coz i want to be able to call the same methods in the same sequence from my C#.NET ETL application.Please help
|
|
|
|
|
Dear I am Using This Code Please Help Me if U Know ?
private void CycleBGColor(Object stateInfo)
{
bool flag = true;
while (flag)
{
dataCell.Style.BackColor = Color.Red;
Thread.Sleep(500);
dataCell.Style.BackColor = Color.Pink;
Thread.Sleep(500);
}
}
private void dataGridView1_CellValueChanged_1(object sender, DataGridViewCellEventArgs e)
{
try
{
row = dataGridView1.Rows[e.RowIndex];
dataCell = row.Cells[e.ColumnIndex];
ThreadPool.QueueUserWorkItem(new WaitCallback(CycleBGColor));
}
catch (Exception er)
{
return;
}
}
Girish Sharma
|
|
|
|
|
I tried to create a SetColor command and a ColorPicker which uses it.
There is one effect I cannot reproduce, it is tracking the CommandSource and wether it's valid.
By that I mean if I create a MenuItem like that:
<MenuItem
Header="Blue"
Command="{x:Static local:MyCommands.SetColor}"
CommandParameter="{x:Static Colors.Blue}" />
It enables/disables depending on wether the currently focused element respond to the SetColor command.
But my ColorPicker never get any CanExecute or whatever event call, therefore I cannot update it appropriately (i.e. enable/disable) when the focused element change.
I implemented ICommandSource, used a RoutedEvent, I never get any relevant info....
Any idea what I could have missed?!?
|
|
|
|
|
found it!
it's quite tricky, I remember read about it in a blog 6 month ago but it's nowhere in the documentation!!!
(Thanks Reflector)
RoutedCommand.CanExecuteChanged strore the event handlers as WeakReference.
Therefore you have to hold a reference to the handlers your self if you want your event handler to be called....
|
|
|
|
|
i want to show "welcome " as red in the textbox ServerTB & change it's font size to 14
ServerTB.Text += "Welcome " ;
can anyone help;
thanks so much
|
|
|
|
|
Have you heard about CSS?
Regards,
Satips.
|
|
|
|
|
|
CSS[^]
Regards,
Satips.
|
|
|
|
|
What makes you sure he's writing a web app ?
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 )
|
|
|
|
|
Christian Graus wrote: i want to show "welcome " as red in the textbox ServerTB & change it's font size to 14
coz he is saying ServerTB.
|
|
|
|
|
I'd be more inclined to think the textbox is for the name of a server, than that every control he runs on the server side is named serverTB or serverLbl or serverDDL
It's certainly worth asking, before making oblique references to CSS
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 )
|
|
|
|
|
Hi,
u can use this code to set the text color but u cannot set the font size as it is read only and u have to set it at the design time itself:
<br />
textBox1.ForeColor = Color.Red;<br />
textBox1.Text = "Welcome";<br />
even if u try assigning size to the Font.Size property, the code wont complile.
|
|
|
|
|
thanks very much gladiatron & satips
|
|
|
|