|
-
Jan 12th, 2004, 03:06 PM
#1
Thread Starter
Member
Need some help here...
I found what looks like a useful piece of code here(website). It does some stuff I need for my own project so I decided to take the plunge and convert to VB.NET (it's VB6).. I am running into some problems though..
I get an "argument 'Length' must not be greater or equal to zero" error, real cute, but of little help ..:^) .. I stored the original and converted code here(archive) I got rid of the errors and issues, I just have a lot of "Couldn't resolve default property of object" warnings and that's probably where things go wrong, but I guess I am not going to figure this one out by myself..
So any help would be much appreciated!..
-
Jan 12th, 2004, 04:14 PM
#2
Sleep mode
Is there anything wrong with second link(the converted proj) . It looks damaged file or something .
-
Jan 12th, 2004, 11:49 PM
#3
Thread Starter
Member
I just dl it and unpacked without problem..
-
Jan 13th, 2004, 02:59 AM
#4
Sleep mode
Originally posted by paulheu
I just dl it and unpacked without problem..
Sorry but I'm still having a problem while connecting to that site and then d/l the file . Can't you just upload it here or paste some code so that everybody might help !
-
Jan 13th, 2004, 08:22 AM
#5
Thread Starter
Member
weird.. since the archive is a bit too big to attach to a post here I put it up here..
My guess is the problem has something to do with having to add marshalling, something that will take me a bit to figure out..
I would really appreciate any help I can get here..
-
Jan 15th, 2004, 12:36 AM
#6
Thread Starter
Member
Duh...
As it turns out the functionality I needed was allready built into the BASS dll I am using in the same project..
Double duh...
-
Jan 15th, 2004, 03:18 AM
#7
Sleep mode
Umm , I've checked that class . It's big one and looks cool in VB6 . The problem seems to be as you said , adding some attributes and marshelling values before passing them . I really couldn't make it . You need to see MSDN Help for other attributes that help you in these situations :
VB Code:
<VBFixedString(256)> Public path As String
Sorry , this is all the help I can offer .
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
|