Home > Unexpected Error > Unexpected Error Vb 6.0

Unexpected Error Vb 6.0

You may not see the error message if you have "On Error Resume Next." 2. then i restarted my M/c also........... Please consider giving me some rep points if I help you a lot. Most times it is a build server version but the build does not work on a developer workstation. navigate here

Yes, changing the form icons from 256x256 to 72x72 worked fine. They have 4 or 5 types of IBM brands. I didn't post completely correct code o… Visual Basic Classic Class Item Filtering Via Dynamic Scripting Article by: aikimark Introduction While answering a recent question about filtering a custom class collection, But the thing is that current ICO I can import, but ones I create, doesnt' work. https://social.msdn.microsoft.com/Forums/en-US/73d3f0c8-c22e-40c9-8806-61a59c55a011/opening-visual-basic-60-dao350dll-and-unexpected-error-quitting?forum=vbgeneral

Join the community of 500,000 technology professionals and ask your questions. it is the resulting icon image which is causing the error to be thrown (of course, "unexpected error" is not a helpful error message). share|improve this answer answered Mar 8 '10 at 15:22 raven 12k1262102 The project does not reference the MS library but the FileSystemObject is used via late-binding (CreateObject(...)). Here is same Icon as 8-bit (256 Color).

  1. Learn the most practical features and best approaches for ASP.NET.
  2. Solved!
  3. Here is an example of how to attach an Ico (including 32-bit) to your project: Providing a proper VB Application Icon, Including Large Icons and 32-Bit Alpha Image http://www.vbaccelerator.com/home/vb/tips/setting_the_app_icon_correctly/article.asp Note that
  4. Try to upgrade your VB6 project to VB .NET and then test the new program on your Windows 8 64-bit.
  5. My theory is When the VB6 compiler is creating a project or binary compatible library, the compiler decompiles the type information from the referenced library.
  6. thanks for the sample.
  7. Meyers-Jouan Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving...
  8. You can use DCOMbobulator to allow it to restart, or you can go to the Services control panel and restart it there.

Any help would be most appreciative. Do you really think this could be the cause of the error ? I checked the old and new version´s IDL. share|improve this answer answered Mar 8 '10 at 20:56 MarkJ 25k34878 You have deduced right.

I converted the Icon from PNG format. Joacim's view on stuff. MVP Reply With Quote Nov 25th, 2013,05:50 AM #8 afdoal View Profile View Forum Posts Member Join Date Aug 2006 Posts 57 Re: [RESOLVED] VB6 Unexpected Error I'm deducing you use types defined in the third party program in your public interfaces of your DLL. http://stackoverflow.com/questions/2402009/how-to-fix-unexpected-error-32801-when-compiling-vb-6-program I don't know.

Reply With Quote November 21st, 2005,05:46 AM #7 manju_ambare View Profile View Forum Posts Member Join Date Nov 2005 Posts 59 Re: Unexpected Error in VB6 I used F8 but still What I do is decompile the referenced library in to IDL and take the last good build of the failing library. Let me know if you need this type of PC to continue your work and get around this problem.Thanks,zfmicrosoft Thursday, May 15, 2008 8:33 PM Reply | Quote 0 Sign in Some setups have this service disabled for security reasons, and there are even other programs out there which will disable it (or allow you to disable it), such as DCOMBobulator (from

You're now being signed in. https://groups.google.com/d/topic/microsoft.public.vb.general.discussion/KqvnddaG2N4 I had a very slow machine yesterday and was systematically disabling windows services to try to isolate the problem and found that VB no longer started with that error message. Basically, VB6 requires the DCOM Server Process Launcher service to be active (which it is by default) in order to load. Hi Everyone, I have noticed a number of people experiencing a problem when launching Visual Basic 6 where it crashes immediately after displaying the splash screen with a cryptic "Unexpected Error,

All times are GMT -5. check over here Bored? Bonnie also posted some code which might very well belong here so I've decided to leave this thread here in the CodeBank instead of moving it to VB6 where it soon My code compiled fine til ~ December 2009 and there were absolute no code changes since then.

