473,396 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Can I build non-.NET apps with VS.NET?

I'm confused about what I can use C# and VS.NET for.

I have both Visual Studio 6.0 and Visual Studio .NET - which one do I use?

If I want to build a basic VB app, I assume I can use the VB 6 component in
Visual Studio 6.0. But If I want to build a C# application - does that mean
I have to use VS.NET? And if I do write an application in C# does that mean
it can only run on a Windows box with the .Net Framework? Do all C# apps
require the .NET Framework? Is that why there is no C# component for
VS.NET?

any enlightenment welcome...
Jul 21 '05 #1
9 1626

"deko" <dj****@hotmail.com> wrote in message
news:I4*****************@newssvr29.news.prodigy.co m...
If I want to build a basic VB app, I assume I can use the VB 6 component in Visual Studio 6.0
Correct, although in 6.0 they're really different products (VC++, InterDev,
VB). You'd use Visual Basic 6.0.
. But If I want to build a C# application - does that mean
I have to use VS.NET? And if I do write an application in C# does that mean it can only run on a Windows box with the .Net Framework? Do all C# apps
require the .NET Framework?
Yes, yes, yes.

Actually you don't require the VS.NET IDE to write C# applications - you can
do that with the .NET SDK and a text editor.
Is that why there is no C# component for
VS.NET?


There's no "component" per se, C# is just a target language supported by
VS.NET. What you have are C# _projects_, but there's no separate IDE for
them. If you have VB.NET and VJ#, for example, you have project types for
each of them as well.
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/
Jul 21 '05 #2
Thanks for the reply. That clears things up a bit.

But I'm wondering what advantage a C# app has over a VB app. Is it just a
matter of how it's developed? It would seem that a VB 6 app would be easier
to distribute since it does not require the .NET framework. Or is there
something about managed code that makes it better?
I assume that if you want a web service you need to use C#
And how does Windows Server 2003 fit in the picture? Do you need a 2003
server to run VS.NET apps? Or is a 2003 server just for web apps - i.e.
ASP.NET ?

thanks again...

"Klaus H. Probst" <us*******@vbbox.com> wrote in message
news:ed**************@TK2MSFTNGP09.phx.gbl...

"deko" <dj****@hotmail.com> wrote in message
news:I4*****************@newssvr29.news.prodigy.co m...
If I want to build a basic VB app, I assume I can use the VB 6 component in
Visual Studio 6.0


Correct, although in 6.0 they're really different products (VC++,

InterDev, VB). You'd use Visual Basic 6.0.
. But If I want to build a C# application - does that mean
I have to use VS.NET? And if I do write an application in C# does that mean
it can only run on a Windows box with the .Net Framework? Do all C# apps require the .NET Framework?


Yes, yes, yes.

Actually you don't require the VS.NET IDE to write C# applications - you

can do that with the .NET SDK and a text editor.
Is that why there is no C# component for
VS.NET?


There's no "component" per se, C# is just a target language supported by
VS.NET. What you have are C# _projects_, but there's no separate IDE for
them. If you have VB.NET and VJ#, for example, you have project types for
each of them as well.
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

Jul 21 '05 #3
well, theres a lots of advantages over VB apps, if you dont want to lean a
new language, then you can use VB.NET for .NET Framework, like C# for .NET
Framework.Well, VB.NET is now fully Object Oriented programming language
which was not before in its earlier versions like VB 6.0 or less, now
whatever new operating system is coming into the market from Microsoft is
coming bundled with the .NET Framework already installed, and theres a lots
of advantages of managed code over unmannaged code. Well, Windows Server
2003 supports COM+ very nicely, but if you want you can develop applications
in Windows XP or Windows 2000, you just need IIS to be installed on your
computer, and the application which you develop in .NET Framework will work
on all windows versions provided .NET Framework is installed, but .NET
Framework won't install on Windows 95, so .NET Framework applications will
not work on Windows 95, and the application which you develop using .NET
Framework will work apart from the Windows OS also, as its now using Virtual
Machine thing, right now theres one project going on, for Linux which is
called mono project, which enables .NET Framework applications to run on
Linux OS, http://www.go-mono.com

