Click to See Complete Forum and Search --> : C# Failed to create component (UserControl) NotImplementedException.


sspoke
April 25th, 2009, 03:57 PM
When I drag in my custom made component (VarControl) into my form (UserControl) I get

Failed to create component 'VarControl', The error message follows:
System.NotImplementedException: The method or operation is not implemented.


at Microsoft.VisualStudio.Shell.Design.VirtualTypeImplementor.InvokeConstructor(ConstructorInfo ctor, Object[] args)
at Microsoft.VisualStudio.Shell.Design.VirtualTypeBuilder.VirtualConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)
at System.SecurityUtils.SecureConstructorInvoke(Type type, Type[] argTypes, Object[] args, Boolean allowNonPublic, BindingFlags extraFlags)
at System.ComponentModel.ReflectTypeDescriptionProvider.CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, Object[] args)
at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, Object[] args)
at System.ComponentModel.TypeDescriptionProvider.CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, Object[] args)
at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, Object[] args)
at System.ComponentModel.TypeDescriptor.CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, Object[] args)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializer.DeserializeStatementToInstance(IDesignerSerializationManager manager, CodeStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.DeserializeName(IDesignerSerializationManager manager, String name, CodeStatementCollection statements)



bunch of crap.. cbf typing it all out. nevermind I did.

I'll almost attach the project so someone could run it.

Error occurs in GameHolder form when I drag in a VarControl.

<link removed by admin>

BigEd781
April 25th, 2009, 05:18 PM
I would bet that you added an event handler and never coded it. By default, when adding a new event handler, visual studio will add a line which throws a NotImplementedException so that you don't forget to add your own code.

sspoke
April 25th, 2009, 06:59 PM
can u show me where? i looked i can't find it. I believe everything is programmed just control doesn't load!

Geming Leader
April 26th, 2009, 11:42 AM
you can search the code about "throw new NotImplementedException()"

sspoke
April 26th, 2009, 01:03 PM
I did and it doesn't exist inside the project

JonnyPoet
April 26th, 2009, 02:57 PM
Sorry but I dont supplying help for programs like that

JonnyPoet
April 26th, 2009, 03:30 PM
Here a bit out of his code
public bool FetchSessionID()
{
string cookie = System.Windows.Application.GetCookie(new Uri("http://www.kongregate.com"));
char[] separator = new char[] { ';' };
string[] strArray = cookie.Split(separator);
string str2 = "";
foreach (string str3 in strArray)
{
string[] source = str3.Split(new char[] { '=' });
if ((source.Count<string>() > 1) && source[0].Contains("_kongregate_session"))
And here you will see whatfor the help would be needed :
Simple said to betray others. Please close this thread its against our policies

sspoke
April 26th, 2009, 07:57 PM
dude im a born hacker I've been having for 6 years now in C++ with patching memory/dll injection/crafting packets to full server into crashing,giving me stuffs) this tool is a joke compared to my hacking knowledge.. i'm trying to release this to help out another community which is suffering because all the exploit tools they have been patched so it's up to me to help them up lol

BigEd781
April 27th, 2009, 12:56 AM
dude im a born hacker I've been having for 6 years now in C++ with patching memory/dll injection/crafting packets to full server into crashing,giving me stuffs) this tool is a joke compared to my hacking knowledge.. i'm trying to release this to help out another community which is suffering because all the exploit tools they have been patched so it's up to me to help them up lol

Funny, considering you can't track down the source of a NotImplementedException. This should be closed...

JonnyPoet
April 27th, 2009, 02:48 AM
dude im a born hacker I've been having for 6 years now in C++ with patching memory/dll injection/crafting packets to full server into crashing,giving me stuffs) this tool is a joke compared to my hacking knowledge.. i'm trying to release this to help out another community which is suffering because all the exploit tools they have been patched so it's up to me to help them up lolReally a 'great' help :eek::sick: And it seems you you are proud off that. And this free done frankly confession should be enough to ban you from this forum.