Newbie, can I get around Framework requirement?

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hey,

I'm fairly new to VB.net, so forgive me if I'm asking stupid
questions.

I just created a very remedial program on an XP machine, using Visual
Studio .NET. The executable file itself is 11kB, and it's only purpose
is to give a GUI for the user to click a button to open their choice
of 3 separate programs.

Being all happy, I brought the program home to test it on my Win98
machine. Blah! Now I find out that I've got to install the .NET
Framework, which is something like 24MB (a day's worth of download on
my dial-up connection).

Since this program is going to be distributed to about 100 people,
most of which are going to be computer illiterate, it's not reasonable
to expect them to install Framework, or even know how (if they knew
how, it would defeat the purpose of my little interface).

So, is there any logical way that I can get around this "feature?" Can
I just burn a couple of DLLs to the CD on the same path as the
program?

TIA,

Mike
 
since you are putting your application on a cd you could include the
framework in your setup project i think.
 
* (e-mail address removed) (Mike) scripsit:
I just created a very remedial program on an XP machine, using Visual
Studio .NET. The executable file itself is 11kB, and it's only purpose
is to give a GUI for the user to click a button to open their choice
of 3 separate programs.

Being all happy, I brought the program home to test it on my Win98
machine. Blah! Now I find out that I've got to install the .NET
Framework, which is something like 24MB (a day's worth of download on
my dial-up connection).

Since this program is going to be distributed to about 100 people,
most of which are going to be computer illiterate, it's not reasonable
to expect them to install Framework, or even know how (if they knew
how, it would defeat the purpose of my little interface).

So, is there any logical way that I can get around this "feature?" Can
I just burn a couple of DLLs to the CD on the same path as the
program?

No, the framework must be installed on the destination computer. You
can create a setup and install the framework automatically:

Framework 1.0:

..NET Framework Deployment Guide
<http://msdn.microsoft.com/library/en-us/dnnetdep/html/dotnetframedepguid.asp>

Using Visual Studio .NET to Redistribute the .NET Framework
<http://msdn.microsoft.com/library/en-us/dnnetdep/html/vsredistdeploy.asp>

Framework 1.1:

Redistributing the .NET Framework 1.1
<http://msdn.microsoft.com/library/en-us/dnnetdep/html/redistdeploy1_1.asp>

..NET Framework 1.1 Deployment Guide
<http://msdn.microsoft.com/library/en-us/dnnetdep/html/dotnetframedepguid1_1.asp>

..NET Framework 1.1 Redistributable Prerequisites
<http://msdn.microsoft.com/library/en-us/dnnetdep/html/NETFx1Redistreq1_1.asp>

..NET Framework Redistributable Package 1.1 Technical Reference
<http://msdn.microsoft.com/library/en-us/dnnetdep/html/dotnetfxref1_1.asp>

Using Visual Studio .NET 2003 to Redistribute the .NET Framework
<http://msdn.microsoft.com/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp>
 
Hi there,

Forgive me for asking but would it not be simpler to provide an
application written in something else then? If your application simply
contains 3 buttons to be clicked by the user why not simply create a web
page? Then you would not have to install anything on the users computer and
the file will be far less than 11kb.

Or on the other hand as others have suggested, distribute the framework
with the CD and make an installer that does everything as a job lot.

I ask this because it seems mighty strange to have the potential of a
..NET app wasted just for the ease of programming. Maybe even try VB6, Flash
or something else? just an idea.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
 
Forgive me for asking but would it not be simpler to provide an
application written in something else then? If your application simply
contains 3 buttons to be clicked by the user why not simply create a web
page? Then you would not have to install anything on the users computer and
the file will be far less than 11kb.

Or on the other hand as others have suggested, distribute the framework
with the CD and make an installer that does everything as a job lot.

I ask this because it seems mighty strange to have the potential of a
.NET app wasted just for the ease of programming. Maybe even try VB6, Flash
or something else? just an idea.


Hi Nick,

I apologize if this comes across as a troll-like question. I certainly
don't mean for it to be.

Personally, I am really more familiar with web-coding languages like
Perl, and executable languages like Java, rather than VB. The program
I'm going for here is just basically an installer program for total
newbies: when they insert the CD, it would run my program which would
give them the option of installing Internet Explorer, ICQ, and a
series of other programs. The reason for my interface is that a great
many of the people I'm sending this CD to wouldn't have the slightest
idea on how to even get to D:, much less how to open the programs
there.

