How to run Embedded Visual Basic on modern PC - vbscript

I try to use this abandoned software to teach newbie with Visual Basic 6 knowledges only.
I know this software is not recommended for real-world development.
I have installed eVB (full install) on Virtual PC machine with Windows XP mode
I tried to run application on emulator. Firewall allowed this connection.
But I've got message:
Emulator for windows CE will not run within another copy of emulator for windows ce
As I mentioned this problem, with no workaround:
VPC and the Emulators use the same emulation engine, and so the emulators think you're trying to run them inside another emulator instance because they can't tell the difference.
1) Is there possible to run eVB on Win7 PC?
2) Is there possible to run eVB on VmWare PC with Windows 2000/Windows XP?
3) Is there free alternative to eVB for learning purposes only?

Yes, the emulators will not run in a VM.
I do question to value of using eVB, as it's definitely a dead technology, and there's very little use for the VB6/VBA syntax any longer.
If you're trying to teach the basics of programming in general the I'd get an Express version of Visual Studio and teach VB.NET or C# for a simple, standard desktop application. Most of the knowledge there would be transferrable to a device.
If developing for a Windows CE device is a hard requirement, then I'd probably try finding an old version of Visual Studio (2005 or 2008) and using VB.NET or C# in the Compact Framework for those. My guess is that your best route there would be to try to find the eval version of Platform Builder (Windows Embedded Compact 7) which would give you something like 90 or 120 days.
The express edition of the newest versions of Studio also allow targeting Windows Phone, which has an emulator and supports VB.NET or C#.
And of course you could even try using Xamarin Studio and target Mono against an Android emulator. Again, you'd get C# on a device, though the UI paradigm is way different than anything for CE or Windows Phone.
If you simply want to write BASIC code for am embedded device, Parallax has the BASIC Stamp, which has pretty cheap starter kits. If you're after .NET on an embedded device, Netduino might be what you're after (I think they have VB.NET support).
Really I guess the question is "what's the end goal?" To learn general programming? If so, just use a desktop machine to start with. To apply programming knowledge to an embedded device? Then get something with more up-to-date support.
Regardless of the goal, I have a hard time coming up with a valid reason for trying to use eVB.

Related

How to develop Windows app on Visual Studio for Mac

I recently bought an iMac in order to develop my App on Visual Studio for Mac in a better environment (lots of issues on Windows), but on the Visual Studio for mac, there is no UWP projects.
It is understood that I have to create a new .NET project, but what are exactly the steps to follow in order to achieve that correctly for the app to work on Windows with a peace of mind? Should I have gone with Visual Studio code, which support the .NET core framework completely?
I saw on other answers that I need the .NET SDK tool, and so forth, but further details are needed if you don't mind on the why (not the installation stuffs, only the tech savvy explanations for the app to build correctly at the end!
You will need to run a Windows installation (eg, via Parallels or Boot Camp) and then run the Windows version of Visual Studio to create UWP apps.
You can do a lot of the business-logic coding inside Visual Studio on MacOS, but you will need Visual Studio and the Windows SDK to use WinRT types (which are required to build a UWP app) and to correctly build / package the app for deployment.
.NET is a big ecosystem. As you cannot develop all kinds of .NET projects using Visual Studio on Windows (Xamarin.Mac for example), you cannot do the same using Visual Studio for Mac (like you found, WinForms/WPF/UWP and so on). Such limitation comes from vendor SDK availability or other underlying systems.
In your case, you can easily develop web apps, Mac apps, and iOS apps. If you do want to develop Windows specific apps, like the other answer shows, please use Windows.
You mentioned ".NET SDK", but I believe that should be ".NET Core SDK". .NET Core apps are cross platform. Thus, you can develop such apps in Visual Studio for Mac, and then deploy to Windows. However, so far only console apps and web apps can be developed. What might happen in the future is still to be determined.
Visual Studio Code, however, is just a code editor. It won't give you extra flexibility.
For those whom imperatively needs to develop their app on all platforms, here is what I did, and the pros and cons:
Buying an Imac, thinking that I could also develop UWP projects within it
After realizing that I couldn't, I bought a cheap Windows 7 pro License on ebay (around 5$), and installed it on VirtualBox.
From there, I upgraded to Windows 10 for free and installed everything. It worked like a charm.
Cons: Buying a brand new IMac while a Macbook pro would have been better. An old one even since YOU CAN'T upgrade the ram.
Working on 8go of ram computer when you must give 4go of RAM to your VM isn't quite great. 4go gets you a laggy environment! Really frustrating.
So, prefer something older, but up-gradable (a cheap Macbook pro with 16go of RAM would do).
Not to mention that you will have to install Ubuntu as another VM in order to setup a .Net core Server for the majority of you.
What environment to favor while developing, most importantly when you are a C# and Xamarin noob like me?
The best being to develop from Mac as you will have FAR LESS ERRORS AND BUGS than in VS for Windows.
Correcting mistakes is really daunting and the best is really to develop from Mac to mitigate the damages, but it won't be hurdles free as well!
It took me more time debugging than coding within VS Windows.
After developing chunk of your app within Visual Studio MAC, the best is to get the code on the windows machine and arrange it to work in UWP.
UWP apps compile fastly and like a charm, so better is to get rid of errors within macOS, IOS, Android, and then go and adapt to UWP. This is easier IF YOU THINK ABOUT CHOOSING THE CORRECT LIBRARIES (working on all platforms, hence check my last advice).
From VS Mac, compile using macOS as a host! It's the easiest way to develop fastly, and correct your bugs.
Here is an article on how to get started from Mac:
https://blog.xamarin.com/preview-bringing-macos-to-xamarin-forms/
Cons: Always having to commit the code for it's use within UWP. But that's also a good way to save your project as well, so that if you screw up (like it happened to me numerous time) you roll back.
Hope that helps others whom didn't know what to do and where to start.
ALSO:
Don't follow tutorials dating from before 2017. Use the .Netstandard/.NET Core framework to develop your App so that libraries are more portable (following the blog article above should do).
Otherwise, headaches ahead!