you will get some components from http://msdn.microsoft.com for web services
for VB 6.0, so you can make your applicatins Web Service enabled.

ASP.NET will also work on Windows XP, Windows 2000 provided IIS is isntalled
and .NET Framework is installed, no need of Windows Server 2003, but tell
you, Windows Server 2003 rules.

Hope this helps.

--
Dhaval Faria
Founder, Programmer
Hirdhav (http://www.hirdhav.com)
Microsoft India Community Star
"deko" <dj****@hotmail.com> wrote in message
news:hx****************@newssvr25.news.prodigy.com ...
Thanks for the reply. That clears things up a bit.

But I'm wondering what advantage a C# app has over a VB app. Is it just a
matter of how it's developed? It would seem that a VB 6 app would be easier to distribute since it does not require the .NET framework. Or is there
something about managed code that makes it better?
I assume that if you want a web service you need to use C#
And how does Windows Server 2003 fit in the picture? Do you need a 2003
server to run VS.NET apps? Or is a 2003 server just for web apps - i.e.
ASP.NET ?

thanks again...

"Klaus H. Probst" <us*******@vbbox.com> wrote in message
news:ed**************@TK2MSFTNGP09.phx.gbl...

"deko" <dj****@hotmail.com> wrote in message
news:I4*****************@newssvr29.news.prodigy.co m...
If I want to build a basic VB app, I assume I can use the VB 6
component
in
Visual Studio 6.0


Correct, although in 6.0 they're really different products (VC++,

InterDev,
VB). You'd use Visual Basic 6.0.
. But If I want to build a C# application - does that mean
I have to use VS.NET? And if I do write an application in C# does
that mean
it can only run on a Windows box with the .Net Framework? Do all C# apps require the .NET Framework?


Yes, yes, yes.

Actually you don't require the VS.NET IDE to write C# applications - you

can
do that with the .NET SDK and a text editor.
Is that why there is no C# component for
VS.NET?


There's no "component" per se, C# is just a target language supported by
VS.NET. What you have are C# _projects_, but there's no separate IDE for
them. If you have VB.NET and VJ#, for example, you have project types

for each of them as well.
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/


Jul 21 '05 #4
> It would seem that a VB 6 app would be easier
to distribute since it does not require the .NET framework. Or is there
something about managed code that makes it better?
I would say .NET apps are easier to distribute! Sure, you need the .NET
Framework, but in VB6 you need the VB6 Runtime. But VB6 components (ActiveX
for example) need to be registered on your client pc's. In general .NET
components don't need to be registered on your client pc's, so you can use
XCOPY deployment, or no-touch-deployment. Trust me, deployment makes a
developer's life much nicer in a .NET world. :-)
But I'm wondering what advantage a C# app has over a VB app.
Additionally I want to stress that VB.NET applications are the same as C#
applications, so I would compare .NET applications with VB6 applications. If
you write your code in VB.NET (which probably will be a little bit easier
since you know VB6) you'll have all the advantages C# has too, because they
use the same IL.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"deko" <dj****@hotmail.com> schreef in bericht
news:hx****************@newssvr25.news.prodigy.com ... Thanks for the reply. That clears things up a bit.

But I'm wondering what advantage a C# app has over a VB app. Is it just a
matter of how it's developed? It would seem that a VB 6 app would be easier to distribute since it does not require the .NET framework. Or is there
something about managed code that makes it better?
I assume that if you want a web service you need to use C#
And how does Windows Server 2003 fit in the picture? Do you need a 2003
server to run VS.NET apps? Or is a 2003 server just for web apps - i.e.
ASP.NET ?

thanks again...

