Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: Opening Excel workbook Pin
Donald Blachly26-Sep-02 3:50
Donald Blachly26-Sep-02 3:50 
QuestionHow to activate event procedure Pin
D Shen25-Sep-02 9:42
D Shen25-Sep-02 9:42 
AnswerRe: How to activate event procedure Pin
leppie25-Sep-02 9:57
leppie25-Sep-02 9:57 
GeneralRe: How to activate event procedure Pin
D Shen25-Sep-02 10:51
D Shen25-Sep-02 10:51 
GeneralRe: How to activate event procedure Pin
leppie25-Sep-02 11:55
leppie25-Sep-02 11:55 
GeneralRe: How to activate event procedure Pin
D Shen26-Sep-02 3:50
D Shen26-Sep-02 3:50 
GeneralRe: How to activate event procedure Pin
D Shen26-Sep-02 4:15
D Shen26-Sep-02 4:15 
GeneralRe: How to activate event procedure Pin
D Shen26-Sep-02 4:26
D Shen26-Sep-02 4:26 
GeneralRe: How to activate event procedure Pin
leppie26-Sep-02 7:17
leppie26-Sep-02 7:17 
GeneralRe: How to activate event procedure Pin
leppie25-Sep-02 12:08
leppie25-Sep-02 12:08 
Questionmultiple search patterns with Directory.GetFiles? Pin
Wjousts25-Sep-02 9:41
Wjousts25-Sep-02 9:41 
AnswerRe: multiple search patterns with Directory.GetFiles? Pin
Paul Riley25-Sep-02 10:29
Paul Riley25-Sep-02 10:29 
GeneralHere is a tough one - DataGrid throwing exception while repainting Pin
Luis Alonso Ramos25-Sep-02 7:25
Luis Alonso Ramos25-Sep-02 7:25 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
leppie25-Sep-02 7:45
leppie25-Sep-02 7:45 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
Luis Alonso Ramos25-Sep-02 9:05
Luis Alonso Ramos25-Sep-02 9:05 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
leppie25-Sep-02 9:20
leppie25-Sep-02 9:20 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
Luis Alonso Ramos26-Sep-02 5:31
Luis Alonso Ramos26-Sep-02 5:31 
GeneralOpenFileDialog slowing me down?! Pin
Zombies with Coffee, LLC25-Sep-02 6:41
professionalZombies with Coffee, LLC25-Sep-02 6:41 
GeneralRe: Slow function calls when no breakpoint set?! Pin
leppie25-Sep-02 7:03
leppie25-Sep-02 7:03 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 8:14
professionalZombies with Coffee, LLC25-Sep-02 8:14 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 8:34
professionalZombies with Coffee, LLC25-Sep-02 8:34 
Little more info...

It's OpenFileDialog causing the slowdown!!!?

private void menuItem7_Click_1(object sender, System.EventArgs e)
{
   OpenFileDialog pFileOpen = new OpenFileDialog( );

   pFileOpen.InitialDirectory = @"J:\Aware\SPECS\EFTS\6.2\Samples\10_subs";
   pFileOpen.Filter = "EFTS Files (*.eft)|*.eft|All files (*.*)|*.*";
   pFileOpen.FilterIndex = 1;

   if( pFileOpen.ShowDialog( ) != DialogResult.OK )
      return;

   EFTS.EftsFile pEftsFile = EftsVerification.LoadEftsFile( pFileOpen.FileName );
// EFTS.EftsFile pEftsFile = EftsVerification.LoadEftsFile( @"J:\Aware\Specs\EFTS\6.2\samples\10_subs\car3.eft" );

   Classification.Classify pDialog = new Classification.Classify( );
   pDialog.EftsFile = pEftsFile;
   pDialog.ShowDialog( this );
}

If I comment out the OpenFileDialog part of the code and give the LoadEftsFile the name of the file directly, then it loads normal and quick.

Seems that OpenFileDialog is doing some sort of 4 second clean up?!?
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 9:09
professionalZombies with Coffee, LLC25-Sep-02 9:09 
GeneralRe: Slow function calls when no breakpoint set?! Pin
leppie25-Sep-02 9:31
leppie25-Sep-02 9:31 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 9:40
professionalZombies with Coffee, LLC25-Sep-02 9:40 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 9:58
professionalZombies with Coffee, LLC25-Sep-02 9:58 

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.