CrookDawg Posted October 9, 2004 Author Posted October 9, 2004 Does this exception get thrown everytime you close the form? If so does a particular line generate the error? Is there any information to indicate which component raised this exception? there is no single line of code that causes this error. on the form frmExtract, after the End Sub statement of cmdExtract_click, i get this error. when i click break, the pointer highlights the main declaration for frmMain like this: Imports C1.C1Zip Public Class frmMain 'This is where the error is (a green arrow in the where breakpoints are and green highlight) Inherits System.Windows.Forms.Form 'Form design code Dim Files() As ZipInfo.Info this happends on a number of my programs (3 so far) and i can't figure out the problem (the error is a bit vague). also, i figured out what the visual style problem. i had to declare application.enablevisualstyles() before the initialize component in EACH form for it to work. thanks for all your help -matt Quote
Administrators PlausiblyDamp Posted October 9, 2004 Administrators Posted October 9, 2004 Do any of these applications have anything in common (same 3rd party components etc - are you using the Zip component in any of the others for example)? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
CrookDawg Posted October 9, 2004 Author Posted October 9, 2004 Do any of these applications have anything in common (same 3rd party components etc - are you using the Zip component in any of the others for example)? No, these applications are all different (Media catalog, zip, applicaion bar). however, they DO have something in common. all of them throw this exception when i close or get rid of a form that was shown using .showDialog(). on other apps, this doesn't happen (even with showdialog) so im confused as to the cause of this error. once again thanks for the help (and quick responses) -matt Quote
CrookDawg Posted October 11, 2004 Author Posted October 11, 2004 has anybody had this problem before with the .ShowDialog() ? Quote
gorbit Posted September 2, 2005 Posted September 2, 2005 I have the same problem I'm writing a program at the moment, and it does the exact same thing. Do you use Application.EnableVisualStyles? Quote
penfold69 Posted September 2, 2005 Posted September 2, 2005 Use the Skybound VisualStyles control instead of Microsofts borked attempt at Application.VisualStyles, which causes the SEHException. http://www.skybound.ca The Visualstyles component is free, and incredibly easy to use. Plus, the main developer actually answers tech questions himself in the forums - usually within a few hours at most. B. Quote
gorbit Posted September 2, 2005 Posted September 2, 2005 i need a way to do it without using any plug-ins or anything like that. i read that there's some way to do it without using EnableVisualStyles and using a manifest instead. only problem is that i haven't the faintest idea what a manifest is, or how to make one! any help? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.