Problem solved by tsuji in VBScript Forum! Thanks tsuji, you rock! He solved it using an escape character. I didn't even know there was an escape character for LDAP.
Here is resolution for your convenience:
Hello Armstrong,
Try this.
strNamValue = "LastName\, FirstName"
regards - tsuji
Thanks a million tsuji! I did not know that the backslash was an escape character in LDAP!! That worked flawlessly. Where did you find that infomration, or how did you learn that?
Thanks again, I really appreciate your expertise and assistance.
Best Regards,
Armstrong
Hi all,
I am trying a simple LDAP Query to get "Last Password Change" from 2000 Active Directory and I am having a problem passing the CN since it is using the display name which contains a comma. Here is my code:
'strNamValue = "PLAINUSER"
strNamValue = "LastName, FirstName"
'NT...
Hi all,
I am trying a simple LDAP Query to get "Last Password Change" from 2000 Active Directory and I am having a problem passing the CN since it is using the display name which contains a comma. Here is my code:
'strNamValue = "PLAINUSER"
strNamValue = "LastName, FirstName"
'NT AccountName...
SUBJECT: Obtain Default Gateway From Remote System?
All,
I know you can do this via IPConfig |find "Default Gateway" via RCMD, but this is not sufficient. I also know that there is a SetGateways Method of the Win32_NetworkAdapterConfiguration Class, but there is no 'Get', 'List' or 'Show'...
Never mind. I figured out how to accomplish this via VBScript FileSystemObject for logic, then 'shelling' out to "BEMCMD" to dynamically configure and launch the job depending on the resource-owner combination. Thanks for reading.
GEA
Greg Armstrong
A+ MCSE+I :)
Good day Group,
I have an Active/Active SQL Cluster that has 2 'Drive Resources on each physical node. One for Logs(TRN)and the other for Data(BAK). There are also 2 'virtual SQL instances' on each. Each of the resources can 'float' between either server so, L: can live on node1 or node2, and...
Whichever system has your modem connection (dial-up adapter) should be the host. I had mine setup to use my ME system as the host and a 98 box as the client. Greg Armstrong
A+ MCSE+I :)
What are the valid (non-reserved) Event IDs that I can use for my application to write to the NT Application Event Log?
TIA Greg Armstrong
A+ MCSE+I :)
Here is a link to check your BIOS settings against, for quick reference. http://www.hardocp.com/reviews/mainboards/msi/k7tpro2/index2.html Greg Armstrong
A+ MCSE+I :)
The first thing that I would do is to confirm the jumper settings on the motherboard for UDMA/Bus Speeds and verify that all settings in BIOS are correct. Greg Armstrong
A+ MCSE+I :)
Good morning,
Sounds like you may have a hardware/driver conflict. See the MS Q article @ http://support.microsoft.com/support/kb/articles/Q101/0/96.asp Also, make sure that you are using all of the proprietary OEM drivers for your drive controller, motherboard on-board hardware etc. I have...
Does anyone know what the Range of available Event Log IDs is for NT when writing to the Event Logs? I cannot seem to locate the information on Microsoft's Website! Now that the Shock and Suprise of that last statement has worn off, thanks in advance for responses. Wish the Keyword Search...
Does anyone know what the Range of available Event Log IDs is for NT when writing to the Event Logs? I cannot seem to locate the information on Microsoft's Website! Now that the Shock and Suprise of that last statement has worn off, thanks in advance for responses. Wish the Keyword Search...
You could try using Instr to search each readline for the segment you are looking for. Or you could use the Trim commands to get rid of trailing space.
sStrng2Find="10ms TTL=120"
Do Until oTxtStream1.AtEndOfStream
sStrng2Srch=oTxtStream1.Readline
If Instr(11...
You can try DynaZip or some other third-party software that will do this. Just curious did you try PKUnzip using quotes around the LFN (Long FileName)? Don't know if that would work. Good Luck! Greg Armstrong
A+ MCSE+I :)
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.