Imports
System
Microsoft.SmallBasic.Library
System.Threading
System.IO
<SmallBasicType()> _
Public
Module
FirstModule
Function
ShowMessage(
ByVal
MsgTxt
As
Primitive)
Primitive
MsgBox(MsgTxt.ToString)
End
To create more functions in the FirstModule, all you have to do is add more functions. If you need to get any variables from the user, just separate the ByVal YOURVARIABLE with commas. If you need to return a function, just put return before it like:
NetOpen()
Return
My.Computer.Network.IsAvailable
Step 2: (10) - I think only MyFirstExtension.dll and MyFirstExtension.xml are needed. But My MyFirstExtension.pdb is not needed.
There is a good article "Extending Small Basic" in Small Basic Blog. blogs.msdn.com/.../extending-small-basic.aspx
Hey, nice tutorial. But I stuck at Step 2, Part 5.
I ever get this ERROR if I try to change the Framework...
[IMG]i50.tinypic.com/10n7plf.jpg[/IMG]
But I saved the projekt!
@Timo So: Can you please translate that to English?
Here is the translation: The current project must be saved before you change the target framework.
The problem is that I saved the program around 50 times before I tried to do this. I did not change anything after the last save.