INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]   Go Down

Author Topic: Create Field - Source Code For MC12 And VB6 (Sample)  (Read 16026 times)

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Create Field - Source Code For MC12 And VB6 (Sample)
« Reply #50 on: April 05, 2007, 12:29:24 pm »

This Is How Homer Takes Care of Bugs.

Sorry y'all, it was a Homer moment for me. I fixed the problem, but didn't save it. Sigh...
Next build...

j

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: Create Field - Source Code For MC12 And VB6 (Sample)
« Reply #51 on: April 05, 2007, 01:33:13 pm »

This morning I was doing a project in Visual Studio 2005.

I worked on it for four hours.  I've got VS to save my work
everytime I recompile, so  I don't worry to much about the power
failing or whatever.

At about mid-day i had a bright spark idea of replacing all ""
in my code with string.Empty

No real reason just one of those sort of OO type moods.
So I did a find and replace on the entire project.
The only problem being that I replaced ("")
with string.Empty, when I should have replaced it with
(string.Empty)

Anyhow that in itself shouldn't have been to major a problem.
Apart from the fact I then had the genius idea of hitting the
global undo button which should have undone the find and replace.

Big mistake.  It would seem there is a bug in VS 2005,
and when you do stuff in the order I just did it doesn't just undo
the last action..

Oh no it undoes all actions since opening the editor.
So effectively all my work for the morning had been undone.

At this point if I had realised it had done this I could have tried
the global redo, or just closed VS and not save the files...
Unfortunatley I didn't.  I recompiled the code, thus saving the changes,
and so undoing four hours of work.

One day I'm going to learn.  Never trust a clever feature in VS
until you've tried it lots and lots and lots of times, on stuff that really
doesn't matter!

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Create Field - Source Code For MC12 And VB6 (Sample)
« Reply #52 on: April 05, 2007, 02:32:39 pm »

I need to find someone selling VS for cheap, i can't deal with that Microsoft Price.

I get a headache every-time i go near the Buy button
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: Create Field - Source Code For MC12 And VB6 (Sample)
« Reply #53 on: April 05, 2007, 05:55:03 pm »

Wahey! It works!

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Create Field - Source Code For MC12 And VB6 (Sample)
« Reply #54 on: April 05, 2007, 07:32:32 pm »

Finally. Sorry it took so long, and thanks for the story. I've done a few similar things. There's a feeling I know very well: it happens about 2 seconds after you hit <return> or click the <ok> button, and realize you just erased who knows how many hours/days/weeks of work, that sinking feeling in your stomach.  :P

j

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Create Field - Source Code For MC12 And VB6 (Sample)
« Reply #55 on: April 05, 2007, 08:10:10 pm »

Eureka
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Create Field - Source Code For MC12 And VB6 (Sample)
« Reply #56 on: April 05, 2007, 08:20:39 pm »

 :)

How's Sue?

j

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Create Field - Source Code For MC12 And VB6 (Sample)
« Reply #57 on: April 05, 2007, 09:10:34 pm »

:)

How's Sue?

j


Doing Good...

I Told Her You And JimH Wished Her Well

She Said To Tell The JRiver Crew Thanks For The Well Wishes....
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

robydago

  • Citizen of the Universe
  • *****
  • Posts: 518
Re: Create Field - Source Code For MC12 And VB6 (Sample)
« Reply #58 on: April 20, 2007, 04:15:16 am »


I need to find someone selling VS for cheap, i can't deal with that Microsoft Price.

king,
you should check this out, it's free:
http://www.icsharpcode.net/OpenSource/SD/

Logged

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: Create Field - Source Code For MC12 And VB6 (Sample)
« Reply #59 on: April 20, 2007, 04:47:21 am »

I need to take another look at #Develop.
It seems to be a really active project and come along way.
Last time I looked at it I was impressed compared to Visual Studio 2003.
Then MS released Visual Studio 2005, which kinda blew it away.
It looks like it's catching up again however.  :)
Pages: 1 [2]   Go Up