AceBIT

Support Forum
It is currently Sun Oct 12, 2008 6:15 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Handling Response on computer without internet
PostPosted: Mon Sep 10, 2007 4:30 pm 
Offline
Rookie
Rookie

Joined: Mon Sep 10, 2007 4:13 pm
Posts: 1
We try to built a survey that will run on a laptop in a promotional vehicle. We want to cumulate the result on the computer. The computer will not have an internet connection to send the email and we do not want to ask the user to enter a filename for the .ANS file.

Somebody have an idea to help us?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 10:35 am 
Offline
User
User

Joined: Thu Oct 30, 2003 4:35 pm
Posts: 4
Hello,

Yes, it is possible to run Interview.exe with pre-defined input .sur and output .ans filenames. Just run from the command line
Interview.exe <SURVEY_FILENAME> <OUTPUT_ANS_FILE> and user will not be prompted.

Using Interview.exe with command line parameters maybe difficult so I would recommend you to create the following script:

1) Open Notepad.exe and copy into it the code:

set objFSO = CreateObject("Scripting.FileSystemObject")
i = 1
s = i & ".ans"
do while objFSO.FileExists(S)
i = i + 1
s = i & ".ans"
loop
set wshell = CreateObject("WScript.Shell")
s = "Interview.exe " & "demo.sur" & " " & s
wshell.run s

2) Replace in the above code "demo.sur" with the name of your actual survey file and save the file as Survey.vbs in the same directory where Interview.exe and your survey file are located.

3) In order to run the survey, just double-click on the file Survey.vbs (or create a shortcut to that file on your desktop). It will launch Inteview.exe with correct parameters.

All the answers will be stored as unique files with names 1.ans, 2.ans, 3.ans,.... etc in the same directory as Interview.exe. Later you will be able to import all them into your database, corresponding to that survey.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group