LulzSoft

Author Archive

.Net CF 3.5 Cab

by on Aug.07, 2009, under GasMate

Since many of you have asked directly for the cab….here it is!

NETCFv35.wm.armv4i

6 Comments :, , , more...

Errors

by on Aug.03, 2009, under GasMate

As I have opted to respond by email to errors posted, I thought I would give an overview of what certain errors mean, and what to do about them.

If you do not have SQLCE installed, you will get this error:

Gasmate.exe
MissingMethodException
File or assembly name
’system.data.sqlserverce,
version=3.5.0.0 culture=neutral,
publickeytoken=3be235df1c8da2d3′,
or one of its dependencies, was not
found.

The solution to this is to install the SQLCE cabs I have hosted or download it from Microsoft.

If you have an old version of GasMate, you might get an error similar to this:

GasMate.exe
SqlCeException
[ cost ]

at System.Data.SqlServerCe.SqlCeCommand.ProcessResult s(Int32 hr)
at System.Data.SqlServerCe.SqlCeCommand.CompileQueryP lan()
at System.Data.SqlServerCe.SqlCeCommand.ExecuteComman d(CommandBehavior behavior, String method, ResultSetOptions options)
at System.Data.SqlServerCe.SqlCeCommand.ExecuteReader (CommandBehavior behavior)
at System.Data.SqlServerCe.SqlCeCommand.ExecuteDbData Reader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbComman d.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(Data Set dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at GasMate.GasMateDataSetTableAdapters.maintTableAdap ter.Fill(maintDataTable dataTable)
at GasMate.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form._SetVisibleNotify(Boolea n fVis)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.Run(Form fm)
at GasMate.Program.Main()

The solution to this is to either delete the database, or export your data and modify it to re-import it.

If you have a smartphone(WM Standard), you will get this error:

NotSupportedException
at
Microsoft.AGL.Common.MISC.HandleAR(PAL_ERROR.ar)
at
System.Windows.Forms.Control._InitInstance(WNT wnt, UInt32 dwStyle)
at
System.Windows.Forms.Control..ctor(WNT wnt)
at
System.Windows.Forms.TabControl.ctor()
at GasMate.Form1.InitializeComponent()
at GasMate.Form1..ctor()
at GasMate.Program.Main()

Unfortunately at this time, WM Standard does not support some of the form elements I am using in GasMate. Later on there is the possibility of a fork that will work on WM Standard.

8 Comments :, , , , more...

GasMate RC .41b

by on Jul.25, 2009, under GasMate

This is a bugfix version with a few features added:

  • Decimal separator is now pulled from localization info
  • Dollar sign($) is also pulled from localization info
  • Last gas type used is remembered
  • Added an extra digit to gals and price
  • CAB file is now compressed to make it smaller, I will work on the EXE’s next

Grab it here: http://www.lulzsoft.com/installers/gasmate_rc.41b.CAB

8 Comments :, , , , , , , , , more...

Max and Wally playing

by on Jul.20, 2009, under Photography

Took some pics of Max and Wally playing today…..

1 Comment more...

First GasMate RC – .40c

by on Jul.15, 2009, under GasMate

Its been a little while since I have done a significant update.  I managed to fix the maintenance bug (I hope) for real this time.  You will also notice that you *should* be able to use just your fingers to enter in new readings(tap the numbers).  I have the ODO reading automatically brought into the numbers but not the others, since they will go up and down with time.  I could change this later on.  Check the screenshots below……

sshot002sshot001

You will need to have followed the upgrade instructions for .26 already to make the DB change.  As always, .Net 3.5 and SQLCE are required.

Cab: http://www.lulzsoft.com/installers/gasmate_rc.40c.CAB

11 Comments :, , , more...

GasMate Beta .28a

by on Jul.09, 2009, under GasMate

I wanted to release something more “done” as an RC, but this will work too. I needed to fix a bug in the maintenance table but you guys also have a treat…….a new tapping method to enter the ODO reading. YOU MUST HAVE .26B BEFORE UPGRADING TO THIS VERSION. Basically, you need to have done the database change instructions from before. Doing them again here will also work.

Cab: http://www.lulzsoft.com/installers/gasmate_b.28a.CAB

3 Comments :, , , , more...

Quick update

by on Jul.07, 2009, under GasMate

Ray helped me find a bug that occured from making changes to the database. I hope to release a fix tonight. You will need to have version .26b or follow the same update procedures if you do not.

Leave a Comment more...

Side tracked….

by on Jul.02, 2009, under Photography

My mom bought a new dSLR…….which means that I get to play with her old one. Since I have not had work I have been able to run around taking pics and experiment….

Go check out my flickr! http://www.flickr.com/photos/dlichterman/

Leave a Comment more...

What’s to come…..

by on Jun.28, 2009, under GasMate

In trying to make the app more finger friendly I have been working on changing up the UI a little bit….here is a quick sample of what I am doing.  Instead of typing in the number, you just tap the numbers to increment them.  When you start the app it will remember the last ODO reading and put that in to make it easier.  The same will happen for gallons and price.

2009-06-28_1622

4 Comments more...

GasMate Beta .26b

by on Jun.25, 2009, under GasMate

PLEASE NOTE – THERE ARE SPECIAL INSTRUCTIONS FOR UPDATING!!!!!!!

For those of you who have an old version(not this one) of GasMate you must follow the instructions in order to upgrade to the new version. I have made a change to the database(added cost in maintenance table) and therefore you must export the data and re-import it.

  1. Export your current data that is in GasMate.
  2. Open the CSV file in a text editor(openoffice/excel break it by adding/removing quotes) and make the following change:
    Change: M,”234″,”Oil Change”,”2009-06-25 21:32:57″,”notes”
    To: M,”234″,”Oil Change”,”2009-06-25 21:32:57″,”COST”,”Notes”
    where cost must be a number
    PLEASE NOTE!!!!!!!!!!!!!!
    I have used quotes for the data to make sure nothing bad happens. The quotes are ONLY on the data, and not on the headers. Adding or changing the quote format WILL break stuff.
  3. Go to the directory where GasMate is installed(Program Files/GasMate) and delete the file GASMATE.SDF (database).
  4. Download the new cab
  5. Install the new cab
  6. Import the old data(modified csv) into GasMate

If you do not wish to keep your data, you can just delete the sdf file then install the new version.

If you do not have GasMate installed, you do not need to worry about this.

As always, .NET CF3.5 and SQLCE are required.

-Daniel

8 Comments :, , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...