Calling VB App from ASP

Discussion in 'C#' started by gray d' newbie, Jul 28, 2008.

  1. #1
    Greetings,

    I have developed a VB app which capable to prints the entire folder (since I can't find the code for VBScript). However the main system that I'm currently working on is coded in ASP, hence no matter what I need to somehow call my VB app from an ASP page.

    I am looking for the concept to get this done, best if example is provided.

    Thank you very much!

    P.S. How am I supposed to "Remove" or "Delete" my previous thread in this forum, because my previous problem is considered solved. :p

    Best Regards,
    Gray d' Newbie
     
    gray d' newbie, Jul 28, 2008 IP
  2. VishalVasani

    VishalVasani Peon

    Messages:
    560
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello,

    Check below may help u?

    http://www.eggheadcafe.com/forumarchives/scriptingVisualBasicscript/Dec2005/post25026001.asp
     
    VishalVasani, Jul 28, 2008 IP
  3. gray d' newbie

    gray d' newbie Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you very much in advance. I'll go check on it.
     
    gray d' newbie, Jul 28, 2008 IP
  4. gray d' newbie

    gray d' newbie Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi VishalVasani,

    I tried the solution from the URL you given me. My code is something like this:

    dim oShell
    set oShell = CreateObject("WScript.Shell")
    oShell.run"print"
    WScript.Sleep 2500

    but the page returns error says that the WScript is undefined. How am I supposed to defined it??

    Thank you very much.

    Best Regards,
    Gray d' Newbie
     
    gray d' newbie, Jul 28, 2008 IP