Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. FengShui1998

    msExchMobileAllowedDeviceIDs

    Hello, I need to get a list of device ID's from Active Sync in Exchange using VBScript and Active Directory. I don't have Exchange permissions os I can't use thee Exchange powershell tool which would be real easy. But I believe this attribute is available in AD. msExchMobileAllowedDeviceIDs...
  2. FengShui1998

    CSRF and ASP tokens

    Hello, I need some ASP examples on how to prevent cross site request forgery or CSRF. Most of the examples I have seen are for ASP.NET, but alas, I am still on ASP Classic. Does anyone have any samples on how to implement tokens also? Thank you in advance. fengshui1998
  3. FengShui1998

    SQL columns

    Hello, I have an SQL query that returns alot of columns from several tables. In object result, I can access some columns such as PIN = objRs("PIN") or other column names. However when I try to access another column like phone = objRs("Phone") the ASP page blows up. In VbScript, I have no...
  4. FengShui1998

    LDAP server

    Hello, Does anyone have any examples on how to authenticate to a non-Active Directory LDAP server using VBscript? Thanks, fengshui1998
  5. FengShui1998

    SOAP request

    Hello, Does anyone have any vbscript samples on how to form a SOAP request and read the response back using username and password? Thanks for the help! fengshui1998
  6. FengShui1998

    SOAP Requests

    Hello, Does anyone have any vbscript samples on how to form a SOAP request and read the response back using username and password? Thanks for the help! fengshui1998
  7. FengShui1998

    ASP page needs to connect to an SQL under a different user context

    Hello, I have an ASP page that used to connect to an SQL database with an SQL login. For security purposes, they have disabled the SQL logins and now they are requiring a domain login. Now I can't run an query with the SQL login. Is there a way I can spoof a domain\username to the SQL database...
  8. FengShui1998

    Comparing a SQL field to a string

    Hello, I have an SQL field called IMEI that contains data "01 353443 3444 555". Is there a way to input a search string "013534433444555" that eliminates the spaces in SQL query and finds the record "01 353443 3444 555"? Thanks ahead, fengshui1998
  9. FengShui1998

    Get DISTINCT OwnerID

    Hello, I have a table with multiple entries for devices where the DEVTYPE = 'iPad' or DEVTYPE = 'iPhone' and each record has the OwnerID. An owner can have multiple records. I'd like to pull just the OwnerID whether they have and iPad or an iPhone. I am using DISTINCT however it's returning all...
  10. FengShui1998

    Webservice login with username and password

    Hello, Does anyone have any sample VBScripts on how to request a web service or WSDL using a username and password? Thanks ahead, fengshui1998
  11. FengShui1998

    Using Distinct

    Hello, In Table A, I have a column called OwnerID that is unique. In Table B, I have multiple records of different OwnerIDs and purchases. I'd like to list the distinct OwnerID from Table B and match them with Table A. THanks ahead, fengshui1998
  12. FengShui1998

    Record locking

    Hello, I am doing an INSERT on a table that creates a RecordID. After the INSERT, I would like to prohibit anyone from deleting that record, but still be able to UPDATE it. Is there a way to DISABLE DELETE or something? Thanks ahead. Fengshui1998
  13. FengShui1998

    Send meeting or appointment

    Hello, IS there a way to send a meeting notice or appointment request using CDO? I have searched and found some but it is using "Outlook.Application". I was interested in using "CDO.Message" Thanks, Fengshui1998
  14. FengShui1998

    DL List from AD

    Hello, I am trying to list the members of a DL in Active Directory. I can run the script fine from VBScript, but when I use it from a function in ASP, I get an error '80072020'. I am thinking this is a permissions problem and my credentials are not being passed to AD using an ASP page. Here...
  15. FengShui1998

    LDAP query

    Hello, I hope someone will be able to help me with an LDAP query. The code below is returning one record, but when I try to display the value of "sn", nothing is returned, but I can see it the the GUI. Does anyone have any ideas? Thanks in advance, fengshui1998 CONST ADS_SERVER_BIND =...
  16. FengShui1998

    ALTER COLUMN

    Hello, I have a column called CREATED that currently has DateTime as its field value. I just learned that I can have it default to the a date time by using the function getdate(). Here's what I have, but it keeps getting an error near DEFAULT when I try to validate the syntax. Thanks for...
  17. FengShui1998

    Creating a trigger

    Hello, I am new to triggers so I need some help. I would like to have the trigger run a vbscript file when a certain field that was blank is now filled with a string. So I believe this would happen on an UPDATE. Can someone help? Thanks ahead. Fengshui1998
  18. FengShui1998

    Reading a .CSV file

    Hello, I am trying to read a .CSV file using the split function. However, some of the data also has a comma in the field. For example, "john Doe", "Seattle, Washington", "Analyst", "Doe, John" Any ideas how to read this in successfully without using the Excel app? Thanks in advance. Fengshui1998
  19. FengShui1998

    Listing from Tables

    Hello, I have two tables, Owners and Devices. The OwnerID referenced in Owners is also the same as in Devices. I'd like to list all devices in the Devices table by the users CorpID, say Mary (2345) I have some knowledge of INNER joins but not sure how to query. Thanks, fengshui1998 Owners...
  20. FengShui1998

    checking if any radio button is checked

    Hello, I have multiple radio buttons, all named the same but with different values. I want to check and make sure at least one has been selected. This works for more than one radio button, but if there is only one radio button, it doesn't work. Here is the code. function getrdo() {...

Part and Inventory Search

Back
Top