tirtsa Posted July 1, 2003 Posted July 1, 2003 i created a dll containing a form in vb.net 2003. i reference this dll from a vb.net 2002 project, and create a new instance of the form. the problem starts when i'm trying to show the form. i get an error "object already exists" can i do such a thing at all? what is this problem? any ideas? Quote
Administrators PlausiblyDamp Posted July 1, 2003 Administrators Posted July 1, 2003 How are you creating / displaying the form? Also what version of the .Net runtime are you targeting with the VS 2003 form? It could be a problem with the DLL requiring the 1.1 runtime and the project using version 1.0 framework. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
tirtsa Posted July 2, 2003 Author Posted July 2, 2003 i create a new instance of the form, and then try to display it using Form.Show method. i also tried to use Form.ShowDialog, and i got "Source array type cannot be assigned to destination array type". how can i determine the version of .Net Runtime i'm targeting? Quote
ThePentiumGuy Posted July 2, 2003 Posted July 2, 2003 hehe no problem follow these instructions and you'll be all set: first, add the files to your project manually(by creating a blank vs app, right click on sol. explorer, add existing items) 2)In the sln file - Change File Version 8.00 to 7.00 3)In the vcsproj file - Change ProductVersion 7.10.2215 to 7.0.9466 and Schema Version 2.0 to 1.0 Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
tirtsa Posted July 3, 2003 Author Posted July 3, 2003 ok, problem solved. thank you for your help!!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.