Click here to Skip to main content
14,743,536 members
Home » Discussions » C#
   

C#

 
QuestionCTRL+C and CTRL+V in grid control Pin
eli1502197930-Jul-08 0:51
Membereli1502197930-Jul-08 0:51 
AnswerRe: CTRL+C and CTRL+V in grid control Pin
paas30-Jul-08 5:25
Memberpaas30-Jul-08 5:25 
QuestionGet method name as string Pin
Nicholas Butler30-Jul-08 0:36
sitebuilderNicholas Butler30-Jul-08 0:36 
AnswerRe: Get method name as string Pin
leppie30-Jul-08 1:22
Memberleppie30-Jul-08 1:22 
GeneralRe: Get method name as string Pin
Nicholas Butler30-Jul-08 1:36
sitebuilderNicholas Butler30-Jul-08 1:36 
AnswerRe: Get method name as string Pin
DaveyM6930-Jul-08 2:09
professionalDaveyM6930-Jul-08 2:09 
GeneralRe: Get method name as string Pin
leppie30-Jul-08 3:27
Memberleppie30-Jul-08 3:27 
QuestionControl.Invoke() equivalent with Thread object Pin
ccufi30-Jul-08 0:36
Memberccufi30-Jul-08 0:36 
Hi there,

I am well aware of the usage of Control.Invoke() in a Form (System.Windows.Forms) to be able to access UI components in a thread-safe manner so that it is the thread that holds the window handle the one that executes it. I was wondering, if I don't have a reference to the Form but instead to the window thread (as a Thread object) is there a way to use that Thread object (or anything similar that can be extracted from the execution context) to do the same as Control.Invoke() ?

Background: I have a C# assembly (utils library) that calls into C++, but callbacks are returned in a separate thread, and I want the assembly to be application-independent but to return the callbacks (using events) in the same thread that the requests were made in.

Thanks in advance!

Carles
AnswerRe: Control.Invoke() equivalent with Thread object Pin
Frank Horn30-Jul-08 1:36
MemberFrank Horn30-Jul-08 1:36 
AnswerRe: Control.Invoke() equivalent with Thread object Pin
Alan N30-Jul-08 5:55
MemberAlan N30-Jul-08 5:55 
QuestionHow to run application from network folder Pin
AndrusM30-Jul-08 0:12
MemberAndrusM30-Jul-08 0:12 
AnswerRe: How to run application from network folder Pin
Simon P Stevens30-Jul-08 0:47
MemberSimon P Stevens30-Jul-08 0:47 
GeneralRe: How to run application from network folder Pin
AndrusM30-Jul-08 1:25
MemberAndrusM30-Jul-08 1:25 
GeneralRe: How to run application from network folder Pin
Simon P Stevens30-Jul-08 2:16
MemberSimon P Stevens30-Jul-08 2:16 
GeneralRe: How to run application from network folder Pin
AndrusM30-Jul-08 2:22
MemberAndrusM30-Jul-08 2:22 
GeneralRe: How to run application from network folder Pin
Simon P Stevens30-Jul-08 2:34
MemberSimon P Stevens30-Jul-08 2:34 
GeneralRe: How to run application from network folder Pin
AndrusM30-Jul-08 8:25
MemberAndrusM30-Jul-08 8:25 
GeneralRe: How to run application from network folder Pin
Simon P Stevens30-Jul-08 22:30
MemberSimon P Stevens30-Jul-08 22:30 
GeneralRe: How to run application from network folder Pin
AndrusM30-Jul-08 23:38
MemberAndrusM30-Jul-08 23:38 
GeneralRe: How to run application from network folder Pin
AndrusM30-Jul-08 2:35
MemberAndrusM30-Jul-08 2:35 
GeneralRe: How to run application from network folder Pin
Simon P Stevens30-Jul-08 2:41
MemberSimon P Stevens30-Jul-08 2:41 
GeneralRe: How to run application from network folder Pin
AndrusM30-Jul-08 8:27
MemberAndrusM30-Jul-08 8:27 
GeneralRe: How to run application from network folder Pin
mav.northwind30-Jul-08 20:03
Membermav.northwind30-Jul-08 20:03 
GeneralRe: How to run application from network folder Pin
AndrusM31-Jul-08 0:02
MemberAndrusM31-Jul-08 0:02 
GeneralRe: How to run application from network folder Pin
mav.northwind31-Jul-08 9:36
Membermav.northwind31-Jul-08 9:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.