none
SB graduation to VB RRS feed

Answers

All replies

  • I think , you need add "Imports  Microsoft.SmallBasic.Library" and refer  "SmallBasic.Library" in  smallBasic directory. (C:\Program files\microsoft\small basic\SmallBasic.Library)


    Thursday, June 27, 2013 2:04 PM
    Answerer
  • As NaochanON said you need the reference and imports.

    What the Graduate does is:

    • Create the VB project and copy the SmallBasic code to it with syntax changes.
    • Add a reference to SmallBaicLibrary.dll - think of this like VB able to find the commands used by SmallBasic.
    • Adds the imports, that tells the code that the commands being used are in the namespace Microsoft.SmallBasic.Library - this is just where to find the command TextWindow for example.  i.e. it is actually Microsoft.SmallBasic.Library.TextWindow in the referenced dll SmallBasicLibrary.dll.  If you specifiy the import, it will look there for commands.
    Thursday, June 27, 2013 5:54 PM
    Moderator
  •   Many thanks, NaoChanOn and litdev

    I´l try with this

    Best regards


    carlosfmur - Buenos Aires

    Saturday, June 29, 2013 1:48 PM
  •  

    Hi NaoChanOn

    I haveinstalled:

    Microsoft Visual Basic 2010 Express

    "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\vbexpress.exe"

    And:

    C:\Users\carlos\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Small Basic

    AlsoI saved SmallBasicLibrary.dll
            ...
    in two folders:

    C:\Users\Public\Documents\microsoft\SmallBasicLibrary.dll

    And

    C:\Users\Public\Documents\microsoft\SmallBasicLibrary.dll

    but my programreturns errors:

    Arethere badly organized my folders?
    Thanks and regards


    carlosfmur - Buenos Aires

    Friday, July 5, 2013 3:43 PM
  • You need to add a reference to SmallBasicLibrary.dll.

    Right click on the project 'My Project' in the right hand Solution Explorer panel, then select 'Properties'.

    Select the References Tab, then Add...

    Finally, browse tab and Browse to the SmallBasicLibary.dll.

    Friday, July 5, 2013 5:21 PM
    Moderator
  •  Hi litdev, sorry for my elementary queries

    “You need to add a reference to SmallBasicLibrary.dll.

    Right click on the project 'My Project' in the right hand Solution Explorer panel, then select 'Properties'.

    Select the References Tab, then Add...

    Finally, browse tab and Browse to the SmallBasicLibary.dll.”  Litdev

    Right click on My Projects it only shows me "Open"

    I´ve selected Properties (Propiedades) and show me module1.vb, no more

    I´ve selected References Tab, but I couldn´t find "Add"

    So, I can´t browse tab to find SBLibrary.dll

      Well thank you very much for your help, may be any VB programmer here ,would help me, with this issue

    The problem is that no onepeople heard aboutSmall Basic.

    But how interesting would be to
    since Visual Basic (or C #, why not ?) may be invoked
    Small Basic libraries.
    After all Everything is within. NET
    and end up as MSIL code

    Thanks and best wishes


    carlosfmur - Buenos Aires

    Saturday, July 6, 2013 6:24 AM
  • This is a different VB project, but can't really show more than this.

    You are going to have to look at the options a bit carefully, perhaps try to get a bit familiar with the VS interface - look at all the options.


    Saturday, July 6, 2013 8:35 AM
    Moderator
  • And...

    Or get the references from:

    Or right click on the References in the Solution Explorer and select Add reference..

    It really isn't hard to find - I've listed 3 ways to it.

    Saturday, July 6, 2013 8:37 AM
    Moderator
  • Or using VB VS2010 - just the same.

    Saturday, July 6, 2013 9:13 AM
    Moderator
  •  

    Thank you, litdev, thank you very much
    I think that I should learn the concepts and fundamentals of VB.NET, first
    We have a good range of classroom courses here,

    I really appreciate your time

    Best regards


    carlosfmur - Buenos Aires

    Saturday, July 6, 2013 9:05 PM
  • I think , you need add "Imports  Microsoft.SmallBasic.Library" and refer  "SmallBasic.Library" in  smallBasic directory. (C:\Program files\microsoft\small basic\SmallBasic.Library)



    This solution could become a TechNet Wiki article and enter the July Small Basic Guru contest: http://social.technet.microsoft.com/wiki/contents/articles/18211.technet-guru-contributions-july-2013.aspx

    It doesn't matter when the content was originally written, as long as the Wiki version was published in July.

    Great job!


    Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

    Answer an interesting question? Create a wiki article about it!

    Tuesday, July 23, 2013 6:54 AM
    Owner
  •  

    Many thanks, Ed


    carlosfmur - Buenos Aires

    Tuesday, July 23, 2013 8:57 PM