I am running a coldfusion application that calls a .htm program (written
by a third party) that will sit on the clients computer not the server.
I am currently using VBScript in my coldfusion App which requires
ActiveX to be enabled for it to work. Problem is some clients have rules
set up that does not allow them to enable ActiveX. Anyone know of
another way??? Code is below.
<Script Language=VBScript>
Function readThis(fileSpec)
Set WshShell = CreateObject("WScript.Shell")
Set objEnv = WshShell.Environment("Process")
Dim driveVal
Dim navigateVal
driveVal = objEnv("iSoft_e222_AmeridoseSUP")
navigateVal = driveVal & "\icssvr_pur\Tcm\mb_outbox_search_api.htm"
Set fso = CreateObject("Scripting.FileSystemObject")
Set objExplorer = CreateObject("InternetExplorer.Application")
with objExplorer
.Width=678
.Height=400
.Left=50
.Top=50
.Visible=true
.Toolbar=0
.menubar=0
.statusBar=0
.navigate navigateVal
end with
End Function
</Script>
<td>
<input type="button" value="Electronic 222"
onclick="readThis('C:\\AmeridoseSUP\\icssvr_pur\\Tcm\\mb_outbox_search_a
pi.htm');" />
</td>
</CFIF>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315602
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4