Search the Community
Showing results for tags 'access'.
-
Accesing Another Class Methods Yooo, Super-askingdude here! Is there a way to access Class methods and variables without using the Shared statement or the New statement? Here's my code: Public Class BigClassy Public vPublicVariable As Integer Public MyStructy As Structy ' I'm not sure if I have to use NEW here End Class Public Structure Structy ' Creating something like "Public BC as new BigClassy" here will do? Public Sub FindBigClassyVariable() BigClassy.vPublicVariable = 100 ' This returns an error of course End Sub End Structure Do I have to create a new instance of BigClassy within Structy to access the current value of vPublicVariable? (because I assume that doing so will erase it) This is like melting my brain... I don't know how to achieve my goal here. Well, I hope someone will help me! Love!
-
I'm sorry to disturb you find folks but I'm at my wits end with this. My problem involves getting a list of process's and there module's. i know what your saying right now 'use system.diagnostics' stupid. My problem comes from the fact that i need a FULL list of EVERYTHING with no access denied exceptions. Just catching it and moving on is not an option. My OS I'm developing on is Windows 7 and yes administrator. If you go to run and type 'cmd' and then 'tasklist /m' it seems to do what i cant. Now normally i would be lazy and just reroute the output and parse it but the application must have no outside dependency except what we make for it. Any help would be appreciated.