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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Ouch

  1. Ouch

    ADSI recursive groups

    I have sussed the authenticated bind stuff and now it works like a dream. thanks to r l mueller for some fantastic code.. <% username = "MyUsername" password = "MyPassword" strusername = "adf\" & username strGrpPassed = false group = "gISStaff" Dim objGroupList, objUser, strDN On Error...
  2. Ouch

    problems with CreateObject

    Is it being run on a different machine? using word.application relies on the users having word installed on their machine
  3. Ouch

    ADSI recursive groups

    Thanks, that seems to do the job when i run it from my machine. But our ldap servers require an authenticated bind and i am calling this from a web page any idea how i would pass the credetials before doing the getobject("LDAP:") I Have the credetials Cheers
  4. Ouch

    edit a text file

    Set objFSO = CreateObject("Scripting.FileSystemObject") 'input text file Set objTF = objFSO.OpenTextFile("test.txt") 'output text file Set f = objFSO.OpenTextFile("output.txt",2,true) do while not objTF.AtEndofStream vText = "" for i = 1 to 4 vText = vText & objTF.Readline next 'i...
  5. Ouch

    VBS with DB Application

    First thing you will need to do is create a connection to the database, see http://www.4guysfromrolla.com/webtech/faq/Databases/faq4.shtml this will run you throu the basics of connecting and retrieving your field data.
  6. Ouch

    edit a text file

    This should do the trick, test.txt is the file name located in to same folder as the script. i have just got it to put the results in a message box Set objFSO = CreateObject("Scripting.FileSystemObject") Set objTF = objFSO.OpenTextFile("test.txt") vText = "" do while not...
  7. Ouch

    ADSI recursive groups

    Hi all, I am writing a script to check if a users is a member of a group recursivly. i am trying to pick up which groups are in a group so i can find out if my user in linked to any of these groups but isMember() only seems to return users? has anyone done any recursive group checking? e.g...
  8. Ouch

    Jar file in WEB-INF\lib

    Hi All, i know next to nothing about tomcat but i am trying to learn. I have set up tomcat and i can run the sample jsp's and i have writen some basic jsp's that work fine. I want to write a page that uses a class thats in a jar called VistaSDKClient.jar the class is called...
  9. Ouch

    XMLHTTP post form data

    Hi all, i have this code of a kb article from MS i am trying to send multiple form feilds via XMLHTTP the below code shows me how to send on field... how do i send multiple feilds? eg DataTopSend + &quot;Id=1 Name=fred age=62&quot; <% DataToSend = &quot;id=1&quot; dim xmlhttp set xmlhttp =...
  10. Ouch

    Rendering xml file with XSL

    How do i directly pas the files to the processor?
  11. Ouch

    Rendering xml file with XSL

    Hi all I have a simple xml dbfile that i want to render using an xsl stylesheet, at the moment in order to get it to work i have to put <?xml-stylesheet type=&quot;text/xsl&quot; href=&quot;Catalogue.xsl&quot;?> at the top of the file. the problem i have is that i dont produce the file, is...
  12. Ouch

    AD &amp; dont Inherit Folder Permission

    I use xcacls from the resource kit and that does it.
  13. Ouch

    request.form 100kb limit?

    you could writ a session vaiable or a cookie ' to set a session variable on your first page session(&quot;mysessionvarname&quot;) = myvar 'to request a session variable on you second page mynewvar = session(&quot;mysessionvarname&quot;) or you could write a cookie ' to set a cookie on your...
  14. Ouch

    VB script to javascript conversion

    Can anyone assist me converting this simple vbscript to javascipt? i know nothing about javascript <% '=========================================== '== Here are the variables you can customise '=========================================== AppTitle = &quot;Testing&quot; AppUsername =...
  15. Ouch

    Left hand Search Window

    i sorted it... target= &quot;_main&quot; get me back to the main window

Part and Inventory Search

Back
Top