Click here to Skip to main content
15,922,584 members
Home / Discussions / C#
   

C#

 
AnswerRe: Create a bmp Pin
Henry Minute28-Aug-09 9:35
Henry Minute28-Aug-09 9:35 
GeneralRe: Create a bmp Pin
JollyMansArt28-Aug-09 9:50
JollyMansArt28-Aug-09 9:50 
QuestionUsing my application to open a file Pin
kola_pumping28-Aug-09 7:17
kola_pumping28-Aug-09 7:17 
AnswerRe: Using my application to open a file Pin
stancrm28-Aug-09 7:33
stancrm28-Aug-09 7:33 
GeneralRe: Using my application to open a file Pin
kola_pumping31-Aug-09 7:11
kola_pumping31-Aug-09 7:11 
GeneralRe: Using my application to open a file Pin
stancrm31-Aug-09 20:28
stancrm31-Aug-09 20:28 
GeneralRe: Using my application to open a file Pin
kola_pumping2-Sep-09 2:21
kola_pumping2-Sep-09 2:21 
QuestionC# Excel and Threading Pin
StyleGuide28-Aug-09 7:14
StyleGuide28-Aug-09 7:14 
Hi There,

I have a background worker thread on my Form.

In 'DoWork' A call is made from the thread to pump data out to Excel. The visible property of my Excel Application is set to false until 'RunWorkerCompleted' (there may be a lot of data and the users don't want to see it being churned out) when visible is set to true, I also use the .Activate method :

excelApplication.Visible = true;
((Microsoft.Office.Interop.Excel._Workbook)excelWorkbook).Activate();


Everything works fine except the Excel appears behind my form - not the front.. annoying .. in addition its only happening on my tester's machine (typical!) and not mine. It is the last code that executes.

excelApplication
and
excelWorkbook
are in a different class which I suspect is the root of the issue, also it needs to be inside the thread so the UI is not affected when the form is moved around and such like.

Any ideas?

Thanks very much

Jon
AnswerRe: C# Excel and Threading Pin
MarkB77728-Aug-09 15:41
MarkB77728-Aug-09 15:41 
GeneralRe: C# Excel and Threading Pin
StyleGuide28-Aug-09 21:29
StyleGuide28-Aug-09 21:29 
AnswerRe: C# Excel and Threading Pin
FilipKrnjic29-Aug-09 6:11
FilipKrnjic29-Aug-09 6:11 
QuestionState map with markers,info windows Pin
shultas28-Aug-09 6:59
shultas28-Aug-09 6:59 
AnswerRe: State map with markers,info windows Pin
stancrm28-Aug-09 7:35
stancrm28-Aug-09 7:35 
GeneralRe: State map with markers,info windows Pin
shultas28-Aug-09 8:03
shultas28-Aug-09 8:03 
GeneralRe: State map with markers,info windows Pin
stancrm28-Aug-09 13:13
stancrm28-Aug-09 13:13 
QuestionModulo Function Pin
Quake2Player28-Aug-09 5:21
Quake2Player28-Aug-09 5:21 
AnswerRe: Modulo Function Pin
DaveyM6928-Aug-09 5:23
professionalDaveyM6928-Aug-09 5:23 
AnswerRe: Modulo Function Pin
harold aptroot28-Aug-09 5:36
harold aptroot28-Aug-09 5:36 
AnswerRe: Modulo Function Pin
Dave Kreskowiak28-Aug-09 7:15
mveDave Kreskowiak28-Aug-09 7:15 
GeneralRe: Modulo Function Pin
Quake2Player28-Aug-09 7:22
Quake2Player28-Aug-09 7:22 
GeneralRe: Modulo Function Pin
Luc Pattyn28-Aug-09 7:38
sitebuilderLuc Pattyn28-Aug-09 7:38 
GeneralRe: Modulo Function Pin
DaveyM6928-Aug-09 7:38
professionalDaveyM6928-Aug-09 7:38 
GeneralRe: Modulo Function Pin
Quake2Player28-Aug-09 14:46
Quake2Player28-Aug-09 14:46 
GeneralRe: Modulo Function Pin
DaveyM6928-Aug-09 7:38
professionalDaveyM6928-Aug-09 7:38 
GeneralRe: Modulo Function [modified] Pin
Quake2Player29-Aug-09 11:55
Quake2Player29-Aug-09 11:55 

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.