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

  1. kurtmo5

    XSLT WHILE LOOP

    I want to loop through an XML file five times. What is the best way to go about this?
  2. kurtmo5

    window.open() Maximized?

    This function accepts a url which then is opened by the window.open(). How can I get this window to be full size or maximized? Thanks a lot. <script language="javascript"> function openPop(url); { window.open(url); } </script>
  3. kurtmo5

    Permission Denied Error

    Yes it is in the popup window.
  4. kurtmo5

    window.opener problem

    I am trying to update the parent window by closing the child window. It gives me a permission denied error when the button is clicked. <script> window.opener.location.reload(); window.opener.focus(); </script>
  5. kurtmo5

    Permission Denied Error

    I am trying to close the current window and reload the opener window. When the function performs I receive an error: permission denied. What would be causing this? Any help is appreciated.
  6. kurtmo5

    Collection of TextBoxes

    How do I create a collection of textboxes so I can loop through them?
  7. kurtmo5

    using wscript.shell

    file://central1/file.doc
  8. kurtmo5

    using wscript.shell

    This is what I have but it still opens in a maximized view. It is almost as if the statement is terminated after the file name is opened. This is an external js that I am calling from an asp page. Sub openDocument(file) Set oShell = CreateObject("Wscript.Shell") oShell.Run Chr(34) & file...
  9. kurtmo5

    Wscript.Shell meanings

    what if I left the 1, true out of the code?
  10. kurtmo5

    Wscript.Shell meanings

    thanks a lot
  11. kurtmo5

    Wscript.Shell meanings

    What does the 1, true stand for? Sub openDocument(file) Set oShell = CreateObject("Wscript.Shell") oShell.Run file, 1, true End Sub
  12. kurtmo5

    convert external js to script within an asp page

    I was still getting the error message. I just figured out my problem. When inserting the script within the page I needed to add the <% %> tags around the script and this seemed to make the script functional. When using the external.js there was no need for them. Would this make sense?
  13. kurtmo5

    convert external js to script within an asp page

    yes it reads the extension and then opens the appropriate application with the filename being opened
  14. kurtmo5

    convert external js to script within an asp page

    Response.Write("<script language=\"vbscript\">"); Response.Write("<br>sub openDocument(file)</br>"); Response.Write("<br>set oShell = CreateObject(\"Wscript.Shell\")</br>"); Response.Write("<br>oShell.Run chr(34) & file & chr(34)</br>"); Response.Write("End Sub"); Response.Write("</script>");
  15. kurtmo5

    convert external js to script within an asp page

    Nope, that didn't work. Maybe I misstated my question. I need to use this exact code(if possible). The only problem is when I place the Response.Write(""); and include the script inside these the error occurs.
  16. kurtmo5

    convert external js to script within an asp page

    Here is the code I need to replace but using Response.Write commands. It works fine as an external file but when entered into the ASP then it gives me errors. What do I need to do? Thanks. Sub openDocument(file) Set oShell = CreateObject("Wscript.Shell") oShell.Run chr(34) & file &...
  17. kurtmo5

    Opening an application by passing a file name

    Thanks PH, it works beautifully. Just wondering what the Chr(34) & actually does. Also I am running other calls that run this sub that pass file names with 0 spaces in them. Will this effect those filenames opening at all? thanks again!
  18. kurtmo5

    Opening an application by passing a file name

    Below is my code. It works fine when I pass a file in without any spaces in the name; however, when a filename has a space in it, it quits reading the filename at the space and never executes. I could I pass the filename in so it reads the space as part of the filename. It is passed using a...

Part and Inventory Search

Back
Top