Hi,
i created my first application with c# (normally i am programming the
other language where C# borrowed from) and i am impressed about the IDE
and the language itself. I used the Whidbey C# Express Beta.
But because i am a newbie, my questions is also quite beginner like. I
created a screensaver with c# and want to test it on another machine
than my development machine.
I tested on XP and 2000 without any .NET runtimes installed and got an
Error Window on XP and a not running screensaver on 2000 without any
Error Windows at all.
I assume that these errors are there because the target machine cant
execute the code thus lacking a Runtime correct? If this is the case, do
i have to install a 23Mb Microsoft .NET Framework Version 1.1
Redistributable Package just to execute my ScreenSaver? This wouldnt be
a good choice, because nobody like downloading a 23+1 MB large Screensaver.
Can someone gimme some infos about this issue?
Thanks.
marc 7 1203
Marc Logemann <sp***@logemann .org> wrote: i created my first application with c# (normally i am programming the other language where C# borrowed from) and i am impressed about the IDE and the language itself. I used the Whidbey C# Express Beta.
But because i am a newbie, my questions is also quite beginner like. I created a screensaver with c# and want to test it on another machine than my development machine.
I tested on XP and 2000 without any .NET runtimes installed and got an Error Window on XP and a not running screensaver on 2000 without any Error Windows at all.
I assume that these errors are there because the target machine cant execute the code thus lacking a Runtime correct? If this is the case, do i have to install a 23Mb Microsoft .NET Framework Version 1.1 Redistributable Package just to execute my ScreenSaver? This wouldnt be a good choice, because nobody like downloading a 23+1 MB large Screensaver.
Can someone gimme some infos about this issue?
If you've built the application using Whidbey, it's probably expecting
the v2.0 framework rather than the v1.1 framework. I suspect the
redistributable for v2.0 will be about the same size.
Bear in mind that as .NET becomes more prevalent, more people will have
the framework. Many people will already have it due to using Windows
Update, and I wouldn't be surprised if XP SP2 contained the 1.1
framework, too.
--
Jon Skeet - <sk***@pobox.co m> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jon Skeet [C# MVP] wrote: I assume that these errors are there because the target machine cant execute the code thus lacking a Runtime correct? If this is the case, do i have to install a 23Mb Microsoft .NET Framework Version 1.1 Redistributab le Package just to execute my ScreenSaver? This wouldnt be a good choice, because nobody like downloading a 23+1 MB large Screensaver.
Can someone gimme some infos about this issue?
If you've built the application using Whidbey, it's probably expecting the v2.0 framework rather than the v1.1 framework. I suspect the redistributable for v2.0 will be about the same size.
Bear in mind that as .NET becomes more prevalent, more people will have the framework. Many people will already have it due to using Windows Update, and I wouldn't be surprised if XP SP2 contained the 1.1 framework, too.
How can i check if a Runtime (whatever version) is installed on my system?
How can i define that my app should use 1.1 instead of 2.0 in the IDE?
Could this solve my problem regarding distribution?
( http://www.remotesoft.com/linker/index.html)
Thanks.
Marc
The runtime is a prerequisite for running .NET managed applications.
--
Bob Powell [MVP]
Visual C#, System.Drawing
The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers http://www.bobpowell.net/currentissue.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm
The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
"Marc Logemann" <sp***@logemann .org> wrote in message
news:eS******** *****@TK2MSFTNG P11.phx.gbl... Hi,
i created my first application with c# (normally i am programming the other language where C# borrowed from) and i am impressed about the IDE and the language itself. I used the Whidbey C# Express Beta.
But because i am a newbie, my questions is also quite beginner like. I created a screensaver with c# and want to test it on another machine than my development machine.
I tested on XP and 2000 without any .NET runtimes installed and got an Error Window on XP and a not running screensaver on 2000 without any Error Windows at all.
I assume that these errors are there because the target machine cant execute the code thus lacking a Runtime correct? If this is the case, do i have to install a 23Mb Microsoft .NET Framework Version 1.1 Redistributable Package just to execute my ScreenSaver? This wouldnt be a good choice, because nobody like downloading a 23+1 MB large
Screensaver. Can someone gimme some infos about this issue?
Thanks.
marc
Marc Logemann <sp***@logemann .org> wrote: How can i check if a Runtime (whatever version) is installed on my system?
As a user, the easiest way is to look in the Windows directory for
another directory called "Microsoft .NET". If it's there, look in the
Framework directory inside it to see what versions are installed.
Programatically , you can get an installer to either install the
framework directly or point the user at the appropriate MS website -
IIRC, you put the framework as one of the dependencies of the
installer.
How can i define that my app should use 1.1 instead of 2.0 in the IDE?
I don't know how to do it in Whidbey, as I don't have that installed. I
suspect it'll be entirely different from in VS.NET2003, where it's a
bit clunky.
Could this solve my problem regarding distribution? (http://www.remotesoft.com/linker/index.html)
Possibly
--
Jon Skeet - <sk***@pobox.co m> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jon Skeet [C# MVP] wrote: Programatically , you can get an installer to either install the framework directly or point the user at the appropriate MS website - IIRC, you put the framework as one of the dependencies of the installer.
Yeah, i created an installer which checks for some registry entries
regarding .NET Framework, so this issue is solved. How can i define that my app should use 1.1 instead of 2.0 in the IDE?
I don't know how to do it in Whidbey, as I don't have that installed. I suspect it'll be entirely different from in VS.NET2003, where it's a bit clunky.
is someone here who can comment on Whidbey on this one. Because i just
discovered that my resulted Application needs in fact 2.0, but 1.1 would
be sufficient, but i dont know a way how to define that inside VS, so
that the its building based on 1.1
Come on, there are some beta testers out arent? ;-)
THanks.
Marc Logemann <sp***@logemann .org> wrote: Programatically , you can get an installer to either install the framework directly or point the user at the appropriate MS website - IIRC, you put the framework as one of the dependencies of the installer.
Yeah, i created an installer which checks for some registry entries regarding .NET Framework, so this issue is solved.
Rather than create your own, why not use the install action supplied
with VS.NET?
<snip>
--
Jon Skeet - <sk***@pobox.co m> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
"Marc Logemann" <sp***@logemann .org> wrote in message
news:OP******** ******@TK2MSFTN GP09.phx.gbl... Jon Skeet [C# MVP] wrote:
is someone here who can comment on Whidbey on this one. Because i just discovered that my resulted Application needs in fact 2.0, but 1.1 would be sufficient, but i dont know a way how to define that inside VS, so that the its building based on 1.1
Come on, there are some beta testers out arent? ;-)
You can't build v1.0 or 1.1 compatible assemblies using vs2005.
You can't run programs built with vs2005 Beta on anything lower than the
v2.0 CLR is is built against.
You can run v1.0/1.1 programs on a higher version CLR than the one they are
built against.
Nota also that you better post VS2005 beta questions to the
Microsoft.Priva te.Whidbey NG's, this NG are for released products, not for
beta drops.
Willy. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: A Future Computer Scientist |
last post by:
I've gone through the newsgroups and I don't think I found the answer to my
question.
My question does anyone know the coding to show a form at runtime if it's
not the first form created, since by default VB runs the first form that's
created. I've looked in my VB book from school to see if the coding is in,
but I think my instructor told us the code.
It's been over 2 years since I've done any VB programming and like the dummy
I am, i...
|
by: Dennis |
last post by:
The setup:
Windows XP Pro
Python 2.3
GTK+ 2.2.1.2 and pyGTK 1.99.17 for Python 2.3 from
http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
I've downloaded and installed per the instructions the pyGTK and GTK+
for win32 from the above locations. Folowing the instructions, I
import pygtk first, run pygtk.require('2.0') second and then import
|
by: Robert Gravereaux |
last post by:
I've noticed that the first exception thrown/caught by an app running in
debug is very slow - it takes perhaps 7 or 8 seconds on my P4 machine. I've
noticed this on several different machines running the development
environment.
To replicate, create a new c# windows app, add a button, and hook it to the
following code:
private void btnException_Click(object sender, System.EventArgs e)
{
try
|
by: TB |
last post by:
Hi all:
If you think that the following comments are absolute amateurish, then
please bear with me, or simply skip this thread.
A couple of months back I made the decision to initiate a gradual upgrade of
my web programming skills from Classic ASP / VBS to ASP.NET / VB.NET.
While the study of the language differences and all the new features in .NET
has so far not been a traumatic experience, I am a bit shell-schocked after
|
by: bonk |
last post by:
Hello,
I am currently trying to wrap my head around what actually happens when
I compile a normal (native) c++ class with the /CLR Flag in Visual C++
2005 (C++/CLI).
Suppose I have the following class deklared in c++:
// #pragma managed or #pragma unmanaged
// does not seem to make any differnce here
| |
by: Xah Lee |
last post by:
in March, i posted a essay “What is Expressiveness in a Computer
Language”, archived at:
http://xahlee.org/perl-python/what_is_expresiveness.html
I was informed then that there is a academic paper written on this
subject.
On the Expressive Power of Programming Languages, by Matthias
Felleisen, 1990.
http://www.ccs.neu.edu/home/cobbe/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
|
by: Olivier BESSON |
last post by:
Hello,
VB.NET 1.1
IIS 6
I'm developping a winform client app of a web service of mine.
I used to set the IDE with "halt in debugger" on "common language runtime
exceptions".
Every time i call a method of my service if have 2 first time exceptions
|
by: rn5a |
last post by:
The different Page events in the page life cycle like Page_PreInit,
Page_Init, Page_Load etc. - are they different stages of the runtime
process?
Does a server send back the HTML output of an ASPX page to the browser
immediately after the runtime or are there any processes involved in
between the runtime & the time when the server sends the HTML output
back to the browser?
Thanks
|
by: sniipe |
last post by:
Hi,
I have a problem with unicode string in Pylons templates(Mako). I will
print first char from my string encoded in UTF-8 and urllib.quote(),
for example string 'ukasz':
${urllib.unquote(c.user.firstName).encode('latin-1')}
and I received this information:
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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...
|
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...
|
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 projectplanning, coding, testing, and deploymentwithout 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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |