| |
cricks
Posts: 5
Score: 0
Joined: 2/15/2005
From:
Status: offline
|
I am passing a value from a aspx (using vb) to a .vbs this is the code on the first page I am using to call the 2nd page Response.Redirect("PrintJobDesc.vbs\\PublicJobDescPath") Here is the receiving code Dim Word, Doc, URL Const wdDialogToolsSpellingAndGrammar = 828 Const wdDoNotSaveChanges = 0 URL = WScript.Arguments Set Word = CreateObject("Word.Application") Set Doc = Word.Documents.Open(URL) Doc.PrintOut(False) doc.Close Word.Quit the variable is not getting to the receiving page, but I have verfied that it has the correct value on the sending site. I feel like it is my syntax, but I haven't a clue what I am doing wrong.[?]
|
|