|
-
Jan 13th, 2007, 02:12 AM
#1
Thread Starter
Addicted Member
[RESOLVED] convert module(.bas) for vb6 to vb2005
it's a .bas module to handle a .dll file..how can i convert it to use in vb2005??? i get a lot of errors when i just copy paste it in a module in vb2005
-
Jan 13th, 2007, 02:24 AM
#2
Re: convert module(.bas) for vb6 to vb2005
They are two different languages so you cannot simply copy and paste. You could use the upgrade wizard but you're likely to have many errors to fix anyway. Most people would advise that you simply write fresh VB.NET code that best provides the functionality that you want.
-
Jan 13th, 2007, 04:24 AM
#3
Thread Starter
Addicted Member
Re: convert module(.bas) for vb6 to vb2005
ok successfully converted it
-
Jan 13th, 2007, 04:47 AM
#4
Thread Starter
Addicted Member
Re: convert module(.bas) for vb6 to vb2005
the problem is that i get the error message cannot find .dll when the .dll is in the project folder ....
-
Jan 13th, 2007, 04:49 AM
#5
Re: convert module(.bas) for vb6 to vb2005
Have you added this DLL on the References tab of the project properties?
-
Jan 13th, 2007, 04:56 AM
#6
Thread Starter
Addicted Member
Re: convert module(.bas) for vb6 to vb2005
there's an error when adding it in reference... it says "please make sure that the file is accessible, and that it is a valid assembly or COM component" 
this is a .dll to read a game database and that was used for vb 6.0 .... how can i convert it so that it is compatible with vb 2005???
-
Jan 13th, 2007, 05:04 AM
#7
Thread Starter
Addicted Member
Re: convert module(.bas) for vb6 to vb2005
cool i solved it!!! i put the .dll in bin\Debug and it's working now!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|