runtime-error

What could cause Run-time error 1012 Error accessing application data directories

Friend of mine has a problem :). There is an application written in Visual Basic 6.0 (not by him). One of users reported that when it run on Windows 2000 and tried to scan folders on disk it raised box with message: Run-time error 1012 Error accessing application data directories We couldn't google anything about it and didn't find a...

What causes "Invalid advise flags" run-time error in Excel VBA?

I have a Excel macro that generates a this error whenever it gets input of a specific format. Does anyone knows in general what an advise flag is OR where can I find information on this type of error? Thanks Runtime error -2147221503 (80040001): Automation error, Invalid advise flags ...

Web page runtime errors

As I use the web, I regularly get runtime errors (usually javascript) being reported via popups. This can make for a really unsatisfying user experience on many otherwise excellent websites and also makes me wonder what functionality I am not getting access to. Why is this such a common issue? Is this down to a lack of testing or is it ...

ole excel object manipulation causes run-time error '91'

I am maintaining an application that was written in VB6 and makes use of the several OLE controls with Excel.Sheet.8 class objects. Several users are getting the "Run-time error '91': Object variable or With block variable not set" error when they reach a point in code that attempts to manipulate the excel objects. Below are examples of ...

Runtime error 1004: Application-defined or object-defined error

I've been having a major issue... well maybe not major, but I've been trying to figure this out since yesterday lunchtime. I have the following code: Application.CutCopyMode = False ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _ "Data!R7C1:R5000C40").CreatePivotTable TableDestination:= _ "'[Master-File.xls...

C++ Why is this vector access giving a Runtime Error?

Hi, I've singled out a runtime error on this line of my code: for (synsAuxCopyIndex=1; synsAuxCopyIndex<synsAux.size(); synsAuxCopyIndex++) Which is runnhing inside the pushSynonyms(string synline, vector<WordInfo> &wordInfoVector) function. I don't get why is this particular line generating the error, as I don't think I'm indexing an...

C# compile error: "Invoke or BeginInvoke cannot be called on a control until the window handle has been created."

I just posted a question about how to get a delegate to update a textbox on another form. Just when I thought I had the answer using Invoke...this happens. Here is my code: Main Form Code: using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using Syst...

Boost exception at runtime

Hi, Using this code: #include <fstream> #include <boost/archive/text_oarchive.hpp> using namespace std; int main() { std::ofstream ofs("c:\test"); boost::archive::text_oarchive oa(ofs); } I'm getting an unhandled exception at runtime on executing the boost archive line: boost::exception_detail::clone_impl<boost::except...

Run time error '3075' in Access 2007

I am getting the following error when I try to open a report in Access 2007. The code works fine in Access 2003. run time error '3075' Syntax error (missing operator) in query expression '[COUNTRY_ID]=' here is the code giving the error... How could I fix this? Private Sub List25_Click() Combo20.SetFocus 'DoCmd.FindRecord List25....

My code compiles in Eclipse but I get a ClassNotFound at runtime how can I fix it?

What would cause a jar to be added successfully to an Eclipse Java project but then at runtime some of the classes from that jar are not found with ClassNotFound exceptions? ...

C# How do I prevent a TcpClient object from disposing in a different thread i've created with the new keyword?

So I'm trying to make a client for my server in C#, that accepts messages as commands so I can control the client remotely. I've had problem after problem with my masterServer.Connect taking FOREVER to load, and almost every time I close my application I have to wait 10 seconds for it to completely stop. I've tried EVERYTHING to stop thi...

Why does the x value change in this program?

I have created this code, and when I run it, don't get any errors until the arrow leaves the screen (ie: (*I)->x>maxx), after which the O will randomly teleport (Well, I'm guessing its not random, but I'm trying to find a pattern to it). EDIT: the random teleportation don't seem to occur if I move up, and if I move down, the O is telep...

Catch only some runtime errors in Python

I'm importing a module which raises the following error in some conditions: RuntimeError: pyparted requires root access I know that I can just check for root access before the import, but I'd like to know how to catch this spesific kind of error via a try/except statement for future reference. Is there any way to differentiate betwe...

Can't run my app; “image not found” referring to bundled framework

Hello, I'm trying to include the Sparkle framework in my application. I don't really understand the specific steps necessary, and am now getting this error message: Dyld Error Message: Library not loaded: @loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle Referenced from: <..>/build/Debug/CoRay.app/Contents/MacOS/CoRay Reas...

IE crashing with a Runtime error while running javascript

IE is closing with the error window as shown below In my web Application there is once mutil tab page having diffrecnt graph floating function with AJAX. This graph and tab were working in FireFox, but in IE when i click on the tab wil get this error. i checked with other pc also but.. the smae issue is there..... Thanks for any hel...

Error 70 in Excel VBA

Hi, I am trying to upload directly a picture/chart from excel to a Sharepoint group URL. Here is the script: Sub ExportChartJPG() ActiveChart.Export Filename:="http://sharepoint.ap.xxxxxxxxxxxxxx.com/xxxxxx/xxxxxxxxxxxxxx/Pictures/MyChart.jpg", _FilterName:="jpeg" End Sub Is that possible? If it's not then can you suggest anothe...

DLL runtime error crashes my c# app - how to avoid it?

Hi, Within my windows app, i'm using a c++ DLL wrapped with a .NET DLLs (specifically - the quickfix engine). While running, once every day (not at any specific time), in one of the a constructor of one of the built-in classes throws a runtime error. Even though the error is caught and reported (to a log file, and the database), I still...

What is the meaning of this C++ Error std::length_error

While running my program I get this Error: terminate called after throwing an instance of 'std::length_error' what(): basic_string::_S_create Abort trap I know that you can't do much without the code but I think that error is to deep in the code to copy all of it. Maybe I can figure it out if I understand what this error means. I...

How can I use Sun's JAI-ImageIO with an Eclipse BIRT plugin?

I'm trying to write an extension (plug-in) for Eclipse BIRT reporting. It involves extracting images from a file according to database entries and displaying them. I am using Sun's JAI-ImageIO to access TIFF file data and convert to PNG for display within the report. My code complies, but throws a NoClassDefFound runtime exception: SEV...

If I never once reference System.IO in my program, why does my user get an error?

I have a program which doesn't once reference System.I0, coded in vb.net, yet for some reason my user got this: Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: advancedclipboard.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 4a903bf5 Problem Signature 04: Microsof...