473,800 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1663

"deko" <dj****@hotmail .com> wrote in message
news:I4******** *********@newss vr29.news.prodi gy.com...
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*******@vbbo x.com> wrote in message
news:ed******** ******@TK2MSFTN GP09.phx.gbl...

"deko" <dj****@hotmail .com> wrote in message
news:I4******** *********@newss vr29.news.prodi gy.com...
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******** ********@newssv r25.news.prodig y.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*******@vbbo x.com> wrote in message
news:ed******** ******@TK2MSFTN GP09.phx.gbl...

"deko" <dj****@hotmail .com> wrote in message
news:I4******** *********@newss vr29.news.prodi gy.com...
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******** ********@newssv r25.news.prodig y.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*******@vbbo x.com> wrote in message
news:ed******** ******@TK2MSFTN GP09.phx.gbl...

"deko" <dj****@hotmail .com> wrote in message
news:I4******** *********@newss vr29.news.prodi gy.com...
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******** ********@newssv r25.news.prodig y.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******** *****@TK2MSFTNG P10.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
1521
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 /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/specs Configured with: ../configure --disable-nls --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
0
1519
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) of the time. Sometimes it crashes on startup, and sometimes at exit, sometimes not at all. I haven't seen it crash with non-debug builds of my app and Python. The release build runs my Python test code just fine. When the debug build doesn't...
0
2231
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. 1) postgresql-7.3.5 source files are downloaded from postgresql.org
4
1578
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 the release build i can add and remove elements aslong as i stay below a certain vector size (13 in this case, no joke). as soon as the vector tries to add element 14 i get a runtime error.
10
2234
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 less. I'd like to use Python in my games. However, python24.dll is 1.86MB, and zips down to 877k. I can't afford to devote 1/6 of my download to just the scripting interpreter; I've got music, and textures, and my own crappy code to ship. ...
5
4473
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 libraries. We are having a path reference issue for the depending projects; if the build is started in another directory than that of the imported project. (It's a simple cannot find project xyz.csproj, build fails.) If we place the xml file in...
1
2734
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 I have only two non-trivial methods: In OnConnection I add my event handler to OnBuildProjConfigDone, and in the event handler I executed Build.Cancel. In IDE - no problem. When I execute I see that AddIn works and Build.Cancel is called but...
0
1139
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 --disable-shared. As such, there is no /afs/rcf/lang/gcc/current/lib/libgcc_s.so and binaries built with this compiler do not link to any shared libgcc_s. I have the following problem with Python 2.4.2. I also tried 2.4.4. Moving up to 2.5...
1
2791
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, which will result in saving it. Saving files during the build process is dangerous and can result in incorrect build outputs in future. Do you want to continue with the check out?
5
8369
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 http://sb.cesarvillaca.com/demo/box/box.php. It looks like i want it to be, but it doesn't work dynamically. Can someone please help me get this working, or show me an example i can work from online? Thanks. Here is my html with php for height/width...
0
10505
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10276
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10035
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9090
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.