Indigo Rose Software
  #1  
Old 09-28-2005
cpell cpell is offline
Forum Member
 
Join Date: May 2005
Posts: 6
I need help with ComboBox

I have a ComboBox, and i want to run some application when de user select a item.

Sample:

When Word is select, and i click OK button then run word.exe
When Nero is select, and i click OK button then run nero.exe


Could someone help me with the script?

Thanks!! and sorry for my english.
Reply With Quote
  #2  
Old 09-29-2005
Derek's Avatar
Derek Derek is offline
Indigo Rose Customer
 
Join Date: May 2001
Location: 51.501296|-2.700963
Posts: 1,205
Hi

There is an example provided for the combo box in the following thread:

http://www.indigorose.com/forums/showthread.php?t=13116

hope this helps
__________________
-
- Derek
- ["All glory comes from daring to begin" - fortune cookie]

IR WebHelp: AMS6 SUF7 VP2 TU2
Reply With Quote
  #3  
Old 09-29-2005
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Woo Hoo, people are starting to reference my examples! YES!!
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
Reply With Quote
  #4  
Old 09-29-2005
cpell cpell is offline
Forum Member
 
Join Date: May 2005
Posts: 6
Thanks, i saw that but i want something different, not to jump to page like that example, i need to run .exe when i click OK and i cant do that :(
Reply With Quote
  #5  
Old 09-29-2005
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Hello,

The concept is exactly the same. You want to perform a task based on information from the combobox.

In the following example, there is a combobox. Items are added to the combobox at runtime (code is found on the On Show event of the page). This way the pathing is dynamic (The _SourceFolder variable is used).

The rest of the code can be found on the button's On Click event.

Hopefully this gets you started.

Regards.
Attached Files
File Type: apz Run Program From Combobox.apz (18.5 KB, 63 views)
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
Reply With Quote
  #6  
Old 09-29-2005
Roboblue's Avatar
Roboblue Roboblue is offline
Forum Member
 
Join Date: Dec 2003
Posts: 888
If you just want to open a file with the default app for the file's extension (ex: .doc) then use a File.Open action.

If you want to run a specific application such as Word or Arcrobat Reader, then you use a File.Run action.

To do either more professionally, you should do a dependencies check before offering the choice.
Reply With Quote
  #7  
Old 09-30-2005
cpell cpell is offline
Forum Member
 
Join Date: May 2005
Posts: 6
Ohh my God!! thanks!! now is working!!! It is my first project and im very happy to find people helping me!! Thanks!!!

Now only i must include a something asking if really wants to install that

Thanks again, u are really nice!!!

Sorry for my english!!
Reply With Quote
  #8  
Old 09-30-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Hey, great news. Nice job!
Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need ComboBox To Update Image Object octane6228 AutoPlay Media Studio 5.0 2 09-21-2006 01:10 AM
ComboBox problem andrewr AutoPlay Media Studio 5.0 5 05-06-2005 10:49 AM
ComboBox display current pjhiggins AutoPlay Media Studio 5.0 4 05-21-2004 01:14 PM
combobox quizzer dulux1309 AutoPlay Media Studio 5.0 3 04-06-2004 03:12 PM
Spotlight: ComboBox Object Plugin Desmond AutoPlay Media Studio 5.0 2 03-02-2004 02:10 PM


All times are GMT -6. The time now is 07:02 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software