Popular Post ass17 Posted March 23, 2016 Popular Post Posted March 23, 2016 (edited) Hi Folks, We have been looking for a good basic alternative to wordpad for exams. So I decided to write my own with the following features: 1. Background colour change for Dyslexia students 2. Auto-Backup every one minute (so you can recover any file from up-to one hour of launching the app - backup files are stored in the logged on users %temp% folder) 3. 12 point size font (screen & print) as suggest by the exam boards 4. Word & Character Counts 5. Its a Fullscreen App & portable (just an exe and config) Please give it a try and if you like it - use it! Any bugs or suggestions please reply to this thread. Thanks!! EDIT http://www.examwritepad.com is now live for people to use... Edited November 9, 2019 by elsiegee40 43
peterp Posted March 23, 2016 Posted March 23, 2016 Wonderful. Hopefully this will work on our standalone machines. (cant launch on our domain machines, as we redirect a lot of folders, so when it looks for c:\users.... etc they are not there) It might be an idea for a newer version to use .net's SpecialFolders methods which will ensure that things go to the right location when they are re-directed. Or having them configurable in the config file.
linkazoid Posted March 23, 2016 Posted March 23, 2016 I also get the AppData path issues. It also doesn't seem to enlarge to full screen. Using 8.1 Enterprise.
BKGarry Posted March 23, 2016 Posted March 23, 2016 Windows 10, had to make the examwritepad folder in AppData. May just make a batch file that says if x doesn't exist MD x and then run. Does look good though.
bald_pig Posted March 23, 2016 Posted March 23, 2016 I'm getting an unhandled exception, looks like it isn't creating the ExamWritePad folder in the temp area - - - Updated - - - also not fullscreen for me either, 8.1
ass17 Posted March 23, 2016 Author Posted March 23, 2016 Wonderful. Hopefully this will work on our standalone machines. (cant launch on our domain machines, as we redirect a lot of folders, so when it looks for c:\users.... etc they are not there) It might be an idea for a newer version to use .net's SpecialFolders methods which will ensure that things go to the right location when they are re-directed. Or having them configurable in the config file. It does use special folders, the path in the config is really only used for initial file search location.
ass17 Posted March 23, 2016 Author Posted March 23, 2016 I also get the AppData path issues. It also doesn't seem to enlarge to full screen. Using 8.1 Enterprise. Can you send me a few screen shots please
ass17 Posted March 23, 2016 Author Posted March 23, 2016 I'm getting an unhandled exception, looks like it isn't creating the ExamWritePad folder in the temp area - - - Updated - - - also not fullscreen for me either, 8.1 Can you send me a screen shot of the not so full screen please
linkazoid Posted March 23, 2016 Posted March 23, 2016 Can you send me a few screen shots please See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\username\AppData\Local\Temp\ExamWritePad'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator`1.CommonInit() at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption, Boolean checkHost) at System.IO.Directory.InternalGetFiles(String path, String searchPattern, SearchOption searchOption) at Microsoft.VisualBasic.FileIO.FileSystem.FindFilesOrDirectories(FileOrDirectory FileOrDirectory, String directory, SearchOption searchType, String[] wildcards, Collection`1 Results) at Microsoft.VisualBasic.MyServices.FileSystemProxy.GetFiles(String directory, SearchOption searchType, String[] wildcards) at ExamWritePad.Form2.DeleteOldVersions() at ExamWritePad.Form2.Form2_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.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 ---------------------------------------- ExamWritePad Assembly Version: 1.0.0.1 Win32 Version: 1.0.0.1 CodeBase: file:///C:/Users/username/Downloads/ExamWritePad/ExamWritePad.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL 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.0.30319.34239 built by: FX452RTMGDR 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.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 ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34250 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.36337 built by: FX452RTMLDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34243 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.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.34281 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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. As others have said, this has potential to be great. No more faffing about to disable spellcheck and everything else.
BKGarry Posted March 23, 2016 Posted March 23, 2016 when I click the save button no dialogue box appears. We have our exam laptops as stand alone so need to be able to know the save location and restore it on a different machine after the exam to print
ass17 Posted March 23, 2016 Author Posted March 23, 2016 New v1.1 here guys/girls to try out!! ExamWritePad12.zip Should have now squashed most bugs to date
linkazoid Posted March 23, 2016 Posted March 23, 2016 (edited) thanks for the quick update, still not full screening here. and now a different error on startup. System.IO.IOException: The process cannot access the file 'C:\Users\username\AppData\Local\Temp\etilqs_NOSv5tCFoPxzVin' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost) at ExamWritePad.Form2.DeleteOldVersions() at ExamWritePad.Form2.Form2_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Edited March 23, 2016 by linkazoid
BKGarry Posted March 23, 2016 Posted March 23, 2016 I still don't get a dialogue box on save :-( Asks if I want to save work on exit but then nothing, can't find the work, boooooooo
bald_pig Posted March 23, 2016 Posted March 23, 2016 New error for me: System.UnauthorizedAccessException: Access to the path 'C:\Users\neldeaa\AppData\Local\Temp\clamav-0057d2ce11515046bb0629a97500fc81.00002c60.clamtmp' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost) at ExamWritePad.Form2.DeleteOldVersions() at ExamWritePad.Form2.Form2_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(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.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- ExamWritePad Assembly Version: 1.1.0.0 Win32 Version: 1.1.0.0 CodeBase: file:///C:/Users/neldeaa/Downloads/ExamWritePad12/ExamWritePad.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL 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.6.1055.0 built by: NETFXREL2 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.6.1055.0 built by: NETFXREL2 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.6.1055.0 built by: NETFXREL2 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.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.6.1055.0 built by: NETFXREL2 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.6.1055.0 built by: NETFXREL2 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.
ass17 Posted March 23, 2016 Author Posted March 23, 2016 thanks for the quick update, still not full screening here. and now a different error on startup. System.IO.IOException: The process cannot access the file 'C:\Users\username\AppData\Local\Temp\etilqs_NOSv5tCFoPxzVin' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost) at ExamWritePad.Form2.DeleteOldVersions() at ExamWritePad.Form2.Form2_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Ok, not sure what C:\Users\username\AppData\Local\Temp\etilqs_NOSv5tCFoPxzVin is referring to. Especially the etilqs part. Is the user account your logging in with called 'username'?
linkazoid Posted March 23, 2016 Posted March 23, 2016 No, i've just replaced my actual one with username.
BKGarry Posted March 23, 2016 Posted March 23, 2016 @ass17 you are doing an awesome job here, maybe you just need a little custom installer to create the path and then the file should run.
linkazoid Posted March 23, 2016 Posted March 23, 2016 OK, etilqs is sqlite backwards and seemed to be related to me having Chrome open. I have cleaned my temp folder and restarted my machine and it seems to no longer complain about the error on startup and runs full screen. Clicking save seems to do nothing as others have mentioned. 1
ass17 Posted March 23, 2016 Author Posted March 23, 2016 I did think about an installer but just wanted to get people looking at it. I might even write properly to program files but it might become 'less portable'. Ill see what people feel about it then make a decision later
ass17 Posted March 23, 2016 Author Posted March 23, 2016 ok im on the case, the issue with the startup is because it is trying to loop through all files that maybe locked, hence the error. ill see what I can do.... 1
ass17 Posted March 23, 2016 Author Posted March 23, 2016 ok please now try this version, should now work!! fingers crossed, it now works for me as a pupil on win10 ExamWritePad-new.zip 2
linkazoid Posted March 23, 2016 Posted March 23, 2016 Looks good here! Thanks. Just two things... The notice when saving says "Save Successfully" seems a little odd.. If you have the colour picker open and click New, you are unable to do anything... Seems like a popup opens behind which you can't see or click.
BKGarry Posted March 23, 2016 Posted March 23, 2016 That is the only thing with the colour picker is what we are getting here but it is doing everything we need. I wish I could thank you more @ass17
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now