philo wrote:DrGuy wrote:I have been trying to use TeaseMe for a few hours now and I keep getting a message saying that TeaseMe is throwing an exception. I read another post of someone having the same issue and he said to create a new folder called resources and to put 'HtmlTextTemplate.html' inside of said folder. The only problem I have now is I have no knowledge of how to get such a file. please help.
Can you post the exception you are getting and the version of windows
Yep. I'm using windows 8 and the exception is...
"System.TypeInitializationException: The type initializer for 'TeaseMe.TeaseForm' threw an exception. ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\(My Name)\Desktop\teaseme\Resources\HtmlTextTemplate.html'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at System.IO.File.ReadAllText(String path)
at TeaseMe.TeaseForm..cctor()
--- End of inner exception stack trace ---
at TeaseMe.TeaseForm.TeaseTitleLabel_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)"
Oh, and also, I have net. framework 4 installed so it can't be that