"Klaus H. Probst" <us*******@vbbox.com> wrote in message
news:ed**************@TK2MSFTNGP09.phx.gbl...

"deko" <dj****@hotmail.com> wrote in message
news:I4*****************@newssvr29.news.prodigy.co m...
If I want to build a basic VB app, I assume I can use the VB 6
component
in
Visual Studio 6.0


Correct, although in 6.0 they're really different products (VC++,

InterDev,
VB). You'd use Visual Basic 6.0.
. But If I want to build a C# application - does that mean
I have to use VS.NET? And if I do write an application in C# does
that mean
it can only run on a Windows box with the .Net Framework? Do all C# apps require the .NET Framework?


Yes, yes, yes.

Actually you don't require the VS.NET IDE to write C# applications - you

can
do that with the .NET SDK and a text editor.
Is that why there is no C# component for
VS.NET?


There's no "component" per se, C# is just a target language supported by
VS.NET. What you have are C# _projects_, but there's no separate IDE for
them. If you have VB.NET and VJ#, for example, you have project types

for each of them as well.
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/


Jul 21 '05 #5
Hi Dhaval,

I appreciate your comments.

I'm learning C# now and coming up to speed on VS.NET. I've been programming
in VB, but feel it's time to jump into C#. I have a couple of Windows
Server 2003 boxes in my lab and would agree that the OS is great - stable,
easy to add server roles, etc. I've not fully explored all the features,
but I know there are a lot of administration tasks that can be done remotely
from the command line - this is a big plus.

one quick follow up:
Windows Server 2003 supports COM+ very nicely,
but if you want you can develop applications
in Windows XP or Windows 2000, you just need
IIS to be installed on your computer, and the application
which you develop in .NET Framework will work.


So I would install IIS on my Windows XP workstation? What I think you are
saying is that IIS is required (in addition to the .NET framework) to run a
..NET app locally. It would seem strange to install IIS on a workstation
(that is not a web server). Perhaps you mean IIS is required on the local
machine to run a *web-based* .NET app?
Jul 21 '05 #6
You don't need IIS on all your client PC's, but if you want to develop web
applications you'll need IIS on your client pc's that your developers use
(in order to be able to develop web apps).

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"deko" <dj****@hotmail.com> schreef in bericht
news:lg****************@newssvr25.news.prodigy.com ...
Hi Dhaval,

I appreciate your comments.

I'm learning C# now and coming up to speed on VS.NET. I've been programming in VB, but feel it's time to jump into C#. I have a couple of Windows
Server 2003 boxes in my lab and would agree that the OS is great - stable,
easy to add server roles, etc. I've not fully explored all the features,
but I know there are a lot of administration tasks that can be done remotely from the command line - this is a big plus.

one quick follow up:
Windows Server 2003 supports COM+ very nicely,
but if you want you can develop applications
in Windows XP or Windows 2000, you just need
IIS to be installed on your computer, and the application
which you develop in .NET Framework will work.
So I would install IIS on my Windows XP workstation? What I think you are
saying is that IIS is required (in addition to the .NET framework) to run

a .NET app locally. It would seem strange to install IIS on a workstation
(that is not a web server). Perhaps you mean IIS is required on the local
machine to run a *web-based* .NET app?

Jul 21 '05 #7
> You don't need IIS on all your client PC's, but if you want to develop web
applications you'll need IIS on your client pc's that your developers use
(in order to be able to develop web apps).


Hi Jan,

That makes sense.

So, if I'm developing an application - a standard client .exe application -
to run locally on an XP box, I can develop it with VS.NET and C# (or
VB.NET) -- the only joker in the pack is that the client PC needs to have
the .NET Framework. For a development box, it sounds like Windows Server
2003 is a good choice, which can be loaded with IIS and/or SQL Server (if
needed).

