User Profile

Collapse

Profile Sidebar

Collapse
jonpfl
jonpfl
Last Activity: Jul 23 '08, 07:43 PM
Joined: Feb 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • The problem is it is the same process. I want the window to be a different process.

    Thx
    jonpfl...
    See more | Go to post

    Leave a comment:


  • jonpfl
    started a topic Opening a new IE window in different process?

    Opening a new IE window in different process?

    All,

    Is it possible to open a new window of IE 7 in a different process? When I use window.open(... ), it does not create a new process.

    I would like to open a new window so it is not tied to the old window so I can start a long process (new window) and it won't interfere with navigation on the old window.

    Thx
    jonpfl
    See more | Go to post

  • jonpfl
    replied to Javascript popup window question
    Yes, it works with that but if I try to put a URL in within our internal web app, it doesn't change until the PDF is created. I am starting to wonder if this is some sort of limitation on Ajax

    Thoughts?...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to Javascript popup window question
    Actually, I looked at the page some more and noticed the menu system is using <a href'=""> all over the place. I tried putting a <a href="">click here</a> on my page and while the PDF was being created, I clicked on the text and the page would not change until the PDF was created. I could manually put the same URL in browser and submit it while the PDF was being created and it worked fine.

    Thx...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to Javascript popup window question
    I wish I had a test page online but this is all internal work at the moment. I do notice that if I am creating a PDF on the server, I can enter an URL for another part of our system w/o using the menus and it works. If I try to navigate with our menus to the same page, it doesn't work.

    I have a feeling something in our menuing system is funky and needs to be looked at. I can put the code up here if you want to look at it (I am fairly...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to Javascript popup window question
    Actually, I changed the callback function to a 'foo'-alert. I now see what is going on. If I start the request and it is processing in the background and I try to go to another website (ie www.google.com) , it lets me (and I assume the request to call the callback function is disregarded by the browser). BUT, if I try to navigate inside my webpage using the menu system someone else devised, it does not allow me to change pages.

    Any...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to Javascript popup window question
    Yes, it is a very large PDF

    I cannot email it because I would have the same problem. When I am in the processing of creating it (~ 1 min), I cannot navigate with the calling window to other pages. Is there a way to do that?

    IE : I am on an asp page and a user clicks a button to create a PDF. I send that request to the server for prcoessing. This process can take upwards of 2 mins and I want the user to be able to...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to Javascript popup window question
    Ok, I put some ajax in my javascript code

    Code:
                http_request = new XMLHttpRequest();
                sURL = "ReportHeading=" + frmCreditReport.ReportHeading.value;
                sURL += "&MeetingId=" + frmCreditReport.MeetingId.value;
                http_request.onreadystatechange = jon;
                http_request.open('POST', "popup_pdf.asp?" + sURL, true);
    ...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to Javascript popup window question
    Now that you tell me this, I think I might want to do it another way (tell me which ones are feasible)

    1) User is on page1.asp and clicks a button to create a PDF. I use javascript to send an async call to the server to start creating the PDF (it is all vbscript with a bunch of stored procs). While the PDF is being created, I assume the user can navigate to page2.asp and do something else, correct? I was thinking that instead of...
    See more | Go to post

    Leave a comment:


  • I am actually using ASPPDF in our current system.

    It is pretty easy to use but you end up doing alot of trial and error when creating PDFs (ie making sure the spacing is correct)

    If you have specific questions, let me know and I will try to answer them

    Thx
    jonpfl
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to Javascript popup window question
    Ok, let me get this straight.

    If I incorporate Ajax on my child/popup to create the PDF, my user is going to be able to go to the parent window and navigate to another page while the child/popup is awaiting a response from the server?

    Sorry if this is a total newbie question but I am new at this.

    Thx
    jonpfl...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to Javascript popup window question
    I have never used ajax before.

    Is there a way to do with just javascript or am I going to have to get ajax?

    Thx
    jonpfl
    See more | Go to post

    Leave a comment:


  • jonpfl
    started a topic Javascript popup window question

    Javascript popup window question

    All,

    I am using javascript (window.open()) to create a popup to do some processing. This popup is going to create a PDF which can take anywhere from 10 secs to 2 mins (alot of backend SQL calls) and I was hoping to use this popup to show the user that something is going on (animated gif) and give them the ability to use the parent window to do other things in our system (while the popup is creating the PDF on the server).
    ...
    See more | Go to post

  • jonpfl
    replied to WScript and ASP question
    Ok, here is my code (very simple)

    Code:
    <%@ Language=VBScript %>
    <% Option Explicit %> 
    
    <%
    Dim WSHShell, WshEnv, sTemp
    Set WSHShell = CreateObject("WScript.Shell")
    Response.Write("Starts here<br/>") 
    
    on error resume next 
    
    %> 
    <pre> 
    <%=now()%> 
    
    </pre> 
    <%
    ...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to WScript and ASP question
    Ok, I am really confused now.

    I have the following code (notice I am only calling "cscript" with no parameters. I would assume it would at least run, right?

    When I log onto my server and go to /windows/system32, I find the cscript.exe file and I verify the settings are there for IUSR_.... and set to Read and Read & Execute.

    What else could be missing?

    This is what I see when...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to WScript and ASP question
    I took some of my code out and now I am getting the following error :

    Microsoft VBScript runtime error '800a0046'

    Permission denied

    /credit_reportin g/maintenance/business_subjec ts/jon.asp, line 11


    Code:
    <%@ Language=VBScript %>
    <% Option Explicit %> 
    
    <%
    Dim WSHShell, sTemp
    Set WSHShell = CreateObject("WScript.Shell")
    ...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to WScript and ASP question
    Ok, I got it working. My admin guy gave read/execute permission to the cscript.exe file in the windows/system32 directory.

    Now, when I try to execute the script from the server, it creates the file as expected. When I try to create the file via the ASP page, it completes but the file does not get created.

    Thoughts?
    jonpfl
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to WScript and ASP question
    Ok, I changed my code to this

    Code:
    sTemp = "cscript " & server.MapPath("\credit_reporting\maintenance\business_subjects\jon_test.vbs")
    'WSHShell.Run server.MapPath("\credit_reporting\maintenance\business_subjects\jon_test.vbs"), 1, true
    WSHShell.Run sTemp
    and I get the following :

    Starts here


    7/9/2008 2:49:26 PM
    ...
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to WScript and ASP question
    If you can give me some code you have working for WScript, I can try copying it into my pages to see if it works for me.

    Thx
    jonpfl
    See more | Go to post

    Leave a comment:


  • jonpfl
    replied to WScript and ASP question
    Yes, I tried putting one line in the vbs page and it still hung (Dim Mail)

    These are the two pages I have now :

    jon.asp
    Code:
    <%@ Language=VBScript %>
    <% Option Explicit %> 
    
    <%
    Dim WSHShell, WshEnv
    Set WSHShell = CreateObject("WScript.Shell")
    Set WSHEnv = WSHShell.Environment("Process")
    WSHEnv("SEE_MASK_NOZONECHECKS")
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...