What .NET method has this error message: "Object cannot be cast from DBNull to other types"
The stack traces have been stipped from my logs so I'm looking for a starting point.
Hey,
I'm trying to use the Libxl library in my eclipse c/c++ project. Right now I'm using the minGW compiler in eclipse.
With this following code:
Book* book = xlCreateBook();
I get this error:
/src/xls2csv.cpp:22: undefined reference to `xlCreateBookCA'
Any help would be greatly appreciated :)
Can we initialize python objects with statement like this:
a = b = c = None
it seems to me when I did a = b = c = list() will cause circular reference count issue.
Please give your expert advice.
While the site is in development mode, it takes for ever to edit content types and do various similar administrative tasks.
Is there a way to speed this up? What kind of hardware would I need?
Any specific MySQL optimization maybe?
char
char* c[30];
c = (char*) malloc(30*sizeof(char) );
How does this give an incompatible declaration in built in function warning and and incompatible types in assignment error in the line where i have declared malloc . According to the syntax of malloc , i shouldnt have any error
Hi Guys,
Quick question....
We're trying to make a decision on a dms here and Alfresco has been recommended to us.
Is the Alfresco Document Management supportive of all file types?
Thanks!
In II7 you have the option the choose different application pool type. I have 4 types to choose from
Default Application pool
Classic .Net Application pool
ASP.NET v4.0
ASP.NET v4.0 Classic
What are the differences between these, and when to choose what?
if i have this code in jquery:
var parentDiv = $(this).parent('.copyInstance');
inside this div there is a form.
how do i reference a form element inside this selector? i want something like this
$.post($(parentDiv + " Form").attr('action'), $(parentDiv + " Form").serialize(), function(data) {
});
but this above doesn't seem to work
I want to identify from where a visitor coming to my webpage.Is there anyways to getting that reference in a javascript file.eg: if my website is www.example.com.if user getting this site from google or bing search,then i need to identify that,user from google or bing respectivly.How can i get this in javascript(more priority) or in php.If anybody know help me please...
System.DllNotFoundException was unhandled Message=Unable to load DLL 'sqlite3': The specified module could not be found.
I already reference the DLL. I check it on Debug folder and it was there. I also search how to "include" it in the project but they don't specifically explain how to do it.
I'm following this example: http://www.codeproject.com/Articles/22165/Using-SQLite-in-your-C-Application
Let us say that we have following array:
my @arr=('Jan','Feb','Mar','Apr');
my @arr2=@arr[0..2];
How can we do the same thing if we have array reference like below:
my $arr_ref=['Jan','Feb','Mar','Apr'];
my $arr_ref2; # How can we do something similar to @arr[0..2]; using $arr_ref ?
Hi,
I'd like to define a method accepting varargs, so that I get the types with which it was called even in the case of nulls.
def foo(args: Any*) = ....
val s: String = null
foo(1, s) // i'd like to be able to tell in foo that args(0) is Int, args(1) is String
I have a dll installed in GAC. I have not issues reading that assembly from asp.net applications the assembly reference i have done in web.config is able to refer to that assembly.
But in the console application, when i put the below in the app.config file, the solution gets compiled, but i am not able to access the dll from program.cs file. Below is my app.config to refer to the dll in GAC.
Please point to me what i am doing wrong.
I'm having problems wrapping my head around this. I have a function
void foo(istream& input) {
input = cin;
}
This fails (I'm assuming because cin isn't supposed to be "copyable".
however, this works
void foo(istream& input) {
istream& baz = cin;
}
Is there a reason that I can get a reference to cin in baz but I cannot assign it to input?
Thanks
In Fluent NHibernate, given an automapped component, is there a convention for setting up a parent reference back to the "holder" of the component?
By having for example a property named Parent or something like that? I can't seem to find any information about how to do it or issues about it.
Microsoft Speech Recognition comes with a Speech Reference Card. It consists in some pre-determined words that are recognized.
I want to know if it's possible to disable it. Is it?
Suppose I have DLLA which is a standalone library that contains classes I use
I have DLLB that references DLLA
I now have DLLC that references DLLB - Why is it that DLLC also needs a reference to DLLA?
Can I not have VS2005 build a dll which contains all the assemblies it needs embedded inside it?
hey,
iN eclipse, is there any way to view element under . How can I add more elements under types through design view instead of writing code manually? Thanks.
Hello!
I'm using SubSonic 2.1. I ran it against a database and it created all the files seemingly correctly. However, when I went to use one of the classes, the app wouldn't built. I'm making a Windows application, but in the SubSonic file there's a reference to HttpContext.Current.User. Does anyone know why that would happen?
I need to pass two array list references to a function and return the reference of merged array list.
how can i do it????
pls help....
public int merge(ArrayList x, ArrayList y)
{
List all = new ArrayList();
all.addAll(x);
all.addAll(y);
System.out.println(all);
return all;
}
is it correct???
In Fluent NHibernate, given an automapped component, is there a convention for setting up a parent reference back to the "holder" of the component?
By having for example a property named Parent or something like that? I can't seem to find any information about how to do it or issues about it.