LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default The excel calling msquery question throught DDE

Throw the Type mismatch Exception (Abnormal from HRESULT: 0x80020005
(DISP_E_TYPEMISMATCH)) when the excel the application called the Ms Query.
exe file .

Codes:
Microsoft.Office.Interop.Excel.Application m_excelComApp.GetExcelApp()

{

.......

}

try
{
m_excelComApp.GetExcelApp().DDEInitiate("MsQry32", "Query1");
}
catch (Exception ee)
{
MessageBox.Show(ee.Data + ee.Source + ee.Message);
}
 
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
the excel calling msquery question throught DDE row wang Excel Programming 0 November 5th 07 09:24 AM
Automated Web Form throught Excel Bryan Excel Programming 2 October 23rd 07 11:58 AM
MSQuery question LarryLL[_3_] Excel Programming 1 July 11th 06 11:01 PM
MSQUERY...My Exact question (Excel 2000) SEAN DI''''ANNO New Users to Excel 1 April 7th 06 03:35 PM
Importing Access record into Excel using MSQUERY question Harry[_7_] Excel Programming 3 February 14th 05 02:36 PM


All times are GMT +1. The time now is 07:26 AM.

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

About Us

"It's about Microsoft Excel"