[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 07-17-2003, 03:19 PM   #1 (permalink)
NamePros Member
 
Join Date: Jan 2003
Posts: 53
81.00 NP$ (Donate)

Rhino1616 is an unknown quantity at this point


Can I use Javascript or Special Bat file to launch apps?

Hi,

My CD presentation made in Swish (Its like Flash) & WinXP is giving me a little problem, Adams_UK helped me out (thanks ) but I still cant get it to work. I have 3 different file formats for the viewer to choose & download. If I use the gotoURL command, it immediately sets off the Windows default pop up window "Possible harmful file...etc" which looks bad. I've read you can use a batch file & FS commands to launch 3rd party apps in Swish & avoid the windows default pop-up window.

So I tried that & liked 99% of it, it launches the app perfectly, but a little DOS pop up window pops up for about 10 secs stating d:>Start filename.doc, & then it disappears. I think this looks unprofessional. Ive tried opening the batch file in Win XP & altering batch file: close on exit/ minimize but it dosent seem to work. I set up a very simple mock up of my example with a fake word doc file, could someone plase take a look & tell me if they can get it to work without the DOS window. My file is for download at:

http://uniteddistributorscanada.hypermart.net/

If none of this can work does anyone know if I can use Javascript in my Swish CD to launch apps, and how i would do it.

Thank you for your time
Rhino1616 is offline  
Old 08-16-2003, 05:48 AM   #2 (permalink)
New Member
 
Join Date: Jul 2003
Posts: 9
14.00 NP$ (Donate)

IndigoPixel is an unknown quantity at this point


It is unlikely that you'll be able to use JavaScript to launch an app ... JavaScript is built so that it doesn't have much (=any) power to do anything outside a browser environment. You could try ActiveX controls or Java ... ActiveX will work only on Windows environments, however.
IndigoPixel is offline  
Old 08-18-2003, 08:59 AM   #3 (permalink)
NamePros Member
 
Join Date: Jan 2003
Posts: 53
81.00 NP$ (Donate)

Rhino1616 is an unknown quantity at this point


Thanks for the info IndigoPixel
Rhino1616 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 06:30 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85