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: 1
Default DDEInitiate inconsistent...

Hello all...

I've been getting a DDE link up between an Excel spreadsheet and a C program
that I'm working on, and I have many parts of it working fine. In
particular, I have a CommandButton, and in the code for that button, I can
successfully do a DDEInitiate() and then a DDERequest(), all works fine.

The problem is, I have an event in the spreadsheet that I want to add some
DDE functionality to. I can trap the event just fine with a
Worksheet_Change() and do all the Excel-side stuff ok, but when I call the
subroutine with the DDEInitiate() call in it, the C app never gets the
WM_DDE_INITIATE message. Here's the bizarre part - in the VB editor in
debug mode, I can trigger that subroutine and step through it, and
DDEInitiate sends the message to my C app, but when that subroutine is
called as a result of my trapped event, the message doesn't get through.

Any ideas??

Thanks!

-- Jeff Brush


 
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
ddeinitiate Hangs Ann Excel Programming 0 September 7th 04 03:17 PM
DDEInitiate to MSAccess problems Grant Excel Programming 0 September 2nd 04 01:17 AM
DDEInitiate hangs Ann Excel Programming 1 August 6th 04 04:58 PM
Excel VBD DDEInitiate problem bbombardier Excel Programming 2 April 22nd 04 05:22 PM
DDEInitiate with Notepad Kevin Excel Programming 4 October 15th 03 08:35 PM


All times are GMT +1. The time now is 04:14 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"