Click here to Skip to main content
15,905,229 members
Home / Discussions / C#
   

C#

 
GeneralAccessing parts of identical use controls Pin
Mikan2324-Aug-05 11:35
Mikan2324-Aug-05 11:35 
GeneralRe: Accessing parts of identical use controls Pin
rudy.net24-Aug-05 17:03
rudy.net24-Aug-05 17:03 
GeneralRe: Accessing parts of identical use controls Pin
Mikan2324-Aug-05 19:21
Mikan2324-Aug-05 19:21 
Generalgetting partial url Pin
philly_dan24-Aug-05 11:19
philly_dan24-Aug-05 11:19 
GeneralRabbi Plotkin's Continuous Form Pin
cgweaver24-Aug-05 10:29
cgweaver24-Aug-05 10:29 
GeneralWeek of month Pin
ehuysamer24-Aug-05 9:49
ehuysamer24-Aug-05 9:49 
GeneralRe: Week of month Pin
Christian Graus24-Aug-05 11:02
protectorChristian Graus24-Aug-05 11:02 
GeneralStopping a dialog Pin
dicas24-Aug-05 9:49
dicas24-Aug-05 9:49 
I have written my first C# program using MS VC# 2005 Express Edition Beta (and my first C# period).
I have a dialog that runs and this dialog copies 100's of files and displays it's progress on the dialog (to, from, name, counts, etc.).
All of this works fine.
The problem is, what if I want to abort the process?
I can not use the Cancel button on the dialog as the program is running (busy coping the files) and thus can not respond to the click.

I even created an asynchronous process with a very simple dialog with just one button, a Cancel button. This would work fine for the first 6 seconds. Then all updates to both dialogs would stop even through the copy process was still running. Even the simple cancel dialog was still running as I could click the Cancel button to stop the copy process. It is just that after about 6 seconds neither dialog could be updated with new data. Using Update or Refresh did not work. NOTE: Neither process was trying to access a control on a dialog on the other process as I read this was a no-no.

Thanks for any help

GeneralRe: Stopping a dialog Pin
Christian Graus24-Aug-05 11:08
protectorChristian Graus24-Aug-05 11:08 
GeneralRe: Stopping a dialog Pin
dicas24-Aug-05 16:53
dicas24-Aug-05 16:53 
GeneralRowFilter Pin
zaboboa24-Aug-05 9:30
zaboboa24-Aug-05 9:30 
GeneralRe: RowFilter Pin
rudy.net24-Aug-05 17:05
rudy.net24-Aug-05 17:05 
Generalmodal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
misterbear24-Aug-05 8:51
misterbear24-Aug-05 8:51 
GeneralRe: modal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
Dave Kreskowiak24-Aug-05 9:08
mveDave Kreskowiak24-Aug-05 9:08 
GeneralRe: modal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
Tom Larsen24-Aug-05 9:17
Tom Larsen24-Aug-05 9:17 
GeneralRe: modal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
ehuysamer24-Aug-05 9:40
ehuysamer24-Aug-05 9:40 
GeneralRe: modal dialog to rest of application but want to interact with a second window simultaneously with that window Pin
misterbear24-Aug-05 10:05
misterbear24-Aug-05 10:05 
Generalchanging keyboard chars Pin
imagor24-Aug-05 7:34
imagor24-Aug-05 7:34 
GeneralRe: changing keyboard chars Pin
ehuysamer24-Aug-05 9:29
ehuysamer24-Aug-05 9:29 
GeneralDouble buffering a groupbox Pin
Dan Neely24-Aug-05 7:28
Dan Neely24-Aug-05 7:28 
GeneralRe: Double buffering a groupbox Pin
Dan Neely24-Aug-05 10:13
Dan Neely24-Aug-05 10:13 
GeneralMDI container c# Pin
fady_sayegh24-Aug-05 5:43
fady_sayegh24-Aug-05 5:43 
GeneralColour specific row in DataGrid Pin
zaboboa24-Aug-05 4:40
zaboboa24-Aug-05 4:40 
GeneralRe: Colour specific row in DataGrid Pin
Robert Rohde24-Aug-05 8:06
Robert Rohde24-Aug-05 8:06 
Questionhow can i make an app run completely from tray...? Pin
tom_dx24-Aug-05 4:27
tom_dx24-Aug-05 4:27 

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.