|
Hello,
If you want to change the GUI from an other thread, you have to use Invoke[^] and InvokeRequired[^]!
All the best,
Martin
|
|
|
|
|
The problem is that form elements can only be manipulated from the thread that is running the UI. There is a method called Invoke on the form that you must use to do this from another thread. The docs for this method contain a reasonable example.
|
|
|
|
|
Another way to avoid using invoking and delegates...is to set the
CheckForIllegalCrossThreadCalls property to false, although it's better to use invoking
Do your best to be the best
|
|
|
|
|
i m developing web application in which i m sending and receiving sms through mobile connected with a cable. but sms is not receiving.
|
|
|
|
|
You asked the same question 2 hours ago and on neither occasion have you provided anything like enough information to give you any help.
|
|
|
|
|
How do I write a statement that calls the Focus method of a control named txtLastName using C#
|
|
|
|
|
txtLastName.Focus();
Becoming Programmer...
|
|
|
|
|
Either buy a book, or stop trolling.
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 )
|
|
|
|
|
The process of creating an instance of a class is called?
|
|
|
|
|
Instantiation?
Paul Marfleet
|
|
|
|
|
this is very rubbish do send some what acceptable questions...:->
|
|
|
|
|
What the hell are you talking about?
Paul Marfleet
|
|
|
|
|
do post info regarding developers perspective..
its not like school boy like attitude...
|
|
|
|
|
Sounds like a school boy's homework question though.
|
|
|
|
|
I have no idea what you are talking about. I answered the original poster's question, although it wasn't much of a question. What is your problem?
Paul Marfleet
|
|
|
|
|
better shut your mouth
|
|
|
|
|
hi all,
Is it possible to display an image in all buttons in a
datagridview(Windows Forms) button column?
if yes,
can anybody help me how to do it?
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
I have a Class Library in which i have lot many functions to implement my service but the problem is maximum of functions are Having similar names and similar parameters etc. when i want to use any of these functions i am some what confused which one is the one which exactly i shoould use. So is there any way to "Provide the Description of the function" along with the Prototype of the function which comes as default due to intellisence of MicroSoft.
I tried the [Description("xgdfgdfg")] attribute above the function defination but no use.
Can any body know how to get the user defined description for a function
Thanks in Advance.
|
|
|
|
|
Hi,
just type /// before your function name , VS will then build some 'comments tags' you just have to fill.
such as
///
/// my summary for intellisens
///
/// <param name="a_parameter" />my param descr. for intellisens
Hope it helps
|
|
|
|
|
Wow.........
It really helped...
Thanks grim.
|
|
|
|
|
oops < > where missing
/// <summary>
/// my summary for intellisens
/// </summary>
/// <param name="sender">my param descr. for intellisens</param>
|
|
|
|
|
What you are looking for is known as XML comments. They provide a lot of documentation possibilities for you code. You can look on MSDN or Google for "Xml comments" and find a lot of information about them. The Description attribute is a runtime concept and doesn't have any affect on the Visual Studio IDE.
|
|
|
|
|
Hi iam new to window services.
I developed a window application which is an desktop alret.
I need to run this application with a window service.
Is there any way to use window applications in window services.
Help me out from this.
Lakshmi.
|
|
|
|
|
Never tried it, but you can try building you windows application as a class library (dll file) from Project Properties->Application->Output type->Class Library. After that you can add to you windows service as reference, and open the form(s) whenever you want. This way your windows application doesn't have to be at specific path.
Hope it helps.
Do your best to be the best
|
|
|
|
|
Hi
I tried the way you said, but iam not getting the result.
Is there any other way? Please do inform me.
Lakshmi
|
|
|
|