A group blog from members of the VB team
The release of .NET Micro framework v4.2 Beta brings Visual Basic support for the .NET Micro-framework.
For those that have not heard of the Micro framework before
“The .NET Micro Framework is .NET for small and resource constrained devices. It offers a complete and innovative development and execution environment that brings the productivity of modern computing tools to this class of devices.
For current .NET developers, this means that they can now create applications that run on a range of devices from targeted devices like remote controls to PCs and Servers and on to the cloud – all with the same programming model and tools.
For current Embedded developers, this means that they can now leverage the productivity gains that have been achieved on the desktop and reduce their time to market.
The .NET Micro Framework is a fully integrated Visual Studio experience brings a reliable and productive development system to the embedded world.”
Up until now the platform has been a C# only platform but the v4.2 Beta brings VB support. The support requires the installation of Visual Studio 2010 SP1 installations (Express versions support is not yet implemented fully). The VB support utilizes the work carried out by the 'Compilers' team for VBCore functionality and lights up another platform. This is exciting news for both the Compilers and the .NET Micro-framework teams
Other hardware vendor SDK’s will be available updating their SDK and providing specific VB project templates target 4.2, with Secret Labs already releasing a 4.2 Beta version of their SDK for the Netduino devices with VB support.
This is really exciting news for anyone that wants to get into the area embedded microcontroller devices and wanting to leverage their VB skills and tinker with some electronics. VB developers can now be microcontroller developers.
More info to follow...
Micro-Framework Team Bloghttp://blogs.msdn.com/b/netmfteam/archive/2011/06/07/netmf-version-4-2-beta-now-available.aspx
Secret Labs Netduinohttp://www.netduino.com
This is the code which simply creates option button in word document. after publishing code it gives me error as Cannot create ActiveX component.
Dim MyWordDoc As Microsoft.Office.Interop.Word.Application
Dim dcpath As String
Dim Option1 As Microsoft.Office.Interop.Word.InlineShape MyWordDoc = CreateObject("word.application") dcpath = Server.MapPath("~//TEST.docx") MyWordDoc.Documents.Open(dcpath) MyWordDoc.Selection.MoveDown(, 3) With MyWordDoc Option1 = .Selection.InlineShapes.AddOLEControl(ClassType:="Forms.OptionButton.1") With Option1.OLEFormat.Object .Caption = "TEST1" .FontName = "Arial" .FontSize = 10 .Width = 430 End With End With MyWordDoc.ActiveDocument.SaveAs("D:\" & "TEST_11.docx") MyWordDoc.Documents.Close() MyWordDoc.Documents.Open("D:\" & "TEST_11.docx")
Well COM is not supported on Microframework so this would never work.
Not to mention the fact that I rather doubt Word will ever run on a microcontroller <G>
Excellent news, btw. I've been wanting to play with an arduino for a while now, this just makes it that much easier to get into!
bring back Visual Basic 6.0, or you will run out of smart programmers !