Search:
Type: Posts; User: christopherpm
Search:
Search took 0.03 seconds.
-
Although I can read information from Active Directory, is there a way to list all of the available attribute names from the schema that is on the active directory that I am logged in to?
-
I have an application that I created a while ago. It's a forms based application that runs on one of our servers at work. The app works well, BUT at the moment, requires someone to manually run it,...
-
Another thing, at the moment, your error box ONLY comes up if box A B and C are ALL empty, but do you want to show the error if ANY of the 3 are empty?
If so, you could also try using:-
If...
-
Also look at this post which tells you how to limit the text boxes to numerical input only:-
http://www.vbforums.com/showpost.php?p=3001438&postcount=8
-
I think you're getting an error because you have set a, b and c as type DOUBLE, and then you are trying to say that they should take the values from txtA.text, txtB.text and txtC.text - all of which...
-
Here are the 2 subroutines I use. You call them with StopService("servicename") and StartService("servicename")
Imports System.ServiceProcess
Public Sub StopService(ByVal...
-
Thanks for all of your help. I still haven't got it to work as I want on a remote network, but I'll try and sort that at a later date. For now, what I wanted to achieve has been done.
Thank you.
-
adding "SelectContainerDialog.DomainController = xx.xx.xx.xx" gives me the following error in VB:-
'DomainController' is not a member of 'Cjwdev.ActiveDirectory.Dialogs.SelectAdContainerDialog'.
-
I am, but the firewall is configured only to allow external LDAP traffic from 2 static IP addresses. However, for some reason, the code doesn't want to work for me.
I get a dialog box which...
-
Hi Chris,
I've got your dialog working no problem, BUT how do I specify not to include child OUs below the one selected?
Also, another couple of related questions. How could I pre-populate the...
-
A wee update. I'm writing back to AD now. I've added the following before the "Count += 1" :-
UserDE.Properties("telephoneNumber").Value = new_telephoneNumber
...
-
Well, so far using code from this thread, I've cobbled together the following, which populates a DataGridView with the cn of the user, their existing telephoneNumber (if they have one), and the new...
-
I wonder if anyone can help. I've trawled through a lot of posts, but am lost.
I currently have need to modify the Active Directory information for all of my users. At the moment, they have phone...
-
-
First of all, I have searched for information on enumerating registry keys and values, and I'm now drowning in information, and have gotten myself into a complete mess.
I'm hoping that if I...
-
If the value is a multi line string, then the code execution fails at the line:-
readvalue = Registry.GetValue(keyname, value, Nothing)
-
That works, but another question, what about entries that are set as REG_MULTI_SZ (i.e. multi line strings) - the code falls over when reading a value.
Thanks.
-
I want to enumerate all of the values within a given registry subkey (for example 'HKLM\Software\Microsoft\Windows\CurrentVersion\Run')
Does anyone have any code samples for this?
Thanks
-
Thanks - I managed to find this which worked great:-
http://williamfaulkner.co.uk/2009/04/vbnet-run-as-administrator-impersonate-a-user-2008/
-
I need to write an app that will stop and restart a service on a domain controller. The app needs to be usable by all domain users without making them run as.
Therefore, I want to have the...
-
I have an application that gathers data from a SQL database that is used by a 3rd party helpdesk application.
My application is pulling out information of the number of hours worked by each...
-
Yes - in SQL Management Studio, it connects with RC\networkadmin.
I've since changed and used the sa account and it now connects OK...
-
Hi all,
I'm trying to write a small app that will connect to our SQL database and run a small query.
However, my first stumbling block is the connection to SQL.
The SQL is on a server called...
-
Does anyone know of any good tutorials for creating Excel Addins?
Thanks
-
I have searched and found a fair few pages but they all relate to VS 2005 and VS 2008 only.
What I need to do, using VS 2010, is connect to an Access 2000 (mdb) database.
I then need to access...
-
I have a routine to find the PID of a running application. What I need to do, is search the memory in use by that process for a text string.
How can I do this?
Thanks
-
Is there any way of accessing a file on a partition that has no drive letter (such as a hidden or recovery partition)?
-
The whole point is that I don't want to use CONNECTION_NAME because that assumes that a VPN connection has already been created AND that it matches CONNECTION_NAME - I want to avoid this scenario.
-
Rather than use an Entry name of an existing VPN connection, is it possible to connect to a remote network by creating a temporary connection on the fly by using the remote IP/Host name, username and...
-
Here's how I do it from a comma delimited text file:-
Dim Array1(-1) as string, Array2(-1) as string, Array3(-1) as string
Dim sr As New System.IO.StreamReader("C:\Test.txt")...
-
If I use a routine to open a file in read/write mode, but don't close it again until my code exits, then that file will be locked.
Is there any way, that I can run multiple instance of my app, and...
-
Yes - because I am creating RDP files and these are the API calls that the TS Client software uses to decrypt the password hashes.
-
Could anyone tell me how to use the CryptProtectData and CryptUnProtectData functions of crypt32.dll in a VB 2010 application?
Thanks
-
Is it possible to get a list of usernames (as shown in Control Panel->Users) on the PC that my app is running on? If so, is it then possible to determine the type of account (i.e. Admin, Standard AND...
-
I can't do that because FileToolStripMenuItem is obtained from s(0) so what I need to say is:-
s(0).Text=s(1)
But that doesn't work...
-
Thanks for the reply. Is there a way to get this to work for Menu items as well?
I can add
FileToolStripMenuItem.Text="File" but if I use the code in the post above to set the text, I get an...
-
I have an array - call it test() for arguments sake.
The contents of the array are:-
test(1)="button1"
test(2)="OK"
test(3)="button2"
test(4)="Cancel"
What I want to do is take the first...
-
I have NO idea on how to do that - I've never done anything with localization before...
-
I have an application that I have developed in English only. I have been asked by several users of this application if I can add some functionality for localization (basically, some of the users are...
-
Following on from this....
Is it possible to return the index number of the selected item rather than the text?
|
Click Here to Expand Forum to Full Width
|