Right. im going to add this to the project. its allows you to save code and saves it to the registery.

this is for the form load event

Me.Width = GetSetting(“SaveAppTest”, “startup”, “Width”, 5000)

Me.Height = GetSetting(“SaveAppTest”, “startup”, “Height”, 5000)

This is for the queryunload event

SaveSetting “SaveAppTest”, “startup”, “Width”, Me.Width

SaveSetting “SaveAppTest”, “startup”, “Height”, Me.Height

Right. he is the info from microsoft IDE: SaveSettings(appname as string, section as string, key as string, setting as string). the getsetting is as follows: getsetting(app name as String,section as String, key as String,default as string). so there you have it. handy.