|
-
Jan 10th, 2019, 06:41 AM
#10
Re: [vb6] Project Scanner
 Originally Posted by LaVolpe
Don't know. If you have parameters but not using them, then why include them in the function/sub? One of the things I wanted to do with this project was to try to point out things where code can be made more efficient. If you can remove those parameters because they are not used, then VB doesn't have do extra work passing and/or returning them.
I know, but I use sometimes optional parameters (maybe not used), but to have same kind of definitions for procedures
 Originally Posted by LaVolpe
The treeview can be clicked on (like Explorer) to send it into "edit" mode. You can copy whatever you need from there. Don't worry about accidentally changing the treeview node by mistake. The project won't allow you to do that.
Maybe, I had VB6 openened and directly modifying it it, then after a few modification, compilation to be sure, all is ok
 Originally Posted by LaVolpe
I believe it should throw the warning. As mentioned in the "help", this warning is for you to look at your declaration and double check to make sure you intended it to be Variant. If you intended it to be, but didn't include the "As Variant" in the declaration, then the warning is considered a false positive. However, I have done it and others do also where you simply forget the "As ... whatever" by mistake. That warning is to help identify those.
This how I took it, and also fixed the 2 variables that were in the case
 Originally Posted by LaVolpe
I'm glad. That is the intent
Yep.
now, running a new turn with the 2 options unchecked by default
Hopefully, i have several computers
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
|