Tuesday, September 28, 2004

Whacky, Nutty Keyboard Antics

My keyboard layout got whacked out for Office products only.
a would print q, comma would print : stuff like that.

Solution:

All Programs -> Microsoft Office -> Microsoft Office Tools -> Microsoft Office 2003 Language Tools.

All Programs -> Microsoft Office Tools -> Microsoft Office XP Language Tools.

In both locations found the French to be the Enabled and Active Language.

Deleted it from the the Active Lists.

Viola!

Wednesday, September 15, 2004

Tools I Used Today

Made my first professional forray into VBA / Access Front end development.

Yuck!

Did a good job though.

Monday, August 02, 2004

Tuesday, July 20, 2004

Tools I've used recently

Wrote my first Fortran Program!
My nephew is taking a course in it and was having trouble.
I found an online Fortran 90 reference and quickly had the program working.
 
I even pulled a Unix command line tool out of my rear-end to kill a couple of processes (ps).
 
When done, he called me a 'Programming God'.
 
Boy, am I now all puffed up.
 
 
Successfully debugged a VB / Windows Scripting Host app.  
 
cscript.exe

How to Debug Classic ASP in VS.NET

Make the following configuration mods:
 
 
In VS.NET:    
 
     project - properties        
            configuration properties            
                    debugging
                         - enable ASP debugging
                         - enable ASP.NET debugging
 
 
 
In the IIS snap-in:    
 
      default website - properties        
             home directory tab            
                  configuration                
                        app debugging                    
                                - enable ASP server-side script debugging    
 
 
Add IIS process account to Debugger Users group:    
 
       In Computer Management snap-in:        
                       System Tools            
                               Local Users and Groups                
                                      Groups                    
                                           Debugger Users - properties                        
                                                  Add user IWAM_machine-name (the "Launch IIS process  account")

Wednesday, July 07, 2004

Making a Web Apps Browser Window Maximized at Start Up

Finally figured out (first time I tried) how to make the browser maximize upon application start:

in html HEAD add this script/function block:

script lang="javascript"
function doOnLoad()
{
window.resizeTo(window.screen.availWidth, window.screen.availHeight);
window.moveTo(0, 0);
}
/script

Then in the BODY tag add this:

onload="javascript:doOnLoad()"

poof! works.

Tuesday, July 06, 2004

Hooking up Client Side Jave Script with MyButton.Attributes.Add()

The Session[MadeChangesIndex] stores a boolean indicating if any changes have been made to the lists/data grids.


In the Page_Load() Handler added:


if((bool)Session[MadeChangesIndex])
Cancel_PB.Attributes.Add("onClick", "return(HandleCancel(true));");
else
Cancel_PB.Attributes.Add("onClick", "return(HandleCancel(false));");


In the HEAD tag of the HTML added:

function HandleCancel(ListChanged)
{

if(ListChanged)
return(confirm("Are you sure you want to Discard ALL of your Edits? This includes any changes to the Work Item, Participant and Client Lists."));
else
return(confirm("Are you sure you want to Discard ALL of your Edits?"));

}

Works Great!

What I'd like to do is figure out how to walk the elements of the form and determine if any of the controls have been modified and exit without confirmation if nothing has changed.

Wednesday, June 09, 2004

ASPNET User Security, NOT!

Migrating laptops and created new virtual directory for existing app coming from old box.

FORGOT TO TURN ANONYMOUS ACCESS OFF! This caused application to execute with inadequate permissions and triggered several exceptions which the exception manager couldn't publish (triggering more exceptions).

I chased my tail trying to give ASPNET adequate permissions for about an hour until I realized I had forgotten to turn off ANONYMOUS access OFF in ISS Mgt. Console.

Idiot!

Thursday, May 27, 2004

Tools I Used Today

TOAD - Tool for ORACLE Application Developers
Tweaked Package and Procedure Bodies

Visual Studio .net 2003
Deployed Web Service to test site.
Deployed Application to test site.
Had to reestablish Web Reference from localhost to test.
Had to changes several localhost references to relative paths.

Friday, May 21, 2004

Tools I Used Today

Visio
Did some UML Modeling and Code Generation for my DBProvider Factory Factory.

After building and tweaking the final results in VS .net 2003 I reverse engineered the project. Pretty Cool.

VS .net 2003

MS SQL Server 2000 Enterprise Mgr.
Oracle Enterprise Mgr.
ODBC Administrator

Created test databases and datasources for the Data Provider Factory Testing


NUnit
Kicked some more but with this awsome tool developing tests for my DB Provider Factories which are now working like a charm.

I've implemented factories for the .net SQLServer, Oracle and ODBC data providers.

All my study of design patterns is starting to bear fruit. I'm really excited with the results.

Next I plan to retrofit my DBObjects to use the Provider Factory Factory and then create a Provider Factory Factory for the Compact framwork which will implement the SQL Server CE and SQL Server providers.

Wednesday, May 19, 2004

Getting SQL Server CE Server Tools to Install

1. Downloaded and installed SQL Server 2000 CE
At this time got error message about version compatibility with SQL Server 2000 SP1 and above.


2. Downloaded and installed SP3 for SQL Server 2000

Ran: D:\My Downloads\SQL Server 2000 SP3\TEMP\x86\setup\setupsql.exe

3. Downloaded and installed SQL Server CE SERVER TOOLS for SQL Server 2000 SP3

C# Sucks!

JK!! Seriously, though, somewhere around C#-3 we should have inculcated ourselves with the question: "Does 'CAN' == 'SHOULD...