Jump to content

Recommended Posts

Posted
If I am upgrading from 2.5.0 to 2.6.0, what files do I need to replace? I guess the .exe.config isn't one of them?! Or do I need to generate the config file each time?

 

All files, as a caution but the config I supply will always have all the defaults in so, in reality leave the config as is and not replace it, unless you need a new option then you can copy/paste the new option into your config file and set accordingly

  • Thanks 1
Posted

Had the following pop up for a student on two different machines. Can only think this might be related to symbols he's using?. Any advice.

 

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
  at ExamWritePad.RichTextEditor.Form2.rtbDoc_SelectionChanged(Object sender, EventArgs e)
  at System.Windows.Forms.RichTextBox.OnSelectionChanged(EventArgs e)
  at System.Windows.Forms.RichTextBox.WmSelectionChange(SELCHANGE selChange)
  at System.Windows.Forms.RichTextBox.WmReflectNotify(Message& m)
  at System.Windows.Forms.RichTextBox.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.7.3163.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
ExamWritePad
   Assembly Version: 2.0.7.0
   Win32 Version: 2.0.7.0
   CodeBase: file:///C:/Program%20Files/ExamPad/ExamWritePad.exe
----------------------------------------
Microsoft.VisualBasic
   Assembly Version: 10.0.0.0
   Win32 Version: 14.7.3056.0 built by: NET472REL1
   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.3151.0 built by: NET472REL1LAST_B
   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.3160.0 built by: NET472REL1LAST_C
   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.3056.0 built by: NET472REL1
   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.7.3056.0 built by: NET472REL1
   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.3056.0 built by: NET472REL1
   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.7.3056.0 built by: NET472REL1
   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.3056.0 built by: NET472REL1
   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Deployment
   Assembly Version: 4.0.0.0
  Win32 Version: 4.7.3056.0 built by: NET472REL1
   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
ExtendedRichTextBox
   Assembly Version: 1.0.0.0
   Win32 Version: 1.0.0.0
   CodeBase: file:///C:/Program%20Files/ExamPad/ExtendedRichTextBox.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:


   


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Posted
Had the following pop up for a student on two different machines. Can only think this might be related to symbols he's using?. Any advice.

 

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
  at ExamWritePad.RichTextEditor.Form2.rtbDoc_SelectionChanged(Object sender, EventArgs e)
  at System.Windows.Forms.RichTextBox.OnSelectionChanged(EventArgs e)
  at System.Windows.Forms.RichTextBox.WmSelectionChange(SELCHANGE selChange)
  at System.Windows.Forms.RichTextBox.WmReflectNotify(Message& m)
  at System.Windows.Forms.RichTextBox.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

hmmm, looking at the error generated via "rtbDoc_SelectionChanged" procedure...

 

The only thing that this procedure does is:

TbrBold.Checked = RtbDoc.SelectionFont.Bold

TbrItalic.Checked = RtbDoc.SelectionFont.Italic

TbrUnderline.Checked = RtbDoc.SelectionFont.Underline

 

So I can see why it would throw an error. Please could you replicate the issue?

 

So,

Posted (edited)
hmmm, looking at the error generated via "rtbDoc_SelectionChanged" procedure...

 

The only thing that this procedure does is:

TbrBold.Checked = RtbDoc.SelectionFont.Bold

TbrItalic.Checked = RtbDoc.SelectionFont.Italic

TbrUnderline.Checked = RtbDoc.SelectionFont.Underline

 

So I can see why it would throw an error. Please could you replicate the issue?

 

So,

 

I have removed the "rtbDoc_SelectionChanged" from future EWP builds as it now serves no purpose. It was actually slowing down the use of EWP as every that happens on the EWP writing window, whether it be mouse click or key press would call "rtbDoc_SelectionChanged", I think it is a legacy thing that doesn't now need to run.

 

EDIT:

 