How can i run software created for windows ce into window tab?

Hi I have developed on software using visual basic for windows CE, now i want to run the same software on windows TAB. how can i do that....pls help
I tried directly running software into my windows based tab. it shows some error.
If TAB means tablet and it runs any version of Windows (8,10 etc.) that is not CE then your application will not run as it is.
Posting the error message you get would help.
But if the app has been designed for the .NET Compact Framework, at least you need to take the source code and rebuild it for the full .NET Framework. Some things may not compatible and you may need to fix or change parts of your code. Estimating this is not simple and depends on the features used by your application.
Well you may not like this solution, but you could run a windows mobile or windows CE emulator inside of full blown windows (windows 7, 8.1 or 10). Then install and run your application on the emulator.
https://www.microsoft.com/en-us/download/details.aspx?id=16182

Is it possible to develop an app that work on Windows 8,8.1 and 10 Tablets as well as desktops? If yes What are the prerequisites for that?

I want to develop an Application that can run on Windows 8,Windows 8, Windows 10 Tablets as well as Desktops. What are the prerequisites for that?
I found this answer here on SO. But it doesn't give me everything I need to know.
Also I'd like to know the following:
1) Which version of windows would be best suited for development in this case?(I currently have windows 7 installed in my system).
2) What version of the Visual Studio IDE should I use?
3) Any guide that'll help me learn and do the development efficiently? (I have worked on web development before but i'm beginner for windows app development)
The choices I make should help me carry forward a hassle free development, thanks! :)
I'm a beginner in windows App development, I've worked on web for
quite some time and have the basic knowledge of WinForms.
The only way to have it work on all of those platforms would be to develop a desktop app instead of a Universal Windows App. Visual Studio Community is free and would do everything you'd need. You could look into creating WPF applications or Windows Forms applications; both are compatible with Win7 through 10, although won't run on RT based tablets (it will run on Surface Pro, and similar tablets running FULL Windows).
As far as a guide goes, there are plenty of programming books that you could study, but I would suggest using Google to your advantage when you are stuck on a problem.

Visual Studio on MacBook

I'm new to programming, and still learning. Anyway, is it possible to use Visual Studio for Apache Cordova on OS X? Or do I have to use Virtual Machine for Windows?
If I want to make apps for both iOS and Android, do I need to write my code twice? (Hybrid Mobile App).
You can use Visual Studio on your mac by running Windows 8.1 or 10 in a virtual machine or using bootcamp to boot directly into windows 8.1 or 10.
I personally use the virtual machine approach for my development. Using a Mac with a Windows VM I can target iOS, Android, and Windows Phone. You can read my blog post here on how to setup your environment (you might also want to check out part 1 as well):
http://trunica.net/building-hybrid-mobile-apps-part-2.html
No you do not need to write your code twice. That's the beauty of Cordova! About 95% to close 100% of your code should be exactly the same across the platforms.
You can use Cordova directly on your Mac if you want and develop for both iOS and Android without using Visual Studio. I do however recommend using Visual Studio since it adds a lot of nice features for development (additional emulators, easier configuration, etc...).
as Brad said, you can't use Visual Studio without a Windows. But, the Visual Studio Development Team built a CLI called TACO (Tools for Apache Cordova)
With that cli, you have some features very cool for beginners. Take a look http://taco.tools/docs/getting-started.html

Windows Mobile Development Under Mac OS X

I'm developing applications for iPhone and Android on my Mac, but now I want to port them to Windows Mobile. I know that it requires Visual Studio, but that's just if you want to make .Net applications. Then I want to know if there is any alternative, something like Mono...
Windows Phone 7 (unlike Windows Mobile) is quite a closed system with one development environment supported. I.e. you are stuck with Visual Studio and, consequently, Windows.
Update: Windows Mobile 6.x is not much better for MacOS developer. For .NET CF you use Visuaal Studio 2005 or 2008. For native code development you could use Visual Studio 2005 (if memory serves) or, before it, there existed eMbedded Visual Studio 4 (and embedded visual tools 3 earlier), both being similar to Visual Studio 6 (and probably built using the same code base).
Alternatives included FreePascal (Pascal language, native code compilation) and NSBasic (interpreted BASIC language, if memory serves).
But all those tools were for Windows only.
You'll need Visual Studio for both managed and native Windows Mobile applications. I don't think Mono supports .NETCF and I don't think SharpDevelop does either.
You might need to install a Windows virtual machine to run on your Mac. Or... get a PC for Windows development. I have both a PC and Mac workstation on my desk since I do iPhone, Android, and .NET all together.
I am actually looking at starting a project to do this using Mono and Moonlight. Granted, I am in the very early stages of research but I think that it can be done and I am hoping to start getting some people together to help in the near future. I will post the github repo back here when I get something going.
PLease have a look into this
http://blogs.msdn.com/b/interoperability/archive/2012/12/21/how-to-develop-for-windows-phone-8-on-your-mac.aspx
there is this Visual studio code which can be leveraged to initiate and test some basic wiMo app development

Resources