|
No Source Code. Just endless merry go round
|
|
|
|
|
LINK FOR CODE DOES NOT WORK
|
|
|
|
|
Hi
Application is big inspiration to me,. Thank you.
However when I try to see remote computer it gives access denied error.
Anybody know how to fix this problem??
thanks
cemenc@gmail.com
|
|
|
|
|
maybe try with different account? more privileges?
what's the exact error?
|
|
|
|
|
I had searched a lot but unable to get help on reading shared Open Files using WMI. Please help on this. I can retrive till folder using this sample code. But this one is not working for Shared Files. I would like to read Computer Managemnt-Shared Folder-Open Files
ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT *
FROM Win32_ConnectionShare");
foreach (ManagementObject connectionShare in searcher.Get())
{
// Win32_Share
string antecedent = connectionShare["Antecedent"].ToString();
Console.WriteLine("Antecedent: " + antecedent);
ManagementObject share = new ManagementObject(antecedent);
// Win32_ServerConnection
string dependant = connectionShare["Dependent"].ToString();
Console.WriteLine("Dependant: " + dependant);
ManagementObject connection = new ManagementObject(dependant);
Console.WriteLine(share["Name"].ToString());
if (connection != null && connection["Name"] != null)
Console.WriteLine(connection["Name"].ToString());
Console.WriteLine("\n");
}
adfg
|
|
|
|
|
|
In the following fuctions the "New" key word is missing from your variable definitions.
ShowComputerList()
Dim management_object As New DirectoryEntry
ShowCompuerInfo()
Dim management_object As New ManagementObject
LoadServicesList()
Dim management_object As New ManagementObject
Also in the function LoadServicesList() the exception should not use the the "management_object("Name")" object because it is the object that caused the error. And the error block itself generated an error.
Catch err As Exception
MsgBox("Error loading services list:" & vbCrLf & _
management_object("Name") & vbCrLf & _
err.ToString(), _
vbExclamation, _
Application.ProductName)
Finally
|
|
|
|
|
Hello,
I cannot find a link to download the source code for this project. The executible also produces the following errors on my computer (I am not in a domain; rather a workgroup):
Error loading user list:
System.NullReferenceException: Object reference not set to an instance of an object.
at NetworkBrowser.frmNetworkBrowser.ShowUserList(String domain_name)
This one occurs when the "Services" button is clicked:
Error loading services list:
System.Reflection.AmbiguousMatchException: No accessible overloaded 'ListViewSubItemCollection.Add' is most specific for these arguments:
Public Function Add(item As System.Windows.Forms.ListViewItem.ListViewSubItem) As System.Windows.Forms.ListViewItem.ListViewSubItem
Public Function Add(text As String) As System.Windows.Forms.ListViewItem.ListViewSubItem
at Microsoft.VisualBasic.CompilerServices.VBBinder.BindToMethod(BindingFlags bindingAttr, MethodBase[] match, Object[]& args, ParameterModifier[] modifiers, CultureInfo culture, String[] names, Object& ObjState)
at Microsoft.VisualBasic.CompilerServices.VBBinder.InvokeMember(String name, BindingFlags invokeAttr, Type objType, IReflect objIReflect, Object target, Object[] args, String[] namedParameters)
at Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn)
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
at NetworkBrowser.frmServices.LoadServicesList()
After the error, the last service listed is "Ati Hotkey Poller" for which no description is listed.
Search for users also does not work.
Thanks.
Herbert N Swearengen III
|
|
|
|
|
|
Hey,
I can't seem to get the "ManagementObject" type to validate, is there something missing?.
I've added the below listed imports/declarations to the project.
Imports System.Management
Imports System.DirectoryServices
Dim management_object As ManagementObject
Can anyone help?
... Jaeman
|
|
|
|
|
add a reference to System.Management namespace
|
|
|
|
|
Hey,
Thanks but i already had the references and imports:
Imports System.Management
Imports System.DirectoryServices
What fixed it was:
Dim management_object As System.Management.ManagementObject
Then declare the 2 variables in the for each below the dim.
... Jaeman
|
|
|
|
|
Error loading user list:
System.NullReferenceException: Object reference not set to an instance of an object.
at NetworkBrowser.frmNetworkBrowser.ShowUserList(String domain_name)
Robert
|
|
|
|
|
Could you please privde a link to the source code for your entire project.
Thanks Robert
|
|
|
|
|
|
Hello. Excellent article. Was wanting to get the source code so I could: a) learn a bit more on this subject and b) add a few other things to it such as installed software. However, when I click the provided link I get a 403 Forbidden message. Is there anyway you can either expose the source code or send it to a private email?
Thanks,
Cole Knight
|
|
|
|