Web applications, like something made with Perl or Flash, wouldn't
work because the user will most likely not have a browser installed,
much less any supporting options like Flash. Java is obviously not
going to work, either, since it's very unlikely that they would have a
Java interpreter installed.

I may be totally way off base here, but I thought that the whole point
of VB was to create simple GUI applications like this? Is that just
something that 6.0 would be used for? If so, what is different about
..NET that makes it so much more powerful? It didn't appear that much
different from 6.0 (I only have a little experience with 6.0, though),
so what makes it so much more powerful to make it worth the Framework
requirement?

I know this isn't the right NG for this, but would VB 6.0 be the
program I'm looking for? If not, I'm open to any suggestions!

TIA,

Mike
 
Hi Mike,
I apologize if this comes across as a troll-like question. I certainly
don't mean for it to be.

I don't believe in trolls ;-)
Personally, I am really more familiar with web-coding languages like
Perl, and executable languages like Java, rather than VB. The program
I'm going for here is just basically an installer program for total
newbies: when they insert the CD, it would run my program which would
give them the option of installing Internet Explorer, ICQ, and a
series of other programs. The reason for my interface is that a great
many of the people I'm sending this CD to wouldn't have the slightest
idea on how to even get to D:, much less how to open the programs
there.

Well that is a totally different kettle of fish then, I am suprised that you
are installing onto Windows systems that don't have Internet Explorer on
them. But fair enough, the only other option for a dependentless
application would be a lower level language, such as C, but you could even
find an application out there that is designed for such a purpose.

For example, have you ever bought a computer magazine? They have the menu
systems on them, and they are completely customizeable, that is why you see
the same menu for magazine to magazine. All the dependencies can be
included on the CD and it will run straight away, that is exactly what they
were designed for. And they were designed using a low level language.
Web applications, like something made with Perl or Flash, wouldn't
work because the user will most likely not have a browser installed,
much less any supporting options like Flash. Java is obviously not
going to work, either, since it's very unlikely that they would have a
Java interpreter installed.

ACK, though a little suprising.
I may be totally way off base here, but I thought that the whole point
of VB was to create simple GUI applications like this? Is that just
something that 6.0 would be used for? If so, what is different about
.NET that makes it so much more powerful? It didn't appear that much
different from 6.0 (I only have a little experience with 6.0, though),
so what makes it so much more powerful to make it worth the Framework
requirement?

Nope, totally wrong there. VB has never claimed to be low level, that is
why it is far more attractive to most people, because allot of hard work has
been completed already. .NET langauges are high level langauges, with the
exception of C++ .NET of course which can be a mixture of both. High level
langauges are easier to develop in than low level languages but they have
dependencies (the bits that have been done for you).

"The Framework" is very powerful in the sence that it standardizes
interfaces, imagine older programs, programmers found many different ways of
acomplishing the same task, producing very diverse and unpredictable code.
..NET applications are supposed to use the same interfaces, so providing they
are used correctly you will allways get the same results.

VB6 uses VB runtimes, which are pretty much the same thing only they do not
contain anywhere near the level of functions for the programmer, you have to
use Win32 API's to do most of the complicated work. The Framework is
supposed to be a replacement for the Win32 API's also, but you still need
them in certain circumstances.
I know this isn't the right NG for this, but would VB 6.0 be the
program I'm looking for? If not, I'm open to any suggestions!

I would get a magazine, such as Computer Shopper, and take a look at the
menu that comes with it! Or any crappy magazine that has thousands of
useless programs on it, accessable through a customizeable interface, or
look on the net for one!

The hard work has already been done for you!

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
 
Hi Mike,
In addition to Nick,
There is VB script, maybe to you mix this up with all other VB languages.
I would not say it is easy, but you can do a lot with it without any
compiler, it is something like the old Basic supported with the first PC's

http://www.microsoft.com/downloads/...43-7e4b-4622-86eb-95a22b832caa&DisplayLang=en

And like Nick said, a Microsoft Window computer withouth the posibility of
using HTML forms, for that we have to go back till Windows 3.11

I hope this helps a little bit.

Cor
 
Back
Top