Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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

Posted
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.

Posted
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

Posted
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

Posted
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.


Capture.JPG

 

As others have said, this has potential to be great. No more faffing about to disable spellcheck and everything else.

Posted
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
Posted (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 by linkazoid
Posted

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.


Posted
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'?

Posted

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.

  • Thanks 1
Posted
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
Posted
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....
  • Thanks 1
Posted

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.

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...