A runtime error is detected after or during the execution of a program.
2
votes
0answers
9 views
How can Add error message in ModelState on MVC using Javascript?
This is my Model property
public ModelStateDictionary modelSateClientSide { get; set; }
Now I called the Property In JavaScript and add the error in my modelstate
...
1
vote
0answers
27 views
VBA Run Time Error 13: Type Mismatch
My macro is a very simple replace program which identifies shortened parts of overall statements and replaces them with the full statement. For some reason I keep getting VBA error 13: Type Mismatch. ...
0
votes
0answers
15 views
Run-time error '1004' VBA, Querying a data table in Excel
Sub ParameterQueryExample()
'creates a ListObject-QueryTable on Sheet1 that uses the value in
'Cell Z1 as the ProductID Parameter for an SQL Query
'Once created, the query will refresh upon changes to ...
0
votes
0answers
29 views
Message send to deallocated instance of viewcontroller when popviewcontroller
I'm developing an app using ARC with a navigation controller, the first view controller have a button linked to an ibaction that call the push of the second view controller.
In the second ...
0
votes
0answers
5 views
Error when changing date format in Dataset
I wanted to change date format in Dataset from "dd/mm/yyyy HH:MM:SS" to "dd/mm/yyyy". I'm using the code below, but for some reason it gives exception as String was not recognized as a valid DateTime.
...
0
votes
1answer
3 views
Getting error “E01020031091 Failed in GetNextTool() - - Invalid operation - Major-Index: Out of range.” on Okuma machine
I am running this on an Okuma control but on the second line of the following code, I get the error:
Dim MagPos As New DataAPI.CATC
localstring = MagPos.GetNextTool
THINC API is installed for sure ...
0
votes
3answers
57 views
Else not working IndexError: list index out of range
Another question to do with my minigame. I've received great help on the previous questions and I hope I don't waste your time on such a, most likely foolish, question.
Here's the code:
import time
...
1
vote
0answers
25 views
Runtime error when trying to format cells in a range
I am having a lot of trouble with my vba code. I have created a sub that will execute when the file is opened. However, I keep getting a runtime error that says I have an application defined or ...
1
vote
5answers
70 views
Error in ArrayIndexOutOfBoundsException: 0
I got a error in java.lang.ArrayIndexOutOfBoundsException: 0, So how to avoid this error?
package javaapplication1;
import java.net.*;
import java.io.*;
public class Url {
public static ...
0
votes
0answers
33 views
How to avoid VBA runtime error
I call VBA method from VB6 code.
And I want to overlook any possible runtime error in calling the VBA method.
Of course if there is "on error resume next" in the VBA method, there wont be any ...
1
vote
0answers
36 views
VBA Runtime Error 424 Object Required
Here is the FULL code..
Private Declare Function RegOpenKey Lib "advapi32.dll" _
Alias "RegOpenKeyA" (ByVal Hkey As Long, ByVal lpSubKey As String, _
phkResult As Long) As Long
Declare Function ...
0
votes
2answers
33 views
Cuda kernel error if I use cuda-memcheck
I have a Cuda kernel that runs well if I use the nsight cuda profiler or if I run it directly from the terminal. But if I use this command
cuda-memcheck --leak-check full ./CudaTT 1 ../../file.jpg
...
0
votes
1answer
43 views
Java Class Method Error android
I have a method inside of a standard Java class that takes in a String[] as a parameter and returns a String[]. Basically the method is reading the Shared Preferences and returning a String[]. Here it ...
1
vote
1answer
39 views
tsc.js Microsoft JScript runtime error after installing 0.9 version
I keep getting a compile error after installing version 0.9 of TypeScript. Here's the error:
tsc.js(21630, 17) Microsoft JScript runtime error: Unable to get value
of the property ...
1
vote
0answers
15 views
Pygames math.Vector2( ) errors
Im converting my small physics test code in pygame from using pairs of variables to describe position, velocity and acceleration into math.Vector2()'s. The reason being is obvious since there are a ...