No announcements
Found 2645828 threads
-
2 Votes
Object reference not set to an instance of an object
I dont know your method name but, you can use this: var o = results.CompiledAssembly.CreateInstance("Scripting.ScriptClass"); foreach ...Answered | 4 Replies | 6550 Views | Created by Atomic666 - Tuesday, April 12, 2011 10:57 AM | Last reply by Atomic666 - Tuesday, April 12, 2011 12:00 PM -
0 Votes
Object reference not set to an instance of an object.
When you want to create a new object from some class that means that you have to make an instance of an object like this: SomeClass someClass = new ...Answered | 10 Replies | 5760 Views | Created by MrBilleh - Thursday, February 13, 2014 8:13 PM | Last reply by Tonchi91 - Saturday, February 15, 2014 12:46 AM -
0 Votes
CallExternalMethod that takes an object as a parameter
The other way is to simply create a dependancy property of the type object.Answered | 8 Replies | 3589 Views | Created by Ryan Vice - Thursday, February 5, 2009 8:55 PM | Last reply by Ryan Vice - Wednesday, February 18, 2009 2:12 PM -
1 Votes
Subform Object Properties and Methods
Hello, I've designed a form for a client who has requested that in one of the tabs that it contain a datasheet subform which will hold a one-to-many relationship.Answered | 7 Replies | 1967 Views | Created by Walt Dexter - Saturday, September 7, 2013 5:33 PM | Last reply by Walt Dexter - Monday, September 9, 2013 1:41 PM -
0 Votes
VB.NET: Release of COM Objects in Child Functions?
This value is typically zero since the RCW keeps just one reference to the wrapped COM object regardless of the number of managed clients calling it.Answered | 3 Replies | 1040 Views | Created by MoD66 - Tuesday, December 1, 2015 9:45 AM | Last reply by Starian chen - Friday, December 4, 2015 7:47 AM -
0 Votes
Null objects and LINQ?
If a null property on your criteria object indicates that field should be ignored: IEnumerable<Person> matches = personList.Where(person => ...Answered | 2 Replies | 1295 Views | Created by Cryo75 - Thursday, October 18, 2012 5:33 AM | Last reply by John Michael Bird - Thursday, October 18, 2012 7:13 AM -
0 Votes
Preserve object reference between parameters
Hi Yaron, I do not think that setting will help either, the "preserveObjectReferences" setting only affect references on the same data contract ...Answered | 5 Replies | 3327 Views | Created by amiram - Thursday, November 27, 2008 1:40 PM | Last reply by Yaron Naveh - Friday, November 28, 2008 2:52 PM -
1 Votes
Setting property bags using Client Object Model - persistence problem
I am using the Sharepoint Managed Client Object Model, not the EcmaScript Client Object Model, as you can see in the code.Answered | 5 Replies | 15551 Views | Created by Alice Lupsan - Wednesday, February 22, 2012 7:07 PM | Last reply by fai_developer - Friday, August 21, 2015 3:45 PM -
0 Votes
How to check if object value is Null and if null assign NULL to type datetime
So doing something as simple as referencing a property involves more runtime code.Answered | 5 Replies | 11059 Views | Created by NewBInCoding - Wednesday, February 28, 2018 3:09 PM | Last reply by User3DX - Wednesday, February 28, 2018 11:47 PM -
0 Votes
Object reference not set to an instance of an object
list.SelectedItems[0].Tag is not an int type, but is an object type, and as such, it can be null.Answered | 13 Replies | 3119 Views | Created by maramckmc - Thursday, August 7, 2008 1:45 PM | Last reply by maramckmc - Thursday, August 7, 2008 3:32 PM -
1 Votes
Invoke Method?
Extension methods are explained here: https://msdn.microsoft.com/en-us/library/bb383977.aspx In short, when you have a static class with a method that ...Answered | 3 Replies | 783 Views | Created by Sensitive_Heart - Monday, September 21, 2015 6:57 PM | Last reply by Matt S Gregory - Wednesday, September 23, 2015 6:33 PM -
0 Votes
Object reference not set to an instance of an object.
if it's due to Dispose, then check all nested Controls' Dispose method if overridden.Answered | 5 Replies | 1158 Views | Created by sencsk - Thursday, May 16, 2013 6:32 AM | Last reply by Faisal Ahmed Farooqui - Thursday, May 16, 2013 9:45 AM -
2 Votes
Utilizing a data set as an object property
Here's what I tried: I set up the collection as a seperate class which had a hashtable set up for looking up members and methods for doing all the other ...Answered | 15 Replies | 605 Views | Created by Larry Blankenship - Monday, March 24, 2014 9:13 PM | Last reply by Frank L. Smith - Friday, March 28, 2014 9:51 PM -
3 Votes
Object not set to instance of an object
Always check for null before using a property of an object/entity.Answered | 25 Replies | 2544 Views | Created by SPART123 - Sunday, October 28, 2012 5:21 PM | Last reply by John Kears - Sunday, November 4, 2012 1:48 PM -
0 Votes
Can we pass a object variable to a child package???
Please note that we just need create an object variable objParent in the parent package and create an object variable objChild in the child package, then ...Answered | 16 Replies | 1732 Views | Created by Abhinav530 - Tuesday, March 3, 2015 6:29 PM | Last reply by Katherine Xiong - Friday, March 6, 2015 6:47 AM -
5 Votes
Web Method that returns an object with properties that access the database.
Yeah you have a problem, and you have to remove any code out of the public property getter/setter of any object that is serialized, because the code is going to ...Answered | 3 Replies | 660 Views | Created by quizjax - Thursday, March 31, 2016 7:40 PM | Last reply by DA924x - Friday, April 1, 2016 1:38 AM -
7 Votes
Object reference not set to an instance of an object
And your FindControl method fails.Answered | 24 Replies | 214050 Views | Created by karthi84 - Thursday, March 15, 2007 6:45 AM | Last reply by belgie - Friday, July 8, 2016 6:29 PM -
0 Votes
Value cannot be null.
Hi, Basically you are getting userControl as null.Answered | 1 Replies | 10780 Views | Created by Parth Rawal - Friday, February 19, 2010 12:00 PM | Last reply by AvinashKT - Friday, February 19, 2010 12:51 PM -
3 Votes
Property Gives - "The pointer for this method was null."
The 'base' of Model said "The pointer for this method was null".Answered | 11 Replies | 8139 Views | Created by Maxpenguin - Wednesday, April 25, 2007 11:59 PM | Last reply by GordonBJ - Tuesday, August 12, 2008 1:13 PM -
4 Votes
Object Not Set To Instance Of Object
The query itself is set so that their will never be any instance where a null value is returned.Answered | 10 Replies | 1492 Views | Created by HotWildWetSlides - Sunday, September 27, 2015 3:04 AM | Last reply by stef chui - Monday, September 28, 2015 6:10 AM
No announcements