Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default COMException raised on opening excel file in thread

Hi all,

I am trying to import excel file into datagridview from a thread. on runt
time i am getting below error. The same code is running perfectly if not run
in thread

"A first chance exception of type
'System.Runtime.InteropServices.COMException' occurred in test.exe"

Note: i have taken care for add row in datagridview control by uisng
invokereq and callback concept. though i have not done anything for excel
operations like this.

Can anyone help me on this. Maybe i am missing something here.


Thanks
Ajaz
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Further to my last thread - Check for worksheet in a closed file Les Stout[_2_] Excel Programming 2 December 4th 07 03:22 PM
distributed vba project - multiple thread / concurrent file access [email protected] Excel Programming 4 June 15th 07 05:15 AM
How do i make a cell look embossed or raised in excel? Mr.Niceguy New Users to Excel 1 October 3rd 06 10:01 PM
Excel SaveCopyAs COMException 0x800A03EC Jim McLeod Excel Programming 0 May 25th 04 12:26 AM


All times are GMT +1. The time now is 01:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"