|
-
Feb 20th, 2002, 05:59 AM
#1
Option Explict...No need? MUST READ
As we here are probably already aware if the statement Option Explicit appears at the top of a module then all varibles used within must be pre-defined.
The question I put to you all is:
Why does VB, or Microsoft if you prefer, allow coding without the use of Option Explict? It's not rocket science to decalre a varible, so why is it not enforced?
Oh, if anyone read my posts from yesterday regarding finding users logged into an NT network and the puter they are logged into, well I've worked it out. Found some code at planetsource code, here's the link: http://www.planetsourcecode.com/vb/s...11317&lngWId=1
There is only one problem with the above code and that is if a user doesn't access the network server for, say 20 minutes (can't remember exact time delay) then they are displayed as being offline...must be someway around this...Have fun.
Oh yea, answer my original question you ladder monkeys
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
|