|
I am trying to create a link from a cell on one sheet to a cell on the other sheet, but when I run it I get this runtime error:
Application-defined or object-defined error.
Here is the code:
Worksheets(sheetFrom).Cells(fromRow, fromCol).Copy Worksheets...
Started by yx on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You're getting that error because Worksheets(sheetTo) is not the active sheet when you're trying.
|
|
What method do you use to get a compile time error when the database schema changes occur in an ASP.NET project?
For example, if you have a GridView bound to a DataSource, I can only get runtime errors when a schema change occurs, not a compile time error...
Started by BenB on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Update
Assaf's recommendation a compile time error while building your app, you might as well upgrade your schema to the latest-related code.....
And this will break your binding code which will result in a compile time error.
|
|
Is there a simples way to do this?
I have 2 TextBox, for email input, with regex and compare validator. If user input invalid email and a different email at second textbox, is shown two error messages. But i want to display just one error message at a...
Started by Fujiy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
What are you going to achieve by limiting the number of error....
Think about a form with lot of input fields and I wouldn't know the error until I scroll down and click the submit button.
To show all the required fields error message.
|
Ask your Facebook Friends
|
I have a script in production - an ecommerce checkout page - that has had some errors in the past that have prevented it from working and have cost me money. I wanted to get notified on errors so I worked this up:
<?php function mailErrorHandler($errno...
Started by Bruce the Hoon on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
An other solution would be to log to a file if you have problems with the error_hander:
Set
log_errors = On html_errors = Off error....
Try to add an exit() after the error_log() call.
On what is taking all the time.
|
|
I have old code that call a .net webservices that throws this error if the .net code is cold (not in memory)
msxml6.dll error '80072ee2' The operation timed out
A reload always fixes this
Can I change the timeout? Can I stop the .net from going cold? ...
Started by Pbearne on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Thanks to Anthony ....
The ServerXMLHTTTPRequest object has a setTimeouts method:-
xhr.setTimeouts 30000, 60000, 30000, 120000
This sets the receive timeout (that last number) to 2 minutes (the default is 30 seconds) its this value you want to play with .
|
|
Will hql give you compile time errors like criteria query?
I remember hearing that one of the methods doesn't (besides raw SQL).
Started by Blankman on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
HQL wil not give you compile time errors, as it is only treated as a string....
Not give you compile time errors, something like this will error
ICriteria crit = sess.CreateCriteria out if you're doing something wrong.
|
|
In Java, is there a way to know that a StackOverflow error or OutOfMemory exception may happen soon?
The OutOfMemory exception might be an easier one to catch, if one is capable of getting memory usage statistics programmatically, and if one knows ahead...
Started by David on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't know how to prevent those error conditions but if you add.
I don't know anything about working this out at run time, or what you might be able to do to avoid reaches a certain threshold.
|
|
I do not mean the compile errors because I made a syntax mistake or whatever. In C++ we can create compile time errors based on conditions as in the following example:
template<int> struct CompileTimeError; template<> struct CompileTimeError...
Started by smink on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If necessary:
@MyStaticCheck(false, "Compile Time Error, kind-of") public static void main(String[] args) { returnThere is no way ....
A better way to accomplish whatever it is you're trying to do with this compile-time error.
|
|
I'm getting a confusing error from rsync and the initial things I'm finding from web searches (as well as all the usual chmod'ing) are not solving it:
rsync: failed to set times on "/foo/bar": Operation not permitted (1) rsync error: some files could ...
Started by dreeves on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
What is your target filesystem? If /foo/bar is on NFS (or possibly some FUSE filesystem), that might be the... .
I've seen that problem when I'm writing to a filesystem which doesn't (properly) handle times -- I think SMB shares or FAT or something.
|
|
How can you keep track of time in a simple embedded system, given that you need a fixed-point representation of the time in seconds, and that your time between ticks is not precisely expressable in that fixed-point format? How do you avoid cumulative ...
Started by Steve314 on
, 7 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
So a ....
This happens every time the error value systems.
In the 8-bits-after-the-point example, we increment the clock and subtract 10 from the error.
To the time value, thus preventing the error from accumulating.
|