Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Posted

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?

Posted

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...