Topic: Removing Environment Variables? Bad Idea? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=27821" title="Pages that link to Topic: Removing Environment Variables? Bad Idea? (Page 1 of 1)" rel="nofollow" >Topic: Removing Environment Variables? Bad Idea? <span class="small">(Page 1 of 1)</span>\

 
CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 04-22-2006 00:22

I recently got Visual Studio 2005 (pretty good stuff by the way). However, when I compile a C# project, it compiles fine so far but I get this warning :

code:
Warning    1    Invalid search path 'C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib' specified in 'LIB environment variable' -- 'The system cannot find the path specified. '



It is referencing an old install of Visual Studio 6 that has been uninstalled. So, can I just go into the lib Environment variable and delete this? Will it screw anything else up in doing so? I don't really see why it would screw anything up since it's not there but should the "lib" environement variable be replaced with something or is just getting rid of that variable be cool?

Thanks in advance!

Later,

C:\

Alevice
Paranoid (IV) Inmate

From: Mexico
Insane since: Dec 2002

posted posted 04-22-2006 00:36

Keep a copy of the old value, and replace it.

__________________________________
Something else

Sexy Demoness cel

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 04-22-2006 00:49

sorry, I don't think I understand what you mean?

I can go into the environment variables and either make a new one, delete it, or edit it.

If I "replace" it, I don't know what to replace it with

Later,

C:\



(Edited by CPrompt on 04-22-2006 00:50)

Alevice
Paranoid (IV) Inmate

From: Mexico
Insane since: Dec 2002

posted posted 04-22-2006 01:00

Sorry, I guess I did not proofread my previous post.

I just meant to say that you might want backup the current LIB value, just in case anything goes wrong, and either delete the var, or just remove that dir from the var.

__________________________________
Something else

Sexy Demoness cel

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 04-22-2006 04:57

cool. Thanks I just backed it up like you said and removed it. Everything works fine and no more warnings. MS should have made note of that for the install of VS2005 and either removed it changed it. Oh well.

Thanks!

Later,

C:\

lallous
Maniac (V) Inmate

From: Lebanon
Insane since: May 2001

posted posted 04-22-2006 20:19

Hi

I do have VS6, VS2003 and VS2005 installed altogether and never had such a problem.

--
Regards,
Elias

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 04-23-2006 13:40
quote:

lallous said:

HiI do have VS6, VS2003 and VS2005 installed altogether and never had such a problem.--Regards,Elias




uninstall VS6 and see if it doesn't pop up

I have a friend that I spoke with yesterday and he said the same thing. Started throwing warnings like that. Then again, I might go back and re-install VS6 so I can make some changes to a couple of programs.

On another note, do you use C#? I am really diggin that language. After getting away from VB for a few years and doing PHP and the such, C# has kind of taken over for me anyway

Later,

C:\

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 04-23-2006 15:44

CPrompt

What kind of projects are you using C# for? I've tried to learn C# a few times but being that all I've ever done/do is web work on *nix servers I've never really been able to apply it to something I can relate to. I really would like to take in another language but I don't learn very well by just reading the book, and I've never been good at just thinking up a project to do just to learn on. I'd love to hear some of the things your doing with it.

- Butcher -

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 04-24-2006 12:40

well right now I'm just learning the language so nothing special. I had gotten back into VB6 a few months ago when our print shop needed a special app. Then I got VS2005. I started to do a little bit in it but I just didn't, well, like it So I fired up C# to see what it was about.

Since I had been doing some PHP stuff, I kept trying to put curly braces in and semi-colons in. I found that C# windows applications were a lot like VB in the RAD sense and that I could use the curly braces and such. So, I just started concentrating on it.

We do have and IIS server in the print shop that I might upgrade and do some stuff web based but right now it's just windows apps.

I have a "sort of" print driver that I did in VB6 that I am going to port over to C# just for practice. Then I am going to write something for the service department so they can keep track of inventory.

I just found that it was pretty easy for me to get my mind around the whole OOP thing with C# as opposed to other languages. So, right now, I'm not doing much but learning it but soon it will be my weapon of choice I think for Windows apps. As far as Web based stuff I'll stick with PHP since I try to stay away from the windows web servers.

Give it a go, i think you might like it

Later,

C:\

Lord_Fukutoku
Paranoid (IV) Inmate

From: San Antonio
Insane since: Jul 2002

posted posted 04-24-2006 15:26
quote:
Visual Studio 2005 (pretty good stuff by the way)


Not trying to hijack you or anything, but I'm incredibly unimpressed with VS 2005. I've been working withit non-stop for the last 3 months (or just about) and it's slower than all get out, it's been crashing anywhere from 2 to 20 times a day, there are significant bugs in its 'auto-generated' code that you spend more time writing a workaround for than it would take you to write the original (correct) code for in the first place, and ReSharper support for 2005 is pitifull to say the least (I know it's just now in Beta, but I was completely spoiled by it when I used VS 2003 and I'm impatient )

That said, I don't think C# itself is all that bad (definitely not what I thought it'd be at first, after having to use J++ at VS6 at the univ for two semesters which gave me a really bad taste of VS and everything related). I'm definitely not a fan of Visual Studio (any version) though still. Interesting paper about VS (and really any IDE's that try to do too much for you I think, been a while since I read it): Does Visual Studio Rot The Mind?

And on that note, I get to go dive into re-debugging a C#2003 service

--

Any sufficiently advanced bug is indistinguishable from a feature.

[edit: I guess I don't post enough anymore to remember how to use UBB tags

(Edited by Lord_Fukutoku on 04-24-2006 15:29)

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 04-24-2006 18:51

Also by the way you can just add values to a path variable. So you could have left what was there (though you really didn't need to) and added additional values for your new paths.



.:[ Never resist a perfect moment ]:.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu