DevTV: Introduction to AutoCAD .NET Programming

by JimEzzell Tue, August 23 2011 21:58

This video is getting old but the basics don't change, so you you will benefit watching it, it will go through the Visual Studio environnment and AutoCAD programming:

http://www.acadnetwork.com/topic-25.0.html

More from ADN:

http://www.adskconsulting.com/adn/cs/api_course_webcast_archive.php

Genesys Outbound Port Calculator

by JimEzzell Fri, November 12 2010 10:53

Interesting little tool for calculating number of CPD ports for a campaign.  Don't know if it will still apply to the current Genesys version……………

 

 

http://www.laneworld.net/chuck/ccs/Outbound%20Dialing%20Port%20Calculator.htm

 

 

Tags:

Genesys

One Approach to SDLC

by JimEzzell Wed, May 20 2009 13:41

Computer terms come and go everyday.  It seems that as soon as you learn one process, another "New and Improved" process comes along!  And of course, they're TLA's (Three Letter Acronyms) or more.  I want to step back a bit and talk about one that should stick around for a while.

SDLC (or Software Development Life Cycle) is one of many processes that we, as developers are supposed to follow.  Now I know, especially in small shops, it's more of a rush to release and full steam ahead, but a simple process can save time and money in the long run.  After all 1 small bug can take weeks or even months to find, and a little process might kill that bug before it ever gets out of the lab.

The approach that we take is fairly simple.  In fact it seems more complicated on paper than in practive, but it has caught quite a few bugs, and saved us a great deal of agravation.

The 7 Steps to SDLC

1. Requirements - This is the most important step.  Now I know that I ahve been as guilty of this as the rest of us, but no code should be written until you have gathered as complete a set of requirements as you can.  Lack of good requirements are more likely to cause you to have to back up and start over than any other issue!  Once you have good requirements, you can start...

2. Development - The developer writes code for a new product, or makes changes to an existing product, hopefully with carefully thoughout requirements (this is a bigger problem than you might think.  Remember, without good requirements, you will be returning to this step again).

3. Unit Testing - This is the smallest and simplest test effort.  In plain english, the developer tests his own code, since he has a pretty good idea of what changed.  This is usually performed within Visual Studio (for example).  There are also quite a few code libraries available to help automate this testing to some degree. Issues are returned back to development for correction.

4. CIT (Component Integration Testing) - Still the developer, this test is a broader test of what changes might effect. The entire solution is tested (still probably in the Developer Environment), and side effects are identified and corrected by returning back to the development step.

5. SIT (System Integration Testing) - The completed project is installed on an environment similar to the production environment and full testing is preformed against the entire system. In larger shops, dedicated testers perform this testing.  Any issues may be returned to the development step for correction.

6. UAT (User Acceptance Testing) - In this step, the user or users actually test the software.  The key here is to identify issues that either don't work like expected, or don't match the requirements.  In my opinion, this step should not be performed by developers, because they know how it works!  The end user knows how they expect it to work, and these 2 points of view don't always match.  Remember, drawings that look good on paper, kill test pilots!  Issues identified here may return back to the development step for correction.

7. Implementation - You're done!  Well maybe not....Remember issues may still be identified here that will need to be fixed in a later release.

The thing to remember here is that each step is a gate.  A decision is made as to whether an issue warrants correction and is big enough to stop the process.  Some issues get listed as known issues to be fixed in a later release, and some must be fixed right now.  Depending on your internal process depends on who makes that call.

Tags:

Programming

How to test SMTP operations using Telnet

by JimEzzell Sat, January 17 2009 13:46

1. Telnet into Exchange server hosting IMS service using TCP port 25.
Command is telnet <servername> 25

2. Turn on local echo on your telnet client so that you can see what you are typing.
On Win 9x and NT 3.5/4.0 Telnet client this done by selecting the "preferences" from the "terminal" pull down menu, and checking the local echo radio button.  For Windows 2000 telnet client, issue command "set local_echo", from the telnet command prompt.

3. Issue the following smtp command sequence

helo <your domain name><enter>                  
response should be as follows
250 OK

mail from: <your Email Address><enter>
response should be as follows
250 OK - mail from <your Email address>

rcpt to: <recipient address><enter>
response should be as follows
250 OK - Recipient <recipient address>

data<enter>
response should be as follows
354 Send data.  End with CRLF.CRLF

To: <recipient's display name><enter>
From: <your display name><enter>
Subject: <Subject field of Email message><enter>
<Enter you body text><enter><enter> . <enter>

