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 strongm 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: *

  • Users: AlexTekTip
  • Order by date
  1. AlexTekTip

    Checking for Empty Elements in Javascript--Help!!

    How do I check if an element of an XML document is empty? I have the following code in Javascript: var vSubA = vAgsXml.document.getElementsByTagName("_f8"); vSubA = vSubA[0].firstChild.data (This line errors out when element _f8 is empty; I guess because you can't assign something that does...
  2. AlexTekTip

    Working with Empty Elements..Help!

    How do I check if an element of an XML document is empty? I have the following code: var vSubA = vAgsXml.document.getElementsByTagName("_f8"); vSubA = vSubA[0].firstChild.data (This line errors out when element _f8 is empty I guess because you cant assign something that does not exist). Is...
  3. AlexTekTip

    Query Help: records in table X but not in Y.

    nevermind... select x.item from table1 a where item not in (select unique item from table2)
  4. AlexTekTip

    Query Help: records in table X but not in Y.

    I have two tables (X and Y). They both have column ITEM. Y.ITEM must exist in X.ITEM X.ITEM does not need to exist in Y.ITEM I need a query that will give me a list of X.ITEM's not in Y. Thank You.
  5. AlexTekTip

    Help Parsing CDATA

    I have an xml data document that I need to parse that involves CDATA sections. How do I go about it? I need to specifically parse the two CDATA section that currently hold "TEST" in them (See below). Thank YOU!! <?xml version="1.0" encoding="ISO-8859-1" ?> - <Report cgidir="/cgi-lawson/"...
  6. AlexTekTip

    Help calling &quot;advapi32.dll&quot; from ASP

    Have an example? Or a website that discusses it? Anyway, I was able to get what I needed by using the servervariables("LOGON_USER") but it would be nice to know several methods. Thanks.
  7. AlexTekTip

    Help calling &quot;advapi32.dll&quot; from ASP

    Hello, I have the following snippet of code, which in VB gives me the current network login. I am trying to migrate the code to asp so I can use it from a web page. When I call my asp page the web server returns an error: Technical Information (for support personnel) Error Type: Microsoft...
  8. AlexTekTip

    Help !! Server.CreateObject Returns HTTP 500.100 /ASP 0177

    I am getting the above error based on the line below: Set objSvrHttp = Server.CreateObject ("Msxml2.ServerXMLHTTP.4.0") I suspect that XML SDK is not installed on the server. Is there a quick way to check if it's installed? Or does this error point to some other problem? Error Type: Server...
  9. AlexTekTip

    Getting network username

    Thanks for the quick response. But will this actually get me the client network login? 1. We have a client computer which user uses to browse the web and is part of corporate network requiring logon (NT Authentication or LDAP). 2. We have a server computer which serves the asp page (may or...
  10. AlexTekTip

    Retrieve Username

    Hi, Did you ever make any progress on this? I think you and I are trying to accomplish the same thing. Get the NT/WIN2K login Id from via an ASP page. Thanks.
  11. AlexTekTip

    How to use ADVAPI32.dll

    Did you ever make an headway on this? I think you and I are trying to do the same thing. Thanks.
  12. AlexTekTip

    Getting network username

    Hello, Using ASP/Vbscript. Is it possible to determine the network login of the current user? In other words. Can I create an ASP page that when requested will display the NT username of the person who requested the page? I know this can be easily done using VB and the win32 API...
  13. AlexTekTip

    Obtaining network info from Javascript?

    Hello, Is it possible to get the currently logged on windows user using javascript(or jscript)? I know VB has the ability to call the Win32 API library "advapi32.dll" to get that sort of info. Is it possible to do the same thing with Javascript? Thanks.
  14. AlexTekTip

    Help...regexp...how do I match more then once on same line

    I figured it out "/g
  15. AlexTekTip

    Help...regexp...how do I match more then once on same line

    I need to parse through a html source formatted document looking for e-mail addresses. The html is ugly and one line can have more then one e-mail address. How do I get the program to print out every match one one line? Currently it only prints out the first match it encounters and then goes...
  16. AlexTekTip

    Turn gredy matching off

    Hello, I am trying to extract anything that looks like: mailto:some_one.me@dom_main.com"> my regex looks something like this: /mailto:[a-zA-Z0-9_\.]+\@[a-zA-Z0-9_\.]+\"\>/ Given the abobe expression how would I turn off greedy matching? do I just enclose the whole thing in paranthese and...
  17. AlexTekTip

    MS Patch Causing error &quot;Method 'send' of object 'IXMLHTTP....'&quot;

    Our IT dept recently installed some MS Patches. And now two of my VBA apps (which were working great before this) are spitting out the following error: Error Number = -2147221020 Method 'send' of object 'IXMLHTTPRequest' failed. I am not sure what to do..do I need re-install something? undo...

Part and Inventory Search

Back
Top