are dotnet windowsforms best choice for my scenario?

  • Thread starter Thread starter rockdale
  • Start date Start date
R

rockdale

Hi, all:

I hav been doing C#.net coding for quite a long time, but mostly on
asp.net. now I need to program an application that will save on flash
driver and when the user plug in flash driver, my application will
auto-run. my application contains user interfaces that user can read /
edit/save their data into flash driver. First, I am think of
using .Net windows form, but this requires user download .net 2.0
framework runtime to run the application, isn't it? Is there a way to
compile those DLLs that my application needed together and avoid
asking user to install .Net 2.0 framework runtime. If installation
of .Net 2.0 framework runtime is a must, are there any other language
a better choice , like VB6.0, C++6.0?

thanks in advance
-rockdale
 
VB 6 requires its own runtime and I "believe" C++ does as well.

You are going to have a tough time getting away from a runtime
installation.

You can't just wire up a self extracting zip file and installs .NET 2.0
if it isn't there?
 
The VB6 runtime is proportionately very small and C++ certainly doesn't need
a runtime unless its managed c++.

Other than that I have no clue as to how the OP might accomplish their task.

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.


Robbe Morris - [MVP] C# said:
VB 6 requires its own runtime and I "believe" C++ does as well.

You are going to have a tough time getting away from a runtime
installation.

You can't just wire up a self extracting zip file and installs .NET 2.0
if it isn't there?

--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web surveys
http://www.equalssolved.com/default.aspx




rockdale said:
Hi, all:

I hav been doing C#.net coding for quite a long time, but mostly on
asp.net. now I need to program an application that will save on flash
driver and when the user plug in flash driver, my application will
auto-run. my application contains user interfaces that user can read /
edit/save their data into flash driver. First, I am think of
using .Net windows form, but this requires user download .net 2.0
framework runtime to run the application, isn't it? Is there a way to
compile those DLLs that my application needed together and avoid
asking user to install .Net 2.0 framework runtime. If installation
of .Net 2.0 framework runtime is a must, are there any other language
a better choice , like VB6.0, C++6.0?

thanks in advance
-rockdale
 
most of my end users are not computer literate and may not access to
internet, they may not be able to download CLR for .net or JRE for
Java or unzip anything.
what they want is auto run the appl as soon as they plug in the flash
drive. I did a little bit research,
I can use C or C++, I even can use MFC for my user interface as long
as I set those dlls to static link. It will result a big execuble file
since those functions will be contained in this exe.

I would like to know more about how VB6 can be self contained since my
appl will use forms, dropdown lists... etc



The VB6 runtime is proportionately very small and C++ certainly doesn't need
a runtime unless its managed c++.

Other than that I have no clue as to how the OP might accomplish their task.

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consultinghttp://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Trickshttp://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQhttp://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.



VB 6 requires its own runtime and I "believe" C++ does as well.
You are going to have a tough time getting away from a runtime
installation.
You can't just wire up a self extracting zip file and installs .NET 2.0
if it isn't there?
--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web surveys
http://www.equalssolved.com/default.aspx

- Show quoted text -
 
Although the VB6 runtime is pretty small (1mb), it also requires
"installing" (which requires admin privileges on the machine). It cannot be
statically compiled into the exe. Your only choice is C++. Even with MFC,
what does it add to the exe? 500K if I remember right. That's not all that
bad.

If you want to go way way way back into time... you could get your hands on
VB3, which required just one 300K dll that could reside in the same folder
as the exe and work just fine without being installed. ;-) VB3 apps run just
fine in Windows today.

P.S.
I do sure wish that MS had found a way to allow you to statically (and
intelligently, incrementally) compile the framework into standalone exe's.
It would have sparked a lot of good shareware development similar to what
happened in the mid to late 90's with MFC and VB3 programs. As it stands
now, .NET apps are only really viable in a corporate environment.... nothing
else.

most of my end users are not computer literate and may not access to
internet, they may not be able to download CLR for .net or JRE for
Java or unzip anything.
what they want is auto run the appl as soon as they plug in the flash
drive. I did a little bit research,
I can use C or C++, I even can use MFC for my user interface as long
as I set those dlls to static link. It will result a big execuble file
since those functions will be contained in this exe.

I would like to know more about how VB6 can be self contained since my
appl will use forms, dropdown lists... etc



The VB6 runtime is proportionately very small and C++ certainly doesn't
need
a runtime unless its managed c++.

Other than that I have no clue as to how the OP might accomplish their
task.

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consultinghttp://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and
Trickshttp://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+
FAQhttp://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

message

VB 6 requires its own runtime and I "believe" C++ does as well.
You are going to have a tough time getting away from a runtime
installation.
You can't just wire up a self extracting zip file and installs .NET 2.0
if it isn't there?
--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web surveys
http://www.equalssolved.com/default.aspx

- Show quoted text -
 
auto-run. my application contains user interfaces that user can read /
edit/save their data into flash driver. First, I am think of

I think you're turning a very simple job into a project. You can do
everything you need using jscript or vbscript.
 
I did not know that you can use VBScript or JScript to code a windows
form and run without Internet explorer? Is that true?
 
No. Plus, your original post talked about writing files back to the
flash drive. I suspect using a browser based approach as described
above with JavaScript is going to lead to support issues regarding
browser security settings.

By the way, you can include .NET Framework as part of your
..msi. The end user wouldn't need to have internet access.

It won't be long and huge percentage of your user base will already
have .NET 2.0 installed from Windows Updates.

