Why can I not find the InvokeRequired and SetTextCallback Options

Posted on 2009-12-28
Last Modified: 2013-12-17
I am using:
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Professional

I do not seem to have InvokeRequired and SetTextCallback as options.  I have included a couple of screenshots and demonstrate what I get when I try to find the InvokeRequired and SetTextCallback options. I've also included a list of the Systems statements.

Can somebody tell me what I'm missing here.


Question by:Gsmith0159
    LVL 51

    Expert Comment

    LVL 42

    Accepted Solution

    SetTextCallback is a delegate that u need to create in order to enable asynchronous calls for setting
     the text property on a control.
    check example here

    InvokeRequired is a property of Control class, so if Snap_shot_Device_response_chart doesn't inherit from Control u won't find it.

    Author Closing Comment

    Points awarded to sedqwick because of completeness and clarity of answer.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now