Hi..
I have built a composite asp.net 2.0 webcontrol for my intranet which is hosted by an application pool that is run under a service account.
I am trying to find a solution where I can update the control with the client user id.
I thought that I could use a VBScript that is run on a...
Hello.
I want to be able to allow my computer objects to add/remove themselves from AD Groups.
I thought that this simply needed the NT AUTHORITY\SELF account to be appropriatly permissioned?
I have set the following permissions on my OU and Group Objects, but am still not able to add the...
Hi.
I am no longer able to use the API call above with Windows XP SP2 or Windows Server 2003. I understand that this is due to the way in which this api call has been amended in the new versions of the OS if called by a service.
To work around this I wanted to use impersonation on a seperate...
Hi there..
I have a dataset created of 3 tables, my structure is a little like:
Application Table:
AppID (Int32 Auto generated (primary key))
AppName (String)
AppLicense (string)
Busines Layer Table:
BLID (Int32 Auto generated (primary key))
BLName (String)
BL_mm_App:
ID (Int32 Auto...
Hello..
I am trying to build an in memory DB for an application that reads from Active Directory.
The app is going to be used to manage Applications and their dependancies.
To achieve the link between app and its dependancies I have created a DataSet consisting of 2 tables and 2 relationships...
Hello..
I am trying to code up a tool that I can install as a service on a remote client. I want the tool to have a GUI locally that is accessible by the system tray, and also have the ability to be queried remotely and return configuration data from the remote machine.
I understand that I...
Hi all..
I am trying to get my head around the COM+ Interoperability with .NET and was wondering if someone could point me in the right direction here...
Basically I have coded a DLL with a simple function to run a process (using the .NET Process class).
I have found that I can dynamically...
Hi there...
I have developed a COM+ DLL (VB.NET) which I have registered via Component Services to perform some functions under the Local System Account.
I want to call the methods on my COM+ dll and use them to launch processes, elevating the interactive users rights.
I have finished the...
Hi there..
I am trying to set some launch conditions in a windows form and if the conditions are false automatically close the form.
I thought that i could use something like:
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer...
Hi there..
I am trying to write an SQL report that takes a user defined variable as a filter (WHERE) clause.
the user inputs the criteria that they want to search for in a delimited string.
I need to understand the best way to identify the number of criteria that the user has specified, and...
Hi there.. I am trying to find out what patches have been applied to a machine within the last month via the SMS 2K3 SoftwareUpdates FP.
I need to do this on the client so I am querying the Win32_PatchState WMI Class.
I am having a problem with the Date time format in WMI (Universal Time Code)...
Hi all...
I am having a little performance issue with the .NET combobox and a SearchResultCollection which hopefully someone can help me to alleviate..
I am basing my SearchResultCollection as an AD (DirectorySearcher) query, I then want to add the returned results into a combobox. At the...
Hi there..
I get this error when trying to invoke a remote process on a client.
I am sending the remote command via the Win32_Process.Create method using a ManagementObject
I think that this is due to the fact that the EXE resides on the network and that I am performing a 'Double Hop' with my...
Can anyone please give me some pointers on how to invoke a process (such as MSIEXEC) on a remote machine with commandline args?
I am fairly familiar with the Process Class, and can invoke processes locally.. I just need to be able to do this remotely.
Thanks in adv for any help..
Hi there...
I am querying a multi-valued UnicodeString in AD and only appear to be able to retrieve the first entry...
Can anyone spot why?
Public Function ListMultiValues(ByVal RootOU, ByVal Filter, ByVal AttributesToLoad)
'This function will query for the value/s contained...
Hello...
Can anyone help me with creating a login box for a .NET app?
the app is to be used as a support tool, but I want the application to display a login prompt, that the support person can enter their credentials without logging off the existing user.
Not sure if there is a method to do...
Hello everyone..
Does anyone know why when an application has been given XP Support through the manifest file, the progress bar is displayed funny?? there is a section of the bar (starting about 1/4 from the left edge to 3/4 along) that is slightly thicker than the remainder??
I have double...
Hello..
I am having a little trouble with removing a computer object from a group with the following code...
For Each oItm In lCurApps.CheckedItems
sGrp = oItm.text.ToString
Try
Dim dEntry As New DirectoryEntry(ADPROV & "CN=" & sGrp & "," & SFTOU)...
Hi there,
Just wondering if someone can help me sort out some code to add an entire row of values to a ListView.
I have a listview with 4 columns, and I have a function that returns 4 values to add to the listview.
The values are returned as strings
if I try to convert the strings to a...
Hi there..
I am trying to write a utility to write entries to a custom log within the Eventvwr.
I have the code running quite nicely from a CLI under an Admin's credentials, however I am having trouble granting the application READ/WRITE access to allow the creation of the custom log name if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.