Register Login
Forums    February 9, 2012
TradersStudio Forums
calling a VB .NET DLL
Last Post 08-25-2007 02:56 PM by mur ang. 3 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Tom Himel
New Member
New Member
Posts:14

--
08-25-2007 04:16 AM

    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

    mur ang
    Advanced Member
    Advanced Member
    Posts:525

    --
    08-25-2007 08:58 AM

    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.

     

     

    John Hamon
    New Member
    New Member
    Posts:13

    --
    08-25-2007 10:15 AM

    Murray,

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

    mur ang
    Advanced Member
    Advanced Member
    Posts:525

    --
    08-25-2007 02:56 PM

    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.


     TradersStudio, Inc. ® Copyright 2004-2012 All Rights Reserved   Terms Of Use  Privacy Statement