<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Visual Basic &#8211; Xojo Programming Blog</title>
	<atom:link href="https://blog.xojo.com/tag/visual-basic/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.xojo.com</link>
	<description>Blog about the Xojo programming language and IDE</description>
	<lastBuildDate>Wed, 18 Dec 2024 19:58:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.9</generator>
	<item>
		<title>Modern, Visual Basic For Your Mac</title>
		<link>https://blog.xojo.com/2021/06/24/modern-visual-basic-for-your-mac/</link>
		
		<dc:creator><![CDATA[Alyssa Foley]]></dc:creator>
		<pubDate>Thu, 24 Jun 2021 16:41:57 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Cross-Platform]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[VB Alternative]]></category>
		<category><![CDATA[VB for Mac]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=8638</guid>

					<description><![CDATA[Did you love Visual Basic? A lot of us did, but it's 2021 and technology is ever-changing. As you look at the modern alternatives, consider Xojo. For over 20 years, Xojo has been the spiritual successor to VB, a rapid, cross-platform programming language and integrated development environment (IDE). Often called "VB for the Mac", Xojo is more powerful than VB6 and more approachable than VB.NET. Two factors that are increasingly important because modern coders are everywhere, not just in the technology department. ]]></description>
										<content:encoded><![CDATA[
<p>Did you love Visual Basic? A lot of us did, but technology is ever-changing. As you look at the modern alternatives, consider Xojo. For over 20 years, Xojo has been the true successor to VB, a rapid, cross-platform programming language and integrated development environment (IDE). Often called &#8220;VB for the Mac&#8221;, Xojo is more powerful than VB6 and more approachable than VB.NET &#8211; two factors that are increasingly important because modern coders are everywhere, not just in the technology department.</p>



<p>Unlike VB and VB.NET, Xojo allows you to develop on your platform of choice- Windows, Mac or Linux. But being able to develop wherever you like isn&#8217;t the only reason Xojo is a <a href="https://blog.xojo.com/2013/06/19/a-modern-alternative-to-visual-basic/">great alternative to Visual Basic</a>. Xojo is fully object-oriented, supported and <a href="https://documentation.xojo.com/Resources:Release_Notes">regularly updated</a>. It allows you to cross-compile desktop apps for Windows, Mac and Linux and Raspberry Pi. Currently, a Mac is required to compile projects for macOS and for iOS development and compilation; <a href="https://blog.xojo.com/2020/12/07/why-building-apps-for-macos-requires-a-mac/">learn why</a>. In additional to all this, Xojo allows you to compile apps for mobile and the web with that same powerful language and IDE. </p>



<h2 class="wp-block-heading">Evaluating Xojo as a Visual Basic Alternative</h2>



<p>Xojo is free for learning and development so you can take all the time you need to evaluate. Download Xojo and start learning while you develop, run and debug your projects in Xojo&#8217;s free IDE. Going through the QuickStarts and Tutorials, you&#8217;ll recognize how your knowledge of VB leads you to quickly embrace Xojo. Purchase a license only when you are ready to compile your projects. </p>



<p>To help make your transition from Visual Basic to Xojo easier, download this open-source <a href="https://github.com/xojo/VB">Xojo.VB</a> library that maps many Visual Basic commands to their Xojo equivalents. Watch this <a href="https://youtu.be/9d9PhFWCQC4">Migrating from VB video</a>&nbsp;to see a simple VB app get migrated to Xojo. Visit our <a href="https://documentation.xojo.com/topics/migrating_from_other_development_tools/migrating_from_visual_basic.html">Migrating from Visual Basic</a> page at the Xojo Docs&nbsp;for more details about Data Types, Commands and Controls. </p>



<h2 class="wp-block-heading">Modernize Visual Basic Apps for Web and Mobile</h2>



<p>Xojo it is a great way to modernize legacy Visual Basic desktop apps to web and mobile platforms. </p>



<p><strong>Web Development</strong> &#8211; With Xojo&#8217;s programming language and IDE, web apps are as simple to develop as desktop apps. Instead of HTML, CSS, PHP, JavaScript, and AJAX, you&#8217;ll save tons of development time using the Xojo programming language. <a href="https://www.xojo.com/products/web.php">Xojo web apps</a> are compiled to binary code and can be deployed to any server (Linux, macOS or Windows) as standalone web apps. For simple, secure one-click deployment of web apps plus built-in SSL and database support, use <a href="https://www.xojo.com/cloud/">Xojo Cloud</a>.</p>



<p><strong>Mobile Development</strong> &#8211; With <a href="https://www.xojo.com/products/mobile.php">Xojo iOS</a> you can design your apps using drag and drop in the layout editor, add your code and build. Access the iOS-features you&#8217;d expect, like sharing panel and your photo library, and also the iPhone&#8217;s hardware-based features, like motion, location and camera. Xojo makes iOS development familiar and fast. <a href="https://blog.xojo.com/2021/06/11/android-2021-summer-preview/">Xojo Android</a> is currently in development. </p>



<h2 class="wp-block-heading"><strong>Similarities Between Xojo and V</strong>isual Basic</h2>



<p>As a Visual Basic developer, you will find Xojo very familiar. VB and Visual Basic.NET use a language similar to the Xojo programming language. You will notice that many of the commands are nearly the same. The default UI controls included with VB are, for the most part, also included with Xojo. You&#8217;ll also find that Xojo has several controls that are not included by default with VB like HTMLViewer/WebHTMLViewer, MoviePlayer/WebMoviePlayer and SearchField.&nbsp;</p>



<p><strong>Language</strong> &#8211; The Xojo&nbsp;programming language has commands like If..Then..Else, For..Next, and While..Loop. You will also find the object-oriented capabilities of Xojo are quite similar to VB.NET. </p>



<p><strong>Data Types</strong> &#8211; Xojo shares many of the same data types with VB6 and VB.NET, including: Integer, Double, String/Text, Currency, Boolean, Variant.</p>



<p><strong>Controls</strong> &#8211; Xojo has many common controls including: Buttons, Labels, TextFields, TextAreas, ListBoxes (grids), PopupMenus, ProgressBars, toolbars and more.</p>



<h2 class="wp-block-heading"><strong>Differences Between Xojo and V</strong>isual Basic</h2>



<p>Xojo definitely feels similar to Visual Basic, but you&#8217;ll find there are differences too. Many of these differences stem from Xojo&#8217;s focus on being cross-platform. </p>



<p><strong>Shared Libraries</strong> &#8211;  Xojo cannot create DLLs, ActiveX controls, .NET assemblies or any kind of shared libraries. Since these are all Windows-specific technologies, that is somewhat understandable for a cross-platform tool. If you&#8217;re depending on a DLL and are planning to deploy on Mac or Linux, you&#8217;ll need another solution for those operating systems. Fortunately, Xojo supports conditional compilation which makes it easy for your code to use DLLs only when compiling for Windows. If you find another library that provides a solution for MacOS and/or Linux, you can use conditional compilation there as well.</p>



<p><strong>Compiler and Run-time</strong> &#8211; Xojo apps are<strong> compiled to native code.</strong> They do not contain byte-code that is run by a virtual machine (as with .NET). The run-time library is included with your applications so there is nothing additional that needs to be installed on users&#8217; computers.</p>



<p><strong>Language and Framework</strong> &#8211; Xojo is fully object-oriented. Unlike VB6, you can have classes that use inheritance and other object-oriented features. The Xojo framework is designed to be simple to use and support cross-platform applications; it provides access to many things you&#8217;ve come to expect such as file handling, databases, graphics and more.</p>



<p><strong>File I/O</strong> &#8211; One of the biggest differences between VB6 and Xojo is file I/O. Xojo consolidates all its file processing into a few classes: FolderItem, TextInputStream, TextOutputStream and BinaryStream. VB6 uses hard-coded file paths and less flexible file access methods, primarily because it only needs to work with Windows-specific file paths.</p>



<p><strong>Data Types</strong> &#8211; Xojo is strongly typed, just like VB.NET. VB6 allows you to do some things the old-school, BASIC way, the most significant of which is using variables without declaring them (the type is inferred by a suffix on the name). Xojo does not allow this. Use the OPTION EXPLICIT command in all your Visual Basic code to have VB enforce explicit variable declarations.</p>



<p><strong>Improved Error Handling</strong> &#8211; Xojo has modern exception handling using Try/Catch, Exception and App.UnhandledException.</p>



<h2 class="wp-block-heading">Enjoy Coding Again</h2>



<p>Whether you need VB for Mac, or VB for Linux or just an updated, rapid-application development tool for Windows, Xojo is that alternative! If you find yourself frustrated with VB.NET or you&#8217;re still looking for something to replace VB6, test out Xojo. If saving time and money is a concern, Xojo is a development tool you should consider. Go ahead and download Xojo and see how much you have missed coding like this! </p>



<p>Like all development tools we know Xojo isn&#8217;t a fit for <em>every</em> project, so all Xojo licenses come with a 90 day money-back guarantee. We&#8217;ve been around for more than <a href="https://blog.xojo.com/2021/04/01/suddenly-it-was-25-years-ago/">25 years</a> now, and we&#8217;ll be here when your next project is looking for a quick way to get off the ground and into development! Questions? I&#8217;m here for that, email me, a human being and Xojo fan, anytime at hello@xojo.com.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>XojoTalk 032 &#8211; Copy, Paste, Search and Replace</title>
		<link>https://blog.xojo.com/2017/06/14/xojotalk-032-copy-paste-search-and-replace/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Wed, 14 Jun 2017 10:07:00 +0000</pubDate>
				<category><![CDATA[XojoTalk]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[VB]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<guid isPermaLink="false">http://blog.xojo.com/?p=2923</guid>

					<description><![CDATA[The XojoTalk podcast is hosted by Xojo's Developer Evangelist Paul Lefebvre. Paul talks with Xojo team members as well as Xojo developers and community members about Xojo and whatever the heck else comes up!]]></description>
										<content:encoded><![CDATA[<p>Paul talks with Terry Eutsler, of Softbase Development, Inc, about how he migrated a large enterprise app from VB6 to Xojo, old-school programming, music and more.</p>
<p>Download <a href="http://files.xojo.com/Podcasts/XojoTalk-032.mp3">mp3</a>.</p>
<p><audio class="wp-audio-shortcode" id="audio-2923-1" preload="none" style="width: 100%;" controls="controls"><source type="audio/mpeg" src="http://files.xojo.com/Podcasts/XojoTalk-032.mp3?_=1" /><a href="http://files.xojo.com/Podcasts/XojoTalk-032.mp3">http://files.xojo.com/Podcasts/XojoTalk-032.mp3</a></audio></p>
<h2>Show Notes</h2>
<ul>
<li><a href="http://www.softbasedev.com">Softbase Development</a></li>
<li><a href="https://blog.xojo.com/2013/06/19/a-modern-alternative-to-visual-basic/">A modern alternative to Visual Basic</a></li>
<li><a href="http://developer.xojo.com/webinar-migrating-from-vb">Migrating from VB to Xojo</a></li>
<li><a href="http://arband.com">AlgoRhythms</a></li>
</ul>
]]></content:encoded>
					
		
		<enclosure url="http://files.xojo.com//Podcasts/XojoTalk-032.mp3" length="19406598" type="audio/mpeg" />

			</item>
		<item>
		<title>Choose the Right Development Tool for Your Business</title>
		<link>https://blog.xojo.com/2017/02/07/choose-the-right-development-tool-for-your-business/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Tue, 07 Feb 2017 06:00:01 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<guid isPermaLink="false">http://blog.xojo.com/?p=2264</guid>

					<description><![CDATA[From a recent Ars Technical article called &#8220;The future of Microsoft’s languages&#8220;, emphasis mine: In spite of its name, the current Visual Basic is not&#8230;]]></description>
										<content:encoded><![CDATA[<p>From a recent Ars Technical article called &#8220;<a href="https://arstechnica.com/information-technology/2017/02/microsofts-developer-strategy-c-for-fancy-features-visual-basic-for-beginners/">The future of Microsoft’s languages</a>&#8220;, emphasis mine:</p>
<blockquote><p>In spite of its name, the current Visual Basic is not the same language as the ancient Visual Basic 6, nor the Visual Basic for Applications used for macroing. The transition to .NET in 2002, with what was called, at the time, Visual Basic.NET, left developers familiar with those languages high and dry; although the new language <strong>was called Visual Basic, and looked a bit like Visual Basic, it was really just C# in disguise</strong>. There was no good migration path from old to new, and much of the simplicity of those older languages was forfeit.</p></blockquote>
<p>This is a primary reason why so many Visual Basic developers choose Xojo after trying Microsoft Visual Basic (.NET): they don&#8217;t want &#8220;C# in disguise&#8221;.</p>
<p><span id="more-2264"></span></p>
<p>Xojo is not Visual Basic, but it is familiar to Visual Basic developers. Xojo is object-oriented, but it is not the complex language that C# has become. It truly is the best of both worlds. When you choose Xojo you get to keep the simplicity of languages like VB that were so popular, fun and beloved, but you get modern object-oriented features that allow you to make desktop, web and mobile apps for today.</p>
<p>As one commenter on the above post noted:</p>
<blockquote><p>&#8230; (a tool like VB) has a really valuable place in allowing small companies to grow and rapidly define a system without costing a sh*tload of capital and time. It seems like Microsoft pretty much threw in the towel&#8230;</p></blockquote>
<p>Not every company needs an IT department with a development staff in the hundreds. For many of today&#8217;s small business, something like Xojo is a much better fit.</p>
<p>When deciding what you&#8217;ll use to make your apps, remember you have choices outside of  development tools like Visual Studio and C#. Xojo is fast, fun and affordable with an <a href="http://forum.xojo.com">active, friendly user community</a> and lots of <a href="http://www.xojo.com/resources/">free resources</a> to help developers of all experience levels develop their apps.</p>
<p>For more information about how to switch from Visual Basic to Xojo, check out <a href="http://developer.xojo.com/migrating-from-visual-basic">Migrating from Visual Basic</a> or watch the <a href="http://developer.xojo.com/webinar-migrating-from-vb">Migrating from Visual Basic webinar</a>, where you can see how a small VB app was recreated as a Xojo app.</p>
<p><a href="http://www.xojo.com/download">Download Xojo</a> and try it for yourself. See how quickly your company can start making its own apps.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Is Microsoft bringing Visual Studio to the Mac?</title>
		<link>https://blog.xojo.com/2016/11/14/is-microsoft-bringing-visual-studio-to-the-mac/</link>
		
		<dc:creator><![CDATA[Geoff Perlman]]></dc:creator>
		<pubDate>Mon, 14 Nov 2016 20:10:06 +0000</pubDate>
				<category><![CDATA[Cross-Platform]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Citizen Developer]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<guid isPermaLink="false">http://blog.xojo.com/?p=2080</guid>

					<description><![CDATA[It is likely that later this week, Microsoft will be announcing Visual Studio for Mac. Is this really true? Why would they do this? What does it mean for&#8230;]]></description>
										<content:encoded><![CDATA[<p>It is likely that later this week, <a href="http://www.microsoft.com">Microsoft</a> will be announcing Visual Studio for Mac. Is this really true? Why would they do this? What does it mean for Xojo users?</p>
<p><span id="more-2080"></span></p>
<p><figure style="width: 800px" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" class="size-medium" src="https://i-msdn.sec.s-msft.com/dynimg/IC863336.png" alt="Visual Studio for Mac" width="800" height="550" /><figcaption class="wp-caption-text">Visual Studio for Mac</figcaption></figure></p>
<p>Earlier this year, Microsoft <a href="http://www.forbes.com/sites/adrianbridgwater/2016/02/25/microsoft-acquires-cross-platform-xamarin-to-drive-universal-windows-dream/#89e71347eb40">acquired</a> the mobile development tools company Xamarin who had their own IDE which runs on Mac and Windows. Microsoft is going to be shipping that IDE branded as Visual Studio for Mac. So while there will be a product from Microsoft called Visual Studio for Mac, it&#8217;s not really Visual Studio.</p>
<p>Visual Studio for Mac (formerly Xamarin) is focused mostly on <strong>mobile development</strong>. For example, there&#8217;s no cross-platform drag and drop support for desktop user interface nor do I expect there will be as Microsoft has no shortage of software available for Windows. It uses C# and F# and is aimed at the professional developer, not the citizen developer for whom Xojo is primarily designed. Xojo, on the other hand, is for much more than mobile development. Xojo gives users an easy to use drag and drop interface designer with a simple, modernized BASIC syntax that builds applications for macOS, Windows, Linux, the web, iOS, Raspberry Pi and many other ARMv7-based devices. The web is one platform Xojo supports that is worth calling out since unlike ASP from Microsoft, building web applications with Xojo requires no knowledge of HTML, CSS, Javascript, AJAX, and PHP. With Xojo, building web apps is nearly identical to building desktop or mobile apps.</p>
<p>Why would Microsoft want to convert Xamarin into Visual Basic for Mac? While Microsoft is the 800-pound gorilla in terms of desktop market share, they are in a very distant third place on mobile. Their goal in buying Xamarin and marketing the Xamarin IDE as Visual Studio for Mac is to get developers building their mobile apps for iOS and Android in C# to make it as easy as possible to then port those apps to Windows 10 Mobile.  Their ultimate goal is to make more apps available for the relatively anemic Microsoft mobile platform.</p>
<p>For Xojo users, this doesn&#8217;t really mean much. While 25% of our users are full-time professional developers, most started as citizen developers and they are our primary focus as they make up 50% of our users. Having said that, our goal has always been to make Xojo easy for those learning programming for the first time, hobbyists, citizen developer and professionals. We will continue in our quest to make Xojo a tool that someone can use at any stage of their interest in software development.</p>
<p>Lastly, reporters enjoy hearing  from those that use a particular product or service they write about. If you read stories about Visual Studio for Mac, please write to the reporter and <strong>let them know about Xojo</strong>. The more people who talk<a href="http://blog.xojo.com/2014/06/11/spread-the-word-grow-the-community/"> about Xojo</a>, the more likely we are to grow the Xojo community.</p>
<p>Join the discussion on the Xojo Forum <a href="https://forum.xojo.com/36515-microsoft-to-announce-visual-studio-for-mac-this-week/0#p298400">here</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Gartner: Mobile apps can&#8217;t be created fast enough. What&#8217;s the solution?</title>
		<link>https://blog.xojo.com/2015/07/20/gartner-mobile-apps-cant-be-created-fast-enough-whats-the-solution/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Mon, 20 Jul 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Cross-Platform]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Citizen Developer]]></category>
		<category><![CDATA[Gartner]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Rapid Application Development]]></category>
		<category><![CDATA[VB]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2015/07/20/gartner-mobile-apps-cant-be-created-fast-enough-whats-the-solution/</guid>

					<description><![CDATA[Gartner: Mobile apps can't be created fast enough. What's the solution? At Xojo, we have been building rapid application development tools for more than a decade so we know how to do it. ]]></description>
										<content:encoded><![CDATA[<p>Speaking at one of their conferences, Gartner principal research analyst Adrian Leow <a href="http://www.gartner.com/newsroom/id/3076817" target="_blank" rel="noopener">said</a> last week that enterprises are increasingly finding it difficult to build all the mobile apps they need. The demand for mobile apps is increasing far faster than the supply of mobile developers can create them and it&#8217;s only going to get worse. This is clearly a problem.</p>
<p>There are three possible solutions to this problem:</p>
<ol>
<li>Find a way to decrease the demand of mobile apps. (Good luck with that one.)</li>
<li>Increase the number of mobile developers.</li>
<li>Decrease the time it takes to build mobile apps.</li>
</ol>
<p>Solutions 2 and 3 are not mutually exclusive. You could potentially do both. Adrian Leow even points to the solution when he suggests that developers use rapid mobile app development tools. These tools can provide solution 3, but they don&#8217;t create necessarily create more developers.</p>
<p><span id="more-245"></span></p>
<p><strong>At Xojo, we have been building rapid application development tools for more than a decade so we know how to do it.</strong> Plus, we know how to make it easy enough that <a href="https://blog.xojo.com/2015/11/19/the-citizen-developer/">citizen developers</a> (those that build apps but don&#8217;t have &#8220;developer&#8221; in their job title) can build the apps they need themselves. Xojo supports the ability to build native iPhone and iPad apps along with the ability to build web and desktop apps from a single IDE and language. Xojo is ideal for citizen developers as they often need desktop or web counterparts to their mobile apps. Anyone with experience in <a href="https://blog.xojo.com/2013/06/19/a-modern-alternative-to-visual-basic/">Visual Basic</a> will find it quite easy to adapt to Xojo.</p>
<p>Xojo provides the combined solution that creates more developers by enabling citizen developers taking some of the burden off of IT and dramatically decreasing the development time of mobile applications.</p>
<p><span id="hs-cta-wrapper-ab064e20-19a4-4785-8b3b-1e54dc67c8e8" class="hs-cta-wrapper"><span id="hs-cta-ab064e20-19a4-4785-8b3b-1e54dc67c8e8" class="hs-cta-node hs-cta-ab064e20-19a4-4785-8b3b-1e54dc67c8e8"><a href="https://blog.xojo.com/2015/07/22/rapid-application-development/"><img decoding="async" id="hs-cta-img-ab064e20-19a4-4785-8b3b-1e54dc67c8e8" class="hs-cta-img aligncenter" style="border-width: 0px; margin: 0 auto; display: block; margin-top: 20px; margin-bottom: 20px;" src="https://blog.xojo.com/wp-content/uploads/2015/07/ab064e20-19a4-4785-8b3b-1e54dc67c8e8.png" alt="Rapid App Development" width="607" height="103" align="middle" /></a></span></span> <!-- end HubSpot Call-to-Action Code --></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>The Modern Alternative to Visual Basic</title>
		<link>https://blog.xojo.com/2013/06/19/a-modern-alternative-to-visual-basic/</link>
		
		<dc:creator><![CDATA[Xojo]]></dc:creator>
		<pubDate>Wed, 19 Jun 2013 00:00:00 +0000</pubDate>
				<category><![CDATA[Cross-Platform]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Citizen Developer]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Multi-Platform Development]]></category>
		<category><![CDATA[Native App Development]]></category>
		<category><![CDATA[Rapid Application Development]]></category>
		<category><![CDATA[VB]]></category>
		<category><![CDATA[Visual Basic]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2013/06/19/a-modern-alternative-to-visual-basic/</guid>

					<description><![CDATA[Xojo is a modern alternative to Microsoft Visual Basic. A single language to build apps for Mac, Windows and Linux desktop, plus web, iOS and Raspberry Pi (Android coming soon). With Xojo you simply develop faster.]]></description>
										<content:encoded><![CDATA[
<p>Update for 2021: <a href="https://blog.xojo.com/2021/06/24/modern-visual-basic-for-your-mac/">Modern Visual Basic for your Mac</a></p>



<p>Xojo is the modern alternative to Microsoft Visual Basic. Xojo is a single language to build apps for Mac, Windows and Linux desktop, plus web, mobile and Raspberry Pi. Cross-compile desktop apps and use the same powerful language to develop for web and mobile too.</p>



<span id="more-33"></span>



<h2 class="wp-block-heading">Develop Faster with Xojo</h2>



<p>Xojo is more powerful than VB6 while at the same time more approachable than VB.NET. With Xojo, a single project can create desktop apps that work on Windows, macOS, Linux and Raspberry Pi.&nbsp;Unlike VB and Visual Studio, Xojo allows you to develop on your platform of choice- Windows, Mac or Linux. </p>



<figure class="wp-block-image size-large"><img decoding="async" width="960" height="540" src="https://blog.xojo.com/wp-content/uploads/2020/02/xojo-visualbasic.gif" alt="" class="wp-image-6658"/></figure>



<h2 class="wp-block-heading">Modernize Legacy Desktop Apps with Web and Mobile</h2>



<p>Because Xojo can create apps for so many platforms, it is a great way to modernize and update your legacy desktop apps to web or mobile apps.</p>



<p>With Xojo, web apps are as easy to make as desktop apps. Use Xojo&#8217;s powerful language to create your web app instead of HTML, CSS, PHP, JavaScript, and AJAX and save tons of development time. Xojo web apps can be deployed to any server (Linux, macOS or Windows) and can also use the industry standard Apache web server. </p>



<p>These days mobile apps are often a necessity. Design your Xojo iOS apps using drag and drop in the layout editor, add your code and publish. Access the iOS-features you&#8217;d expect, like sharing panel and your photo library, and also the iPhone&#8217;s hardware-based features, like motion, location and camera. Xojo makes iOS development familiar and fast. Xojo Android is currently in development and will be testing soon.</p>



<h2 class="wp-block-heading"><strong>Similarities between Xojo and Visual Basic</strong></h2>



<p><strong><em>Language</em></strong></p>



<p>The Xojo&nbsp;programming language is very similar to Visual Basic. It has commands like If..Then..Else, For..Next, and While..Loop. You will also find the object-oriented capabilities of Xojo quite similar to VB.NET. </p>



<p><strong><em>Data Types</em></strong></p>



<p>Xojo shares many of the same data types with VB6 and VB.NET, including: Integer, Double, String/Text, Currency, Boolean, Variant.</p>



<p><strong><em>Controls</em></strong></p>



<p>Xojo has many common controls including: Buttons, Labels, TextFields, TextAreas, ListBoxes (grids), PopupMenus, ProgressBars, toolbars and more.</p>



<h2 class="wp-block-heading"><strong>Differences between Xojo </strong>and Visual Basic</h2>



<p><strong><em>Compiler and Run-time</em></strong></p>



<p><strong>Xojo apps are compiled to native code.</strong> They do not contain byte-code that is run by a virtual machine (as with .NET). The run-time library is included with your applications so there is nothing additional that needs to be installed on users&#8217; computers.</p>



<p><strong><em>Language and Framework</em></strong></p>



<p>Xojo is fully object-oriented. Unlike VB6, you can have classes that use inheritance and other object-oriented features. The Xojo framework is designed to be simple to use and support cross-platform applications; it provides access to many things you&#8217;ve come to expect such as file handling, databases, graphics and more.</p>



<p><strong><em>File I/O</em></strong></p>



<p>One of the biggest differences between VB6 and Xojo is file I/O. Xojo consolidates all its file processing into a few classes: FolderItem, TextInputStream, TextOutputStream and BinaryStream. VB6 uses hard-coded file paths and less flexible file access methods, primarily because it only needs to work with Windows-specific file paths.</p>



<p><strong><em>Data Types</em></strong></p>



<p><strong>Xojo is strongly typed, just like VB.NET</strong>. VB6 allows you to do some things the old-school, BASIC way, the most significant of which is using variables without declaring them (the type is inferred by a suffix on the name). Xojo does not allow this. Use the OPTION EXPLICIT command in all your Visual Basic code to have VB enforce explicit variable declarations.</p>



<p><strong><em>Improved Error Handling</em></strong></p>



<p>Xojo has modern exception handling using Try/Catch, Exception and App.UnhandledException.</p>



<p><strong><em>Shared Libraries</em></strong></p>



<p>Xojo cannot create DLLs, ActiveX controls, .NET assemblies or any kind of shared libraries. Since these are all Windows-specific technologies, that is somewhat understandable. You&#8217;ll either need to rethink your design or just re-use these components from within Xojo (and limit yourself to deploying only on Windows).</p>



<h2 class="wp-block-heading"><strong>Switching to Xojo</strong></h2>



<p>Xojo is free for learning and development. Take your time to see how Xojo can help with your next project. Develop, run and debug your application with the free IDE, only purchase a license when you are ready to compile. Learn more about Xojo, read the <a href="https://documentation.xojo.com/getting_started/introduction/what_is_xojo?.html">User Guide</a> and visit the <a href="http://documentation.xojo.com">Xojo Docs</a>.</p>



<p>If you find yourself frustrated with VB.NET or are looking for something to replace VB6, be sure to test out Xojo. It might be just right for you. Watch the <a href="https://youtu.be/9d9PhFWCQC4">Migrating from VB video</a>&nbsp;to see how a simple app is migrated to Xojo and visit our Migrating from Visual Basic page at the <a href="https://documentation.xojo.com/topics/migrating_from_other_development_tools/migrating_from_visual_basic.html">Xojo Docs</a>&nbsp;for more details.<span id="hs-cta-wrapper-2b089117-fb62-4ab3-b47b-992c02d8a698" class="hs-cta-wrapper"><span id="hs-cta-2b089117-fb62-4ab3-b47b-992c02d8a698" class="hs-cta-node hs-cta-2b089117-fb62-4ab3-b47b-992c02d8a698"></span></span> </p>



<p><em>Updated June 2020</em></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
