User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 456,515 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,718 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 605 | Replies: 6
Reply
Join Date: Sep 2007
Location: UT
Posts: 8
Reputation: GRaymer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
GRaymer GRaymer is offline Offline
Newbie Poster

Question C# and .Net 1.0

  #1  
Sep 27th, 2007
I'm a student working on an internship, without a lot of guidence. I went to develop a program with C# not realizing that as a developer in the organization I have a different standard desktop than the rest of the organization. So on my computer I was able to develop my program with C# VS Pro 2005 with no problems.

However, when it came to installing my application, it ask the user to install .Net 2.0. I've been talking to some coworkers about it and they're saying that I either recode it or just have the users upgrade to .Net 2.0.

Does anyone have any advice or am I stuck to those two choices?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,166
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Rep Power: 7
Solved Threads: 59
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: C# and .Net 1.0

  #2  
Sep 27th, 2007
Yes those are your two choices. It's no problem to have framework 1 and 2 on a comnputer side by side so bundle the framework 2 re-distributable in your set-up project.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote  
Join Date: Sep 2007
Location: UT
Posts: 8
Reputation: GRaymer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
GRaymer GRaymer is offline Offline
Newbie Poster

Re: C# and .Net 1.0

  #3  
Sep 27th, 2007
I've already tried that, but my distribution method is email, since this is an internal application and it's rather small (until I bundle it). My organization's email is really restrictive with email attachment size, to get an increase it takes a lot of paperwork and bureaucracy. I'm not sure if my superiors are too keen on me having different people all over the world upgrading the standard desktop too. So looks to me like I'll more than likely have to recode?
Reply With Quote  
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,166
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Rep Power: 7
Solved Threads: 59
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: C# and .Net 1.0

  #4  
Sep 27th, 2007
It may not bee that much work. Depends how many 2.0 only features you used (generics is one that springs to mind) If you haven't used anything specific to framework 2.0 just paste your code into a new VS 2003 Project and compile.
Last edited by hollystyles : Sep 27th, 2007 at 7:18 pm.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote  
Join Date: Apr 2006
Posts: 87
Reputation: blacklocist is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
blacklocist blacklocist is offline Offline
Junior Poster in Training

Re: C# and .Net 1.0

  #5  
Oct 2nd, 2007
If you are running Active Directory and have the ability to assign GPO(Group Policy Objects) just add the .Net 2.0 MSI under the Software Installation on the Computer Configuration.

When the user turns the computer on or restarts it will install it with out user intervention. This is how I have done it at my site and works like a charm.
Reply With Quote  
Join Date: Sep 2007
Location: UT
Posts: 8
Reputation: GRaymer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
GRaymer GRaymer is offline Offline
Newbie Poster

Re: C# and .Net 1.0

  #6  
Oct 2nd, 2007
Found out from my boss I can't mess with .Net 2.0...so I've recoded. Got most of it done but the project properties are not as robust with VS 2003. So I'm getting a compiling error with the following lines:

	Network_Survey.Properties.Settings.Default.DriverPath = this._txtDriverPath.Text;
	Network_Survey.Properties.Settings.Default.Save();

Network_Survey is the name of the project. The compile error is on the Network_Survey.Properties VS 2003 just doesn't have a Properties area that allows me to define the DriverPath like CS 2003 version does or ...it's hidden from me.
Reply With Quote  
Join Date: Sep 2007
Location: UT
Posts: 8
Reputation: GRaymer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
GRaymer GRaymer is offline Offline
Newbie Poster

Re: C# and .Net 1.0

  #7  
Oct 2nd, 2007
Thanks Blacklocist... was working on that when I got shot down.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C# Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C# Forum

All times are GMT -4. The time now is 3:54 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC