I'm trying to create a frame VCL inside my project using factory pattern
something like this:
TFrame* newToolbarFrame =
FrameFactory::getInstance().createObject(toolbarFrameClassId);
When the factory creates implementation class , I get a error message about missing recourse file.
For example if I create instance of class TFra...
Because I want to avoid repetive code, and I'm using a lot of text formats, I created a CustomTextFormat class in Flex Builder.
Another class, called CustomInputBox.as is using this object to create a format:
package
{
import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFieldType;
public cla...
In my current project inside the file ViewController.m, running the method:
[[connection writer] writeData: data];
returns the warning:
warning: multiple methods named 'writeData:' found
I am attempting to call the method:
- (void) writeData: (NSData*)data
in TCPWriter.m. Unfortunately there are two other writeData methods
- (...
I’m using the PRG pattern to avoid multiple form submission. It has, however, a serious drawback — you cannot simply echo the confirmation message to the user (obviously, the user won’t see the page, he will be redirected to another one).
What are the solutions to this problem? I know two of them, but none of them seems perfect.
Use a...
Whenever i try to upload a sound file i get the error "The connection to the server was reset while the page was loading.". The sound file is 5.58mb, an .OGG. My server is visual studios 9 (2008). The form uses enctype="multipart/form-data". I have a feeling it may be a filesize limit but i dont know where to change the file length allow...
Hello all. I am using the Validation Plugin for jQuery and it works wonders. Except when I have a group of checkboxes...the error messages will display right after the first box...like so
and that is after I have created a "hidden" checkbox at the beginning of the group. Is there anyway i can make it display after the LAST checkbox? Is ...
Hi,
Is there any code or custom options available to achieve the following :
1> When an error occurs in a text box, the validation shows the error. Enforces / Forces the user to remove the error and only then proceed to complete remaining text inputs. KEEPS the mouse focus on the Text Box.
I have used built in mx:Validator tags, but i...
Is there a way to get the detailed error-messages PostgreSQL shows when running a query from command-line or a client like PG-Admin when using the ODBC-Interface-Driver?
The Err-object in Access just tells you that something went wrong but is not very helpful - I have to run the same query again in PG-Admin to see where the problem is.
...
I have an HttpPostedFile object, when i try saving it via SaveAs i get this exception System.Web.HttpException
"The SaveAs method is configured to require a rooted path, and the path './tempUpload/4' is not rooted."
Why? how do i correct it?
...
The following code:
<?php
if ($_SERVER['REQUEST_METHOD'] != 'POST'){
$self = $_SERVER['PHP_SELF'];
?>
Generates this error:
Parse error: syntax error, unexpected
$end in
/home/idghosti/public_html/testground/mma/include/header.php
on line 26
What is wrong with my code?
...
This is the error
Parse error: syntax error, unexpected '}' in /home/idghosti/public_html/testground/mma/include/footer.php on line 9
This is the code:
<?php
} else {
error_reporting(0);
if (mail($to, $subject, $msg, "From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n"))
//Message sent!
...
On my application wide error handling I'm returning the host name to see what computer it happened on, application version, windows version, exception with all inner exceptions, and the stack trace.
What other information can you get while inside the MyApplication_UnhandledException method that would be useful for tracking down an error...
Does anyone know what this error message means?
FATAL: Code generation error detected during MISSING smear generation.
It occurs whilst concatenating approx 40 datasets. I believe it may be due to hitting memory limits from having too many variables (circa 217), but would be good to get confirmation of this...
(log file)
301 Data &d...
Currently I don't have a very good system for managing error or success messages, they are pretty much written inline with the code. Can someone suggest a best practice or something you are doing to be able to properly manage a large list of error and success messages through out an application.
Think internationalization ... some appli...
I got this error on my image generation script :
Warning: imageftbbox() [function.imageftbbox]: Problem loading glyph:
I think because of this I can't generate images from text properly - how do I fix this!
...
Our work machines are moving to vista so I am struggling through installing cygwin. After setting the proxy on the installer manually instead of using "use IE5 settings" and running the following command:
mkpasswd -l -c > /etc/passwd; mkgroup -l -d > /etc/group
I finally have a "working" version of cygwin.
However, when I type exi...
I created a "Asp.net Web Application" in Visual Studios 2008 that just generates a simple invoice using Microsoft Reports.
I used the Dataset designer to design a Dataset for the Invoice Info, and another Dataset to fetch the company information.
The Report is local (.rldc) using ReportViewer 2008 (9.0.0.0)
The dataset does not have a...
Hello everyone,
I'm a fairly new programmer so please bear with me on this. I am using VC++ 2008.
I am getting this error from my program:
Unhandled exception at 0x68bce2ba (msvcp90d.dll) in z projection.exe: 0xC0000005: Access violation writing location 0x00630067.
The computer then brings me to this page of code which looks rather...
What is the funniest or strangest error message you have ever seen from a compiler?
My personal favorite is one I came across with java: cannot cast boolean to Boolean
Any others?
...
I am trying to insert data from one table to another with same structure,
select * into tbltable1 from tbltable1_Link
i am getting the following error message :
There is already an object named 'tbltable1' in the database.
...