Control Problems

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
7 posts Page 1 of 1
Contributors
User avatar
Smiley
VIP - Donator
VIP - Donator
Posts: 269
Joined: Sat Dec 19, 2009 3:39 pm

Control Problems
Smiley
Hi Guys, I've been having a little problem with importing external controls into my applications ever since i reinstalled my operating system, heres what I'm getting when i try to debug with an external control in my application.

Example:
Untitled.png
Thanks In Advance cooll;
You do not have the required permissions to view the files attached to this post.
User avatar
Scottie1972
Codenstuff Elite
Codenstuff Elite
Posts: 953
Joined: Thu Jan 14, 2010 5:48 am

Re: Control Problems
Scottie1972
the Control is using a different Framework then the Project is.
Either find a Updated control or change the Framework of your Project to Framework 2.0.

this is happening a lot since Win7 came out. And people are downloading and using custom controls posted on CodeProject.com VbForums.com and other coding websites.
Image
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

Re: Control Problems
muttley1968
you might find that you got the same problem as me i have a custom control that give me that warning and that errors yet if i go to the desiner and change it from
Me.CrystalClearTabControl1 = New Minecraft_lotto.CrystalClearTabControl()
to
Me.CrystalClearTabControl1 = New CrystalClearTabControl()

It will work fine i dont know why but it works you might want to try that
User avatar
Smiley
VIP - Donator
VIP - Donator
Posts: 269
Joined: Sat Dec 19, 2009 3:39 pm

Re: Control Problems
Smiley
Scottie1972 wrote:
the Control is using a different Framework then the Project is.
Either find a Updated control or change the Framework of your Project to Framework 2.0.

this is happening a lot since Win7 came out. And people are downloading and using custom controls posted on CodeProject.com VbForums.com and other coding websites.
Hi Scottie, i tried your solution unfortunately when i tried to import the control into my toolbar i would not show up this happens when i use every .NET framework other than 4.0.

Do you have any other solutions dunnno;
User avatar
Smiley
VIP - Donator
VIP - Donator
Posts: 269
Joined: Sat Dec 19, 2009 3:39 pm

Re: Control Problems
Smiley
muttley1968 wrote:
you might find that you got the same problem as me i have a custom control that give me that warning and that errors yet if i go to the desiner and change it from
Me.CrystalClearTabControl1 = New Minecraft_lotto.CrystalClearTabControl()
to
Me.CrystalClearTabControl1 = New CrystalClearTabControl()

It will work fine i dont know why but it works you might want to try that
Hi Muttley, i tried out your solution but i still got the same error even after i re-imported the reference.

Do you have any other solutions dunnno;
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4392
Joined: Tue Aug 04, 2009 1:47 am

Re: Control Problems
CodenStuff
Try changing target framework....

Image
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
Smiley
VIP - Donator
VIP - Donator
Posts: 269
Joined: Sat Dec 19, 2009 3:39 pm

Re: Control Problems
Smiley
CodenStuff wrote:
Try changing target framework....

Image
Hi Code N Stuff,
Thank you very much i have been scratching my head over this problem for a while and finally i have a solution and can get back to making applications.

Thanks Again, Smiley cooll;
7 posts Page 1 of 1
Return to “Coding Help & Support”