|
-
Nov 1st, 2001, 10:54 PM
#1
Thread Starter
New Member
-
Nov 3rd, 2001, 12:04 AM
#2
New Member
dont use set statement
Hi
You have declared in Public declarations like
Public myMod as New Comp.Mod
there is no need to use Set statement again. You can directly access the methods or functions in myMod.
for eg:
myMod.functionname(your parameters goes here)
Vijay
-
Nov 3rd, 2001, 10:35 AM
#3
Thread Starter
New Member
Thanks!
Thank you all for your help. I have solved my problem.
Mike
-
Nov 5th, 2001, 01:17 AM
#4
Fanatic Member
A small note to make:
Using
Dim Object as New Class
is not good coding practice. It forces the object to be created the first time it is referenced (Which we won't complain about), but thereafter, VB checks to see if the object has been created on every call to that object. This will slow down your application incredibly.
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
|