New Calculator to try

Status
Not open for further replies.

HotRod19579

Super Member
ECF Veteran
Nov 8, 2011
897
979
67
Round Rock, Texas

HotRod19579

Super Member
ECF Veteran
Nov 8, 2011
897
979
67
Round Rock, Texas
I just made V5.0.0.6 available for download. The changes include:

  1. A bug fix. If you had a recipe and the total flavor percentage of the recipe was 0% and you clicked the “Flavor %” button on the main recipe window, an exception would be thrown.
  2. I added the ability to define multiple PG and multiple VG ingredients.
  3. I added the ability for you to be able to create custom reports. To use this feature you must have Word 2007 or later installed or an Open Office application that supports .DOCX or .DOTX files. This feature also requires that you be familiar with the Word “merge” features and know how to define “MergeFields” in your Word document. I provided a document called “CustomReportNotes.txt” with some instructions on how the new feature can be used. The feature is invoked by selecting “File->Generate custom report”. In the JuiceCalculator installation directory I also provided 3 sample word documents that can be used with this feature. They are called:
    RecipeTemplate.docx, AllRecipesTemplate.docx and AllIngredients.docx.
 

Colonel K0rn

Full Member
Verified Member
Dec 11, 2013
28
5
Coastal GA
HotRod, I have a question about File>Ingredient Editor. If I mistakenly click into the new line field, I cannot escape from that window, even if I don't have a new ingredient to add. The program auto-populates multiple fields, so I have to go to the Task Manager and kill the program.

Also, Is it possible to have the option to delete an ingredient, and have a confirmation window? Currently, there is no option to do so, only Copy & Paste.
 

HotRod19579

Super Member
ECF Veteran
Nov 8, 2011
897
979
67
Round Rock, Texas
HotRod, I have a question about File>Ingredient Editor. If I mistakenly click into the new line field, I cannot escape from that window, even if I don't have a new ingredient to add. The program auto-populates multiple fields, so I have to go to the Task Manager and kill the program.

Also, Is it possible to have the option to delete an ingredient, and have a confirmation window? Currently, there is no option to do so, only Copy & Paste.
I am working on it now, it will be in the next version.
 
Getting a 1303(?) error when installing. Says I don't have admin rights but I do, only account on here is me. Never had an install issue with anything before. Can't even access the ejuice folder now or start the program.

Rebooted. ejuice folder now is gone. Installed again and everything seems to be ok. Weird.
 
Last edited:
Getting this error when trying to open any of your 3 files docx files in EjuiceCalculator:

oops.jpg

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at OpenXMLHelper.WordDocumentItem.CloseOpenedDocument(Boolean openInWord)
at EJuiceCalculator.OpenXMLPrinter.PrintRecipe(Recipe theRecipe, Boolean dontClose)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
EJuiceCalculator
Assembly Version: 5.0.0.6
Win32 Version: 5.0.0.6
CodeBase: file:///C:/Program%20Files%20(x86)/EJuiceCalculator/EJuiceCalculator.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
CoreRecords
Assembly Version: 5.0.0.6
Win32 Version: 5.0.0.6
CodeBase: file:///C:/Program%20Files%20(x86)/EJuiceCalculator/CoreRecords.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34244 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
OpenXMLHelper
Assembly Version: 5.0.0.6
Win32 Version: 5.0.0.6
CodeBase: file:///C:/Program%20Files%20(x86)/EJuiceCalculator/OpenXMLHelper.DLL
----------------------------------------
DocumentFormat.OpenXml
Assembly Version: 2.5.5631.0
Win32 Version: 2.5.5631.0
CodeBase: file:///C:/Program%20Files%20(x86)/EJuiceCalculator/DocumentFormat.OpenXml.DLL
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
 

HotRod19579

Super Member
ECF Veteran
Nov 8, 2011
897
979
67
Round Rock, Texas
Getting this error when trying to open any of your 3 files docx files in EjuiceCalculator:
This error is occurring when the program is attempting to launch/display the ".docx" file. Do you have Word 2007 or later installed on your PC or an Open Office application that can view .DOCX files? Try double clicking a .DOCX file on your PC and see if it launches the document in a viewer.
 
This error is occurring when the program is attempting to launch/display the ".docx" file. Do you have Word 2007 or later installed on your PC or an Open Office application that can view .DOCX files? Try double clicking a .DOCX file on your PC and see if it launches the document in a viewer.

Yep, if I double click the actual file, OpenOffice opens it.
 

Zazzer

Full Member
Aug 6, 2014
28
24
Dundalk, MD, USA
Hey HotRod! Great Work I have downloaded this calculator and have Lurked in the back ground for a while now. This is a Great Calculator I just started inputting my ingredients and having to clean all the other peoples cost and amount they have to 0 one by one but I can not input my new ingredients, that button will not light up.
1st click Manage Ingredients
then I want to click New Ingredient and it will not give me the option as per Getting Started User Guide.
Please Help! What am I doing wrong?
Thank you HotRod!
 

Dave_in_OK

Super Member
ECF Veteran
Feb 20, 2013
600
1,066
San Antonio Texas
Hey HotRod! Great Work I have downloaded this calculator and have Lurked in the back ground for a while now. This is a Great Calculator I just started inputting my ingredients and having to clean all the other peoples cost and amount they have to 0 one by one but I can not input my new ingredients, that button will not light up.
1st click Manage Ingredients
then I want to click New Ingredient and it will not give me the option as per Getting Started User Guide.
Please Help! What am I doing wrong?
Thank you HotRod!

Try this open up the program and just above the recipe name will be some buttons: Flavor%, New, Rename, Delete, Ingredients, Inventory, Save, Exit, Print

Just click the Ingredients button. Then on the pop-up screen look for NEW and click. Hope it helps.

One.jpg

Two.jpg
 
Last edited:

HotRod19579

Super Member
ECF Veteran
Nov 8, 2011
897
979
67
Round Rock, Texas
Hey HotRod! Great Work I have downloaded this calculator and have Lurked in the back ground for a while now. This is a Great Calculator I just started inputting my ingredients and having to clean all the other peoples cost and amount they have to 0 one by one but I can not input my new ingredients, that button will not light up.
1st click Manage Ingredients
then I want to click New Ingredient and it will not give me the option as per Getting Started User Guide.
Please Help! What am I doing wrong?
Thank you HotRod!
By request, the ingredients window (adding new ingredients) can operate two different ways. This is controlled by an option "Tools->Options", General tab, "Prompt for new ingredient name on manage ingredients window". It sounds like you currently have this in an "unchecked" state.
Unchecked:
On the ingredients window the "New" button is greyed out until you type in an ingredient name. Start typing in that field and you will see the new button become available. In this mode you define the name of the new ingredient before you click new​
Checked:
The "New" button is not greyed out. To add new ingredients you click the new button and then enter the name of the new ingredient when you are prompted.​

Hope this helps and enjoy.
 
Status
Not open for further replies.

Users who are viewing this thread