473,386 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

RTD replace DDE in .NET?

Hi,

I've been reading that in .NET, RTD replace the VB6 DDE. With VB6 DDE
it was possible to read from an Excel sheet to a textbox for instance,
if we had the topic and source.

I know that VB.NET to Excel (through RTD) is easy, but can we connect
the VB.NET app. directly to the RTD server to be able to read from it?

Thanks you,

Marty
Nov 21 '05 #1
5 7053
Support for DDE ends after VB6.

http://msdn.microsoft.com/library/de...alBasicNET.asp

Use this search term in Google:

.net RTD server

to see articles on using RTD server with .NET.
--
Mike

Mike McIntyre
Visual Basic MVP
www.getdotnetcode.com

"Marty" <xm******@hotmail.com> wrote in message
news:MJHSd.16682$0h.11637@clgrps13...
Hi,

I've been reading that in .NET, RTD replace the VB6 DDE. With VB6 DDE it
was possible to read from an Excel sheet to a textbox for instance, if we
had the topic and source.

I know that VB.NET to Excel (through RTD) is easy, but can we connect the
VB.NET app. directly to the RTD server to be able to read from it?

Thanks you,

Marty

Nov 21 '05 #2
Hello Mike,

I already have a RTD server. And I also can make an Excel spreadsheet
connect and receive quote from it.

But I want to bypass the Excel sheet. I want my VB.NET appl connect to
the RTD server and receive the quotes. (maybe using a similar syntax as
in Excel: =RTD("Stock.Quote", , [Ticker], [Type (Open|Last)]) )

I can't find any information about how to do it. Do you think it is
possible?

Thanks you

Marty
Mike McIntyre [MVP] wrote:
Support for DDE ends after VB6.

http://msdn.microsoft.com/library/de...alBasicNET.asp

Use this search term in Google:

.net RTD server

to see articles on using RTD server with .NET.

Nov 21 '05 #3

An RTD "server" is just a COM object that implements the IRTDServer
interface. Any application can instantiate the COM object and use the
interface methods to use the server the same way Excel does.

This KB article shows how to create a server, but it also demonstrates
the interface RTD servers expose.

http://support.microsoft.com/default...b;en-us;285339

HTH,

Sam
On Tue, 22 Feb 2005 16:30:52 GMT, Marty <xm******@hotmail.com> wrote:
Hello Mike,

I already have a RTD server. And I also can make an Excel spreadsheet
connect and receive quote from it.

But I want to bypass the Excel sheet. I want my VB.NET appl connect to
the RTD server and receive the quotes. (maybe using a similar syntax as
in Excel: =RTD("Stock.Quote", , [Ticker], [Type (Open|Last)]) )

I can't find any information about how to do it. Do you think it is
possible?

Thanks you

Marty

B-Line is now hiring one VB.NET developer for
WinForms + WebServices position with ASPX in future.
Seaking mid to senior level developer. For
information or to apply e-mail sam_blinex_com.
Nov 21 '05 #4
Hi Samuel,

ok, I don't have this IRtdServer object (in my VB.NET) that they use in
the example. But if I had it, if I understand, I could connnect to the
RTD server using the IRtdServer interface?

=RTD("ExcelRTD.RTDFunctions",,"AAA", 5)
In this case, how do I connect to the ExcelRTD.RTDFunctions from the
IRtdServer interface?

I'm not sure about this part, thanks you for your help :)

Marty
Samuel R. Neff wrote:
An RTD "server" is just a COM object that implements the IRTDServer
interface. Any application can instantiate the COM object and use the
interface methods to use the server the same way Excel does.

This KB article shows how to create a server, but it also demonstrates
the interface RTD servers expose.

http://support.microsoft.com/default...b;en-us;285339

HTH,

Sam
On Tue, 22 Feb 2005 16:30:52 GMT, Marty <xm******@hotmail.com> wrote:

Hello Mike,

I already have a RTD server. And I also can make an Excel spreadsheet
connect and receive quote from it.

But I want to bypass the Excel sheet. I want my VB.NET appl connect to
the RTD server and receive the quotes. (maybe using a similar syntax as
in Excel: =RTD("Stock.Quote", , [Ticker], [Type (Open|Last)]) )

I can't find any information about how to do it. Do you think it is
possible?

Thanks you

Marty


B-Line is now hiring one VB.NET developer for
WinForms + WebServices position with ASPX in future.
Seaking mid to senior level developer. For
information or to apply e-mail sam_blinex_com.

Nov 21 '05 #5

Forget about the interface, it's just confusing the issue (sorry I
brought it up--you can program generically to the interface but for
starters you can program to a specific object).

Just use ExcelRTD.RTDFunctions directly like you would any other COM
object.

Best regards,

Sam
On Tue, 22 Feb 2005 19:12:35 GMT, Marty <xm******@hotmail.com> wrote:
Hi Samuel,

ok, I don't have this IRtdServer object (in my VB.NET) that they use in
the example. But if I had it, if I understand, I could connnect to the
RTD server using the IRtdServer interface?

=RTD("ExcelRTD.RTDFunctions",,"AAA", 5)
In this case, how do I connect to the ExcelRTD.RTDFunctions from the
IRtdServer interface?

I'm not sure about this part, thanks you for your help :)

Marty


B-Line is now hiring one VB.NET developer for
WinForms + WebServices position with ASPX in future.
Seaking mid to senior level developer. For
information or to apply e-mail sam_blinex_com.
Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Craig Keightley | last post by:
Can these lines of sql statements be consolidated into one sql statement (possibly using reg exps??) BEGIN CODE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Update...
12
by: Barnes | last post by:
Does anyone know of a good way to use the JavaScript string.replace() method in an ASP form? Here is the scenario: I have a form that cannot accept apostrophes. I want to use the replace() so...
6
by: Danny | last post by:
I need an asp command to strip out from a string all extra punctuation such as apostrophe, comma, period, spaces dashes, etc etc and just leave the letters. Can anybody give me some ideas? ...
9
by: Peter Row | last post by:
Hi, I know this has been asked before, but reading the threads it is still not entirely clear. Deciding which .Replace( ) to use when. Typically if I create a string in a loop I always use a...
4
by: Cor | last post by:
Hi Newsgroup, I have given an answer in this newsgroup about a "Replace". There came an answer on that I did not understand, so I have done some tests. I got the idea that someone said,...
3
by: Goran Djuranovic | last post by:
Hi all, I ran into a problem where my XMLTextReader fails on .Read() when I have "<" character in one of the attribute's values. What I am trying to do is replace illegal characters ("<", "&" ,...
3
by: TOXiC | last post by:
Hi everyone, First I say that I serched and tryed everything but I cannot figure out how I can do it. I want to open a a file (not necessary a txt) and find and replace a string. I can do it...
6
by: JackpipE | last post by:
Here is my replace query and I need to run this on every column in my table. Right now I manually enter the column name (_LANGUAGES_SPOKEN) but this is time consuming and would like to automate...
5
by: V S Rawat | last post by:
I was trying to use back-to-back replace functions to convert a url: str1 = str.replace("%2F","/").replace("%3F","?").replace("%3D","=").replace("%2 6","&"); It didn't replace all 4 types of...
15
by: =?Utf-8?B?TWlrZSAiWU9fQkVFIiBC?= | last post by:
I have a text file that contains about 8 to 10 text sequences that I need to replace. I want to search and replace all 8 to 10 text sequence anytime I run this script Here is what I have so...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.