response should be as follows
250 OK

quit<enter>

From http://exchange.mvps.org

 

Tags:

SMTP | System

Forcing a USB Drive to use drive B: in Windows XP

by JimEzzell Sun, December 07 2008 13:51

I had the hardest time finding this one.  Ordinarily to make a drive use a specific letter in Windows XP, you go into disk management and select the letter you want.  But my new laptop started with drive E.  B wasn't an option!

 After a bit of searching, I finally figured it out.  From a command prompt:

1. Run the command MOUNTVOL E: /L.  This will return the windows volume name of the drive

2. Run the command MOUNTVOL E: /D to disconnect the drive.

3, Finally run the command MOUNTVOL B: VOLUMENAME where VOLUMENAME is the name that was returned in step 1.  Your drive is now B: 

As an alternative, you could use a "NTFS junction point".  For example, Create a directory on drive C: called "USB". Then

3. run the command MOUNTVOL C:\USB: VOLUMENAME where VOLUMENAME is the name that was returned in step 1. Your drive is now c:\USB!  This is a pretty cool for power users, who keep complaining about running out of drive letters!

As another quick tip.  You can copy and paste in the command line window: just click on the icon in the upper left corner for the commands.  Useful, as windows says my volumne name was \\?\Volume{e667bfb7-7387-11dd-8ee3-001f3bd61d37}\

 

Tags:

System | Windows XP

Cool new tool - SLICKRUN!

by JimEzzell Fri, August 29 2008 13:45

SlickRun

SlickRun is a free floating command line utility for Windows. SlickRun gives you almost instant access to any program or website. SlickRun allows you to create command aliases (known as MagicWords), so C:\Program Files\Outlook Express\msimn.exe becomes MAIL.

Enter a web URL into SlickRun and it will launch your browser and navigate to the specified address. Run multiple programs in a few keystrokes, jot a note, look up a definition... SlickRun is the most natural way to interact with your computer. 

Please note, SlickRun is not a "hotkey" program.  If you want a program that lets you press some wacky keyboard shortcut (say, Shift + Win + 1) to run to something, you'll want to find a different utility.  SlickRun is designed to be far more intuitive than "hotkey" programs-- You shouldn't have to keep an awkward mental list of hotkeys for launching your favorite programs.  Instead, just type whatever's most natural for you to remember; with auto-completion, you'll rarely type more than 2 or 3 characters anyway.  Studies have shown that user-defined imperative words are much easier to recall than arbitrary characters like keystrokes.

Slickrun is available here: http://www.bayden.com/SlickRun/

Tags:

System

How to reset your IPod

by JimEzzell Mon, June 30 2008 13:48

Just becuase I keep needing to do this:

To reset an iPod with a Click Wheel, including:

  • iPod nano (3rd generation)
  • iPod classic
  • iPod (5th generation)
  • iPod nano (2nd generation)
  • iPod nano
  • iPod with color display (iPod photo)
  • iPod (Click Wheel)
  • iPod mini
  • iPod mini (2nd generation)
  1. Toggle the Hold switch on and off. (Slide it to Hold, then turn it off again.)
  2. Press and hold the Menu and Center (Select) buttons simultaneously until the Apple logo appears, about 6 to 8 seconds. You may need to repeat this step.

Full article is available here: http://support.apple.com/kb/HT1320

Tags:

IPod

Change Owner of an Object in SQL Server 2000/2005

by JimEzzell Sat, January 26 2008 13:51

This is mostly just a post for me so I never forget this, but to change the owner of an object in sql server, use sp_changeobjectowner, just pass it the name of the object (as a string) and the name of the new owner (as a string):

 sp_changeobjectowner 'tablename', 'dbo'

You can view Eric Porter's  original post here: http://weblogs.asp.net/eporter/archive/2004/10/29/249627..aspx

Tags:

SQL

From Code Camp: Lutz Roeder's .Net Reflector

by JimEzzell Tue, October 09 2007 13:44

Reflector is the class browser, explorer, analyzer and documentation viewer for .NET. Reflector allows to easily view, navigate, search, decompile and analyze .NET assemblies in C#, Visual Basic and IL.

Download it here: http://www.aisto.com/roeder/dotnet/

Tags:

Programming

From Code Camp: Console 2 - The COOL command window!

by JimEzzell Mon, October 08 2007 13:38

Console is a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles, and more.

 View it here on SourceForge: http://sourceforge.net/projects/console/

Tags:

System