runtime-error

What causes this error? “Runtime error 380: Invalid property value”

…衆ロ難τιáo~ 提交于 2019-11-28 00:41:30
问题 we had developed an application using vb6.0 and SQL server 2000 a few years ago. recently, some of our customers tell us that while running the application, on some of computers which use Winxp sp2 as their O/S, they get the following error when they want to show the search form: "Runtime error 380: Invalid property value" What causes this error? 回答1: I presume your application uses a masked edit box? This is a relatively well known problem, documented by Microsoft here: http://support

Excel VBA Automation Error: The object invoked has disconnected from its clients

感情迁移 提交于 2019-11-27 21:31:59
I know I've seen references to this issue before, but I have tried several of the suggestions and I am still getting the error. I have a workbook that assembles data from another book and generates a report. I then want to make a new workbook, copy the report information into the new book, save the new book and close it, and then move on to the next report. It should do this around 10 times. In the part of my code where I am copying and pasting the sheets, I am getting an error Error -2147417848 Automation error The object invoked has disconnected from its clients I have checked other postings

Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException Error

Deadly 提交于 2019-11-27 20:51:59
Hello I'm a new programmer at an high school level as a result I do not know much about programming and am getting quite a few errors which have been resolved while others I completely do not understand. I am to make a simple Check Box selection program where the user gets to pick between a variety of choices and depending on their action the image changes. The program itself compiles perfectly but when I run it however it gives me some complications. Here is my program: package components; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Workshop extends JPanel

“GenerateResource” task CLR2 runtime error

一世执手 提交于 2019-11-27 20:41:28
问题 My app keeps getting this error (I'm using VS 2013, VB.NET, and Windows 8.1, by the way): Could not run the "GenerateResource" task because MSBuild could not create or connect to a task host with runtime "CLR2" and architecture "x86". Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files (x86)\MSBuild\12.0\bin\MSBuildTaskHost.exe" exists and can be run. The app is for .NET 3.5 (3.5 and lower

Error: Could not access the Package Manager. Is the system running? - At Android Studio

家住魔仙堡 提交于 2019-11-27 20:34:08
I installed android studio and tried to run easy projects. But I caught strange error message: Waiting for device. /usr/local/idea/android-studio/sdk/tools/emulator -avd Nexus-4-18-xhdpi -netspeed full -netdelay none emulator: emulator window was out of view and was recentered Device connected: emulator-5554 Device is online: emulator-5554 Target device: Nexus-4-18-xhdpi [emulator-5554] Uploading file local path: /home/nazar/Documents/coursera-android/Examples/HelloAndroid/out/production/HelloAndroid/HelloAndroid.apk remote path: /data/local/tmp/course.examples.HelloWorld.HelloWorld Installing

Laravel Error: Method Illuminate\\View\\View::__toString() must not throw an exception

浪尽此生 提交于 2019-11-27 20:24:19
Have you seen this lovely error while working in Laravel? Method Illuminate\View\View::__toString() must not throw an exception I have seen it and it's incredibly annoying. I have found out two reasons why this error gets thrown. I just want to help people not take hours and hours of time. View answers & situations below. :) There is a very simple solution: don't cast View object to a string. Don't: echo View::make('..'); or echo view('..'); Do: echo View::make('..')->render(); or echo view('..')->render(); By casting view, it uses __toString() method automatically, which cannot throw an

Call requires permissions that may be rejected by user

旧城冷巷雨未停 提交于 2019-11-27 19:27:36
I am trying to make an application that sends location updates of a user after every five minutes. I suppose my code is working just fine but i get an error regarding the permissions that are being used by the application. I am pretty sure that i have added the permissions in the manifest file. Can someone tell me what's wrong? Here is my code. MainActivity.java LocationManager locationManager ; String provider; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // Getting LocationManager object

PythonMagick can't find my pdf files

半城伤御伤魂 提交于 2019-11-27 19:11:17
I've downloaded and installed PythonMagick for python 2.7, 64 bit Windows 7, from the Unofficial Windows Binaries. I am trying to run this code (Processor.py) import PythonMagick pdf = 'test.pdf' p = PythonMagick.Image() p.density('600') p.read(pdf) p.write('doc.jpg') within this folder (D:\Python Projects\Sheet Music Reader) However, using that relative pdf path or pdf = "D:\\Python Projects\\Sheet Music Reader" results in this error; Traceback (most recent call last): File "D:/Python Projects/Sheet Music Reader/Processor.py", line 6, in <module> p.read(pdf) RuntimeError: Magick:

Can read() function on a connected socket return zero bytes?

纵饮孤独 提交于 2019-11-27 18:22:42
I know that read() is a blocking call unless I make the socket non-blocking. So I expect read() call which requests 4K of data should return a positive value ( no of bytes read) or -1 on error ( possible connection reset by client etc). My question is: Can read() return '0' on any occasion? I am handling the read() this way: if ((readval = read(acceptfd, buf, sizeof(buf) - 1)) < 0) { } else { buf[readval] = 0; //Do some thing with data } This code bombs if read() return zero and I know how to fix it. But is it possible for read() to return zero? When a TCP connection is closed on one side read

bundling failed: Error: Plugin 0 provided an invalid property of “default”

夙愿已清 提交于 2019-11-27 18:12:01
问题 I'm trying to run a react native app on my AVD using this command : react-native run-android but getting the following error: bundling failed: Error: Plugin 0 specified in "C:\\Users\\ASUS\\test\\node_modules\\babel-preset-react-native\\index.js" provided an invalid property of "default" (While processing preset: "C:\\Users\\ASUS\\test\\node_modules\\babel-preset-react-native\\index.js") at Plugin.init (C:\Users\ASUS\test\node_modules\babel-core\lib\transformation\plugin.js:131:13) at