Question:
Is Visual Basic .Net For Windows Only?
bigboywasim
2007-08-04 21:00:06 UTC
Is Visual Basic .Net for Windows only? Also how do I create an icon and run my VB. Net program when clicking it? How does running the program without having the language on your computer work? For example running a VB.Net program without having VB.Net on the computer.
Seven answers:
anonymous
2007-08-04 21:14:07 UTC
>> Is Visual Basic .Net for Windows only?



Yes, VB.NET only makes executables that work in Windows.



>> Also how do I create an icon and run my VB. Net program when clicking it?



http://www.codeproject.com/vb/net/embeddedresources.asp



>> How does running the program without having the language on your computer work? For example running a VB.Net program without having VB.Net on the computer.



When you make a .NET application, it requires the user to have the .NET framework installed on his computer in order to run.



Basically, once you compile the program, it contains all the information that needs to be sent to the .NET framework to make the program do what you want.
Einstein
2007-08-04 21:26:59 UTC
Visual Basic .Net is not only for Windows.



http://www.mono-project.com/VisualBasic.NET_support



The Mono project has developed a Visual Basic compiler that will enable software developers who use Microsoft Visual Basic to run their applications across multiple platforms without any modifications to the code. The Mono Visual Basic compiler allows developers to continue to code in their preferred Visual Basic/Visual Studio environment and compile and run that same code base on a variety of operating systems and architectures, including Windows, Linux, and Mac OS.



The Mono project is sponsored by Novell, but it is not part of the technical cooperation agreement announced between Novell and Microsoft in November 2006. Mono developers have been working on the compiler for some time. It is a significant technical achievement. Since it is open source, the technology is available for others to use.



The uses of a native Visual Basic.NET compiler on Unix allow:



1) Developers to develop applications natively on Unix.

2) Developers can continue to use Visual Studio on Windows and run the resulting binaries on Linux, allowing them to move their development to Unix when needed.

3) The hosting of VB.NET-based ASP.NET applications on Unix.



____________________________________



In order to run VB .Net programs on you computer, without having the entire program installed, you need—at the very least—to have the .Net Framework and run-time environment installed. These are "helper" files that enable the proper processing and execution of a VB .Net executable.
Smutty
2007-08-05 11:05:44 UTC
Right now .NET runs on windows operating systems, however there is an initiative called mono for running .NET applications on Linux.



To run any .NET application on a computer you should have the appropriate version of the .NET framework installed on it. The .NET framework can be downloaded from free from Microsoft.



Hope this helps.
Paul R
2007-08-04 21:13:53 UTC
to my knowledge, VB.Net is Windows Only.

If you're using VB.Net 2005, browse to the folder you saved your project in, then open "bin\debug" and run the .exe file there. To make an icon, open the application settings (i think you double-click on the name of your application in the Solution Explorer) and specify an icon right there.

To run a .Net program, you do not need VB.Net installed, what you need is the proper version of the Microsoft .NET Framework. Version 1.0 for .Net 1.0, 1.1 for .Net 1.1, 2.0 for .Net 2.0, and 3.0 for WPF.

Hope that helped.
?
2016-05-18 07:10:41 UTC
This is done automatically when after having run your application from withing VS. The executable is placed in the Bin folder under your application's folder. Remember that you will need .NET framework installed to run the executable.
jplatt39
2007-08-05 04:13:46 UTC
Are you on Windows trying to write cross-platform apps or on another OS wanting to use Windows tools? I'm not on Windows and don't advocate using Windows tools for anything except Windows development. Mono is a third-party project which supports .Net development on Unix-derived OSes (mainly Linux). Microsoft has a lousy track record supporting third-party projects. I can tell you how to create an icon on '98. It is possible to run VB.Net programs on computers which don't have VB.Net on them if they have some libraries.



Anything which is part of .Net is part of a Microsoft suite of tools which is intended for Windows only. Mono, which is linked to elsewhere, is a product of Miguel de Icaza, who may be described as one of those rare Open Source developers who is friendly to Microsoft (they have been relatively good to him). Microsoft chooses to provide Mono with enough to allow them to support .Net at this time. Be aware this may change in the future:



Among the firms I did office work for when I was going to college in the early 90's were several small firms which did engineering work. While they did not sell software, per se, they usually ran their systems on Unix (for tools like Oracle) and when they did coding used the GNU Compiler Collection (GCC). Recently a story appeared that Windows Vista restricts the size of memory available to executables compiled with GCC to 32 megabytes. When I mentioned this to an acquaintance who works at a nearbye University, he asked, Old Unix Guy he is, why would anyone want an executable that takes more than 32 megs? It didn't occur to him that firms such as I used to work for are more concerned with selling services than in selling "correct" software. His employer is trying to get everyone to write "correct" software so people will send more students. Most of these firms will get more customers if their software works rather than if it's correct.



My most recent computer purchase was an old second-hand Windows 98 laptop from an engineering firm. It came with an ethernet card and driver which -- in Windows mind, used GCC and its libraries to run it. It doesn't have Windows on it any more but it still has GCC.



I haven't used Windows extensively, and definitely not for development, since Win'98. I can tell you how to get an icon on your desktop in '98. Open the folder it's in, right-click on the program, and you should see a number of options. One of them is properties. Open that window and you will see a number of options you can change, including icons. Generally of course it will use a default executable icon. If you're happy with that, fine.



To get it on your desktop, go to the original right-click menu and select "Create Shortcut". A copy of the program will appear in the folder where the original is, and you can move it to your desktop. Read the documentation and play around with it.



Most compilers these days create code which uses dynamically linked libraries. They will link some machine code into the executable, but for efficiency's sake they will assume the machine has certain other libraries. You are, as the program's author, responsible for knowing what libraries (DLL's) your program links to, and where it looks for them. If you link them into your program, or otherwise distribute your code with them, then it should be no trouble to distribute your programs.



There is a very old phrase for something like this: RTFM. These days I spend most of my time on Linux. For me this includes switching between Gnome, KDE, XFCE4 and fluxbox desktops unpredictably. I'm constantly reading the documentation of it. I understand Windows does not always offer the best documentation for its products, but go ahead and read. One of the websites in my sources is from Microsoft.
anonymous
2007-08-04 21:08:22 UTC
http://www.mono-project.com/Main_Page



This is what you need.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...