Are assignments in the condition part of conditionals a bad practice? Any reply from you guys? Last edited by Bonnie West; Nov 26th, 2013 at 06:26 AM. his comment is here Password Home Register Calendar Today's Posts FAQ Free Publications Search Xtreme Visual Basic Talk > General Discussion > Tech Discussions > Unexpected Error - Quitting.

Manpreet Singh Dhillon replied Oct 20, 2013 Are you getting unexpected error when you open in IDE or when you run it? VB6 and IE8 WebBrowser Object Errors on Windows 7 Toolbox for IT My Home Topics People Companies Jobs White Paper Library Collaboration Tools Discussion Groups Blogs Follow Toolbox.com Toolbox for IT Which towel will dry faster?

Thread Tools Display Modes

#1 10-06-2004, 03:50 PM JPB Contributor Join Date: Oct 2004 Posts: 629 Unexpected Error - Quitting.

Could not open visual basic 6.0. Turns out it was Windows updates "in a loop!", do you beleive that. Error 32801 occurs the source code's type information is not the same as the referenced library. share|improve this answer answered Oct 3 '12 at 11:57 Robert Livermore 312 add a comment| up vote 0 down vote There is a discussion about this error on devx.com that seems

Make sure they were properly installed and registered. 3. then i restarted my M/c also........... Learning resources Microsoft Virtual Academy Channel 9 MSDN Magazine Community Forums Blogs Codeplex Support Self support Programs BizSpark (for startups) Microsoft Imagine (for students) United States (English) Newsletter Privacy & cookies weblink Do you get this error the moment you try to run VB 6.0.?

Make sure the latest service packs are installed and icon support is typically limited to the compatibility between VB IDE and Windows. I used an icon from stevepicks link and copied my image there and converted back to ICO, nothing. If my memory serves me correctly the same capability exists in VB6 although it is intended to record repetitive IDE commands not executable code hence I would agree it is not Dont leave us hanging pls.   Tuesday, April 10, 2007 12:25 AM Reply | Quote 0 Sign in to vote Same problem as I am meeting now.   After try to

Please read the following post where the blue text portions are links to more web pages.>> http://forums.msdn.microsoft.com/en-US/vbgeneral/thread/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b Please also see also this forum for VB6 questions.>> http://www.programmersheaven.com/mb/VBasic/Board.aspx This forum is for Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... Run programs as administrator. 5. Marvin Stiglitz replied Oct 18, 2013 Try the simple method - Do what you want by hand, while recording and compare the recorded vb program with the one you wrote that

User Name Remember Me? I don't think anyone else could do better. If it does I´ll have to call the mobsters and send them to my favourite 3rd party vendor ;-) ... –banzai Mar 9 '10 at 9:51 I wouldn't have Regards Manpreet Singh Dhillon Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving...

Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? Thanks again. Basically, VB6 requires the DCOM Server Process Launcher service to be active (which it is by default) in order to load. Join & Ask a Question Need Help in Real-Time?

How to Resolve Unexpected Error in VB6 On Windows 8 Leonard Ansin asked Oct 17, 2013 | Replies (14) I am trying to run a VB6 app on Windows 8 x64. This DLL works and compiles fine against the API of said program for about 6 years and 3 major versions. Running the VB 6.0 as Administrator... Download Ico here: http://www.mediafire.com/file/ljj3cdmnunw/oS.ico 0 Message Active today Author Comment by:rayluvs2009-07-06 Error: Invalid Picture (and I using a fresh new project just in case) The thing is we did this

Thank you, Leonard Join this group Popular White Paper On This Topic Five Essential Questions for Successful Cloud Communications Services 14Replies Best Answer 0 Mark this reply as the best answer?(Choose Try installing Vb6-Sp6 to see if that helps: Service Pack 6 for Visual Basic 6.0 http://www.microsoft.com/downloads/details.aspx?FamilyID=9EF9BF70-DFE1-42A1-A4C8-39718C7E381D&displaylang=en 0 Message Active today Author Comment by:rayluvs2009-07-07 I already have the SP6 Yes thats A Chang replied Oct 18, 2013 Make sure the installation of your program was no error and run your VB6 application as administrator.