UnleashedCreativity.net
Postings on Mondays, Wednesdays, and Fridays or When-I-Have-Time-days

Login

username:
password:

Last 10 entries


Tags

.net 3d art blog c# coding college computers editorial entertainment firefox food freeware gaming hardware hdtp hiking humor ide japan japan, javascript linux mac mailbox milestone misc. mods momoiwa, mono movie nintendo philosophy php politics rant rebun review science software technology test time ucr wakkanai windows work wormholeftp 日本


Affiliates

  • Narcissism Incorporated
  • Wolfram Studios
  • KaleNet Web Design
  • OffTopic Productions
  • Deus Ex: High Definition Texture Project
  • The Nameless Mod


Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 United States License.

I love it when a program comes together

Posted on: Tue Nov 14, 2006 06:29 PM
I officially completed my first C# program yesterday, and it does more than print "Hello World" in the console window! I created a program that automatically switches my laptop's network adapter between DHCP and a hardcoded static IP.

I primarily use my laptop for my work and have demoted my PC tower to file-storage duty. My tower and laptop connect via a crossover cable, but in order to connect the two I need to manually set the IP of each machine to the same three IP groups (ex. 192.168.0.x). Normally, I'd have to go into my laptop's Network Adapter and manually set the IP, but after yesterday, all that is a thing of the past!

Now, I can just run my fancy C# program and POOF! The program reads my current IP and adjusts my adapter to either DHCP if the IP is set to static or to the static IP if DHCP is enabled. I kept to a console application because I didn't feel that this required a fancy UI, but I learned a great deal about the minor differences in how C# handles string manipulation and foreach statements.

I'm learning slowly but surely, and I'd learn a lot more if I had something to work towards creating, but for now I'll be happy with what I've accomplished!

P.S. My apologies for the poor grammar, its been a rather long day

By EER @ Tue Nov 14, 2006 08:02 PM

Cool stuff :)

Next stop: Your own text editor.

By William @ Wed Nov 15, 2006 05:27 AM

I really enjoy C#, eww a text editor though... fun, but whoa a pain.

Event driven websites are awesome though. :D

By EER @ Wed Nov 15, 2006 06:01 PM

Well, a text editor is pretty much drag 'n drop a text-control to a form, add some file reading/writing and you're done ;)

I'm never good at thinking of exciting new programs to be developed :(

The event driven websites never cease to amaze me, the first time Scott Guthrie showed it to us at some fair I was at everyone in the auditorium was like: WTF! AWESOME!

Leave a Comment









EVERYTHING on this site is © Matthew Miller, 2005-2010, so don't friggin' touch