In fact I've just realised what it is, if the selected text is bold, italic or underlined then check/depress the mini-toolbar button for each instance of bold, italic or underline. Moving forward I don't see that this is worth doing as if you select text with mixed text including no style text the buttons would not check/depress. So I will continue to remove it for future builds.

Edited by ass17
  • Thanks 1
Posted
Had another crash to desktop with spell check. This time there was an error in the log file, I'll PM you a link to download it.

 

ok thanks

Posted
Had another crash to desktop with spell check. This time there was an error in the log file, I'll PM you a link to download it.

 

a few PMs sent

Posted

IMPORTANT INFO: If you get issues saving files then please make sure that you do not put a backslash within any field on the Candidate Info screen. EWP would treat it then as part of the path which wouldnt exist. Future builds of EWP will not allow backslashes within the Candidate Info screen.

 

Thanks to Cthulhu for helping discover this...

Posted
IMPORTANT INFO: If you get issues saving files then please make sure that you do not put a backslash within any field on the Candidate Info screen. EWP would treat it then as part of the path which wouldnt exist.

Bobby Tables strikes again!

  • Thanks 1
Posted
Bobby Tables strikes again!

 

Not really, your not supposed to use back slashes in general text when creating files names.

 

And you will be pleased to know that tables are coming in EWP3 [emoji1][emoji1303]

Posted
Yeah, okay, it's not quite the same, but it's still an example of not accounting for user input ballsing things up :p

 

Small oversight from a one man band, I can’t remember everything [emoji16]

  • Thanks 1
Posted
Ok thanks,

 

As soon as I’m back from Crete, this Friday, I will investigate.

 

Hi, Just to confirm the problem I was having with the candidate info screen not appearing doesn't happen on the new 2.6 version.

Posted
Hi, Just to confirm the problem I was having with the candidate info screen not appearing doesn't happen on the new 2.6 version.

 

Glad to hear! :-)

Posted

Download Link

https://www.sheldnet.co.uk/examwritepad/ExamWritePad_2680.zip

or

Check for Updates in the Software

 

Change Log

 

CHANGED: The list of Previous Versions is now in reverse order, so that the most recent is at the top of the list, saves you having to scroll through a potentially massive list.

 

FIXED: Issue would arise where upon saving a file that had slashes in either the ‘Subject’, ‘Syllabus Code’, ‘Entry Code’ or ‘Unit/Component Code’ would cause the application to crash as a slash denote a file system delimiter. Slashes have been disabled within all boxes on the candidate information window.

 

REMOVED: "rtbDoc_SelectionChanged" has been depreciated as it was deemed not important and has helped to fractionally improve the overall speed of EWP when the writing window is active.

 

FIXED: When trying to print and the BackupFilePath is set to a UNC location, sometimes EWP would crash on printing with an exception in function OpenXML. This function has now been removed from the printing procedure.

 

ADDED: A threaded Progress window has been added on printing and spell checking so that the end user is informed what is happening and that something IS happening more to the point is there is a long wait between things.

 

CHANGED: The Candidate Information window is now enabled during the printing process with the button ‘Close’ active, so that if a problem does arise while printing, you should be able to exit and try printing again.

 

FIXED: When spell checking, if the word to replace/change was at the end of a captured sentence (Not an actual sentence) then it would throw an exception. This only happened when Change was clicked, not Change All.

 

 

All being well with this build, this will be the final build for version 2. The new version 3 is now at the end of the planning stage and I'm reviewing the codebase in order to start migrating stuff across where needed. Actual development and testing should start in July, with a first release date for EWP3 sometime in November ready for Mock Exams Dec/Jan.

 

Thanks for using EWP!!

  • Thanks 4
Posted
Just tried the latest version and I can still add backslashes and slashes to the subject, entry code and unit code field.

 

Wrong version sorry!

Posted
Will it be version 3 that you plan to start charging? I will need to give SLT a kick in the bum to buy a license if you do, no way I can go back to manually creating files for 70+ students.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...