Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8411925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:32:54+00:00 2026-06-10T00:32:54+00:00

I am successfully receiving DDE data from the ThinkOrSwim trading platform into excel using

  • 0

I am successfully receiving DDE data from the ThinkOrSwim trading platform into excel using this cell formula:

=TOS|Last!AAPL

However, when I try to connect to ThinkOrSwim DDE using the NDDE library in a .Net C# application, I receive the following error message, which is the same as I would get if the ThinkOrSwim platform was not running at all:

The client failed to connect to “TOS|LAST”. Make sure the server application is running and that it supports the specified service name and topic name pair.

The exact same method of connecting with NDDE worked in 2009, and failed when I re-utilised it in 2012. Perhaps ThinkOrSwim have made some change in their application to block it? I’m wondering what to do next … either find a way to make NDDE work (better), or run an excel spreadsheet inside my .Net application (messy).

Hoping someone here knows I way I can continue using NDDE and fix that connection problem.

Click to download small code library I created to demonstrate this problem (Visual Studio 2010). You will have to click File->Download after the page loads.

Bounty is only for answers showing a solution that uses a pure .Net / windows api solution. Automating excel within .Net is not accepted for the bounty.

Download ThinkOrSwim from: https://mediaserver.thinkorswim.com/installer/InstFiles/thinkorswim_jse6_installer.exe
Contact me privately if you need to for login details.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:32:55+00:00Added an answer on June 10, 2026 at 12:32 am

    Finally found a solution: I had to run Visual Studio as administrator to get it to work in debug. To make the .exe work, I had to add an app.manifest file with the following:

      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
         <security>
          <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
            <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
          </requestedPrivileges>
        </security>
      </trustInfo>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am reading data from a TCP/IP stream and am successfully receiving a byte
I'm successfully receiving bytes from an USB device using a HID USB .net library.
I have this code. I can receive data from my client successfully, but only
I have created a chat application using the Jabber Smack API. I'm successfully receiving
I am receiving the following graph response when checking users into Facebook using the
Currently I have this problem. Client downloads from server successfully only the 1st time.
I have a document library that is successfully receiving and saving attachments from inbound
I have written the code for sending/receiving data from a client socket. The sending
Now I am successfully using WebClient.DownloadString to get file content from ESX server. My
I am using normal Java Socket Programming to successfully transfer a known file. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.