Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #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);
}
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
an I get a cell value throught posted hyperlink to another excel s Mohamed Excel Worksheet Functions 0 December 9th 09 01:42 PM
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 12:29 AM.

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"