--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web surveys
http://www.equalssolved.com/default.aspx




I did not know that you can use VBScript or JScript to code a windows
form and run without Internet explorer? Is that true?
 
In my personal experience, I find that almost NOBODY has the Framework
installed. Every machine I encounter from the workstations at my job, to ALL
my friend's computers. Not 1.0, not 2.0, none. Unless I'm mistaken the
framework is an "optional" component and isn't installed automatically. No
layman user will probably ever install it.


Robbe Morris - [MVP] C# said:
No. Plus, your original post talked about writing files back to the
flash drive. I suspect using a browser based approach as described
above with JavaScript is going to lead to support issues regarding
browser security settings.

By the way, you can include .NET Framework as part of your
.msi. The end user wouldn't need to have internet access.

It won't be long and huge percentage of your user base will already
have .NET 2.0 installed from Windows Updates.

--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web surveys
http://www.equalssolved.com/default.aspx




I did not know that you can use VBScript or JScript to code a windows
form and run without Internet explorer? Is that true?

(e-mail address removed):


I think you're turning a very simple job into a project. You can do
everything you need using jscript or vbscript.
 
You are right, .Net 2.0 is not included in WinXP or the Windows Updates as a
requirement; they are strictly optional. If the user is running Vista, it's
not a problem.

My company uses ClickOnce and we are pushing .Net 2.0 Framework as a
prerequisite in our deployemnt. Our experience has been different from
yours -- most people have .Net 2.0 or higher installed, usually because they
have installed some other application that requires it. We have a lot of
corporate users, but also a lot of "regular joes".

And for the ones who don't have .Net installed, installing it has been
occasionally problematic, but for the most part not. It does not require a
reboot *usually*. You could deploy it on a flash drive; I think the
redistributable is only 20MB.

And look at the bright side -- you only have to install .Net 2.0 once.

Good luck.

RobinS.
GoldMail, Inc.
---------------------------------
CMoya said:
In my personal experience, I find that almost NOBODY has the Framework
installed. Every machine I encounter from the workstations at my job, to
ALL my friend's computers. Not 1.0, not 2.0, none. Unless I'm mistaken the
framework is an "optional" component and isn't installed automatically. No
layman user will probably ever install it.


Robbe Morris - [MVP] C# said:
No. Plus, your original post talked about writing files back to the
flash drive. I suspect using a browser based approach as described
above with JavaScript is going to lead to support issues regarding
browser security settings.

By the way, you can include .NET Framework as part of your
.msi. The end user wouldn't need to have internet access.

It won't be long and huge percentage of your user base will already
have .NET 2.0 installed from Windows Updates.

--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web surveys
http://www.equalssolved.com/default.aspx




I did not know that you can use VBScript or JScript to code a windows
form and run without Internet explorer? Is that true?

(e-mail address removed):

auto-run. my application contains user interfaces that user can read /
edit/save their data into flash driver. First, I am think of

I think you're turning a very simple job into a project. You can do
everything you need using jscript or vbscript.
 
I did not know that you can use VBScript or JScript to code a windows
form and run without Internet explorer? Is that true?

You definately do not need internet explorer to use the Windows Scripting
Host. IE may need to be installed, but that is a foregone conclusion.

You can not use winforms, but that is my point. For what you are doing I
don't see where you need anything that the shell doesn't already provide.
You can do a lot with the message box and a little creativity.

Best wishes,
Roger
 
That mirrors my experience as well.

--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web surveys
Free download: http://www.equalssolved.com/default.aspx




RobinS said:
You are right, .Net 2.0 is not included in WinXP or the Windows Updates as
a requirement; they are strictly optional. If the user is running Vista,
it's not a problem.

My company uses ClickOnce and we are pushing .Net 2.0 Framework as a
prerequisite in our deployemnt. Our experience has been different from
yours -- most people have .Net 2.0 or higher installed, usually because
they have installed some other application that requires it. We have a lot
of corporate users, but also a lot of "regular joes".

And for the ones who don't have .Net installed, installing it has been
occasionally problematic, but for the most part not. It does not require a
reboot *usually*. You could deploy it on a flash drive; I think the
redistributable is only 20MB.

And look at the bright side -- you only have to install .Net 2.0 once.

Good luck.

RobinS.
GoldMail, Inc.
---------------------------------
CMoya said:
In my personal experience, I find that almost NOBODY has the Framework
installed. Every machine I encounter from the workstations at my job, to
ALL my friend's computers. Not 1.0, not 2.0, none. Unless I'm mistaken
the framework is an "optional" component and isn't installed
automatically. No layman user will probably ever install it.


Robbe Morris - [MVP] C# said:
No. Plus, your original post talked about writing files back to the
flash drive. I suspect using a browser based approach as described
above with JavaScript is going to lead to support issues regarding
browser security settings.

By the way, you can include .NET Framework as part of your
.msi. The end user wouldn't need to have internet access.

It won't be long and huge percentage of your user base will already
have .NET 2.0 installed from Windows Updates.

--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web surveys
http://www.equalssolved.com/default.aspx




I did not know that you can use VBScript or JScript to code a windows
form and run without Internet explorer? Is that true?

On Jan 3, 8:04 pm, Scudder Consulting
(e-mail address removed):

auto-run. my application contains user interfaces that user can read
/
edit/save their data into flash driver. First, I am think of

I think you're turning a very simple job into a project. You can do
everything you need using jscript or vbscript.
 
Back
Top