The bottom line is that any stand-alone (or client-server) application
developed with VS.NET will require the .NET Framework; apps developed with
VB 6.0 will not. Does this sound about right?
Jul 21 '05 #8
Cor
Hi Deko
So, if I'm developing an application - a standard client .exe application - to run locally on an XP box, I can develop it with VS.NET and C# (or
VB.NET) -- the only joker in the pack is that the client PC needs to have
the .NET Framework. For a development box, it sounds like Windows Server
2003 is a good choice, which can be loaded with IIS and/or SQL Server (if
needed).
XP pro has also IIS (5.1) and can connect to the SQL server
(I think XP pro is better as a development box than a server because of a
simpler less

The bottom line is that any stand-alone (or client-server) application
developed with VS.NET will require the .NET Framework; apps developed with
VB 6.0 will not. Does this sound about right?

Apps developed with VB 6.0 needs a runtimer that is not standard in windows

In future Net will probably be standard
(It is already a standard update component).

Cor
Jul 21 '05 #9
I agree with Cor: I'd use XP Pro as development OS for sure! You really
don't need a full blown W2K3 server, that's something to use as your
development server.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Cor" <no*@non.com> schreef in bericht
news:e5*************@TK2MSFTNGP10.phx.gbl...
Hi Deko
So, if I'm developing an application - a standard client .exe application -
to run locally on an XP box, I can develop it with VS.NET and C# (or
VB.NET) -- the only joker in the pack is that the client PC needs to have the .NET Framework. For a development box, it sounds like Windows Server 2003 is a good choice, which can be loaded with IIS and/or SQL Server (if needed).


XP pro has also IIS (5.1) and can connect to the SQL server
(I think XP pro is better as a development box than a server because of a
simpler less

The bottom line is that any stand-alone (or client-server) application
developed with VS.NET will require the .NET Framework; apps developed with VB 6.0 will not. Does this sound about right?

Apps developed with VB 6.0 needs a runtimer that is not standard in

windows
In future Net will probably be standard
(It is already a standard update component).

Cor

Jul 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: matt okeson-harlow | last post by:
i am getting errors trying to build MySQLdb on solaris 8, i have tried changing the libs, no joy, anyone have any ideas? Python 2.3.4 gcc -v Reading specs from...
0
by: Adam Tomjack | last post by:
I'm trying to embed Python 2.3.5 into a C++ application on Windows XP. When I build my app with debug symbols and link to a debug build of Python, then my program seems to crash most (but not all)...
0
by: Saravanan A | last post by:
Hello All, I am having the following problem in PostgreSQL build process. If anyone came across this, pls give me a solution to solve this. I followed the steps below given at the build time....
4
by: whocares | last post by:
hi everyone. i'm currently experiencing a strange problem under vc++ 2005 express. i hope someone has a hint for me, i'm kind of lost atm. i'm using a vectors of pointers in my code. using...
10
by: Larry Hastings | last post by:
I'm an indie shareware Windows game developer. In indie shareware game development, download size is terribly important; conventional wisdom holds that--even today--your download should be 5MB or...
5
by: Al | last post by:
Hi all We have created a xml file that imports a single project using the Import element. This project compiles to a class library, but has references to two other projects that are also class...
1
by: AlexZh | last post by:
Hi, I'd like to stop command line build by one project build failed. To do that I've created simple AddIn (see code below), that works fine for IDE and does not work for command line. In the AddIn...
0
by: Jeff Blaine | last post by:
We have a GCC in /usr/rcf that was not built with --disable-shared. As such, there is a /usr/rcf/lib/libgcc_s.so. We also have a (preferred) GCC in /afs/rcf/lang/gcc/current that was built with...
1
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
I have an asp.net solution with a web deployment project. When we try to build/debug, we get the message: An editor or project is attempting to check out a file that is modified in memory,...
5
by: empiresolutions | last post by:
I'm trying to build a box that i can place content in. This box should dynamically change width and height to accommodate the content inside. I have build out a non-working example here...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.