Tuesday, January 06, 2009     | Register
TradersStudio Forums
Subject: calling a VB .NET DLL

You are not authorized to post a reply.   
Author Messages
thimel1
Posts:14

08-25-2007 4:16 AM Alert 

Murray,

Can you please tell me how to call a VB .NET DLL from TSBasic?  I asked about this on the eliteTrader.com forum before buying TradersStudio and you said:

07-19-07 02:23 PM


Quote from thimel:

Can tradersStudio call code written in VB .NET or is it limitted to VB 6.0? If it cannot presently do it, is it planned?



Currently we have a document for writing .NET addins which is part of the beta for the .NET addin kit. We are also working on a Addin which will translate TradersStudio basic to VB.NET and create a TradersStudio addin for you.

These addins can be called from Systems, Indicators ,Macros,TradePlans ect, so for example

Sub MySystem(X,Y,Z)
MySystemWrittenInVBNET(X,Y,Z)
End Sub

I am happy to be a beta user if that is what it takes.

Another question.  It there a difference between the "TradersStudio Basic 2.5 manual" offered in the documents section of your website and the "TradersStudio Basic 2.5 Learning by Example" that I already have?  If so, does it have information that the online help lacks?  Are there any other (e.g. reference) manuals that I should have?  I will be doing extensive programming in TSBasic and in VB .NET.

Thanks

murray
Posts:435

08-25-2007 8:58 AM Alert 

We currently have a VB.NET addin kit which is under development. It contains a manual about 30-40 pages I think which walks you though developing .NET interop Active X DLL first and then developing them so they can used the TradersStudio API. We also have a TradersStudio Basic to .NET translator under development because compiled .NET code runs faster than TradersStudio Basic code.

  It's all very doable if you uave at least a basic knowledge of .NET. If you understand .NET I am sure you even can translate the VB.NET Examples to C#.

  If you buy the product I will send you our .NET example when you order the product. It's a translation of the same example we have in VB 6.0. It even adds menus to the program and is written in VB.NET.

 

 

jhamon
Posts:13

08-25-2007 10:15 AM Alert 

Murray,

Please tell Tom and I how to get the .NET examples ASAP; thanks.

murray
Posts:435

08-25-2007 2:56 PM Alert 

They have not been released yet. and will be released soon. If we included them with TradersStudio it will be just the code. We will not include details of the interop layer. That part of the .NET toolkit which will be available in beta soon.

 If you want more detail on this please E-Mail Steve@TradersStudio.com he currently has the beta on his machine and can answer a few questions.

 

 

You are not authorized to post a reply.
Forums > TradersStudio 2.x > TradersStudio Basic > calling a VB .NET DLL



ActiveForums 3.6
TradersStudio® Copyright 2004-2009 All Rights Reserved   |  Privacy Statement  |  Terms Of Use