Open program and then file with c++

Open program(multisim) and then .mst file with c++

Page 1 of 1

2 Replies - 1726 Views - Last Post: 05 January 2007 - 11:25 AM Rate Topic: -----

#1 JorikR  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 05-January 07

Open program and then file with c++

Posted 05 January 2007 - 09:47 AM

Hi!

At school we use a program, multisim. But this .mst files we make with it can only be opened from the program. When u just open them like that it doesn't work.
Now i want to make a website for the school where u can just click on a link and the file opens. So, my question is, does any one know a good source code which first opens the program(multisim) and afterwards opens the .mst file from the program?? I don't know a lot about c++, only the basics so this would be a big help!!

Thanks,

Jorik.

Hoi!

Op school gebruiken wij een programma, multisim. Nu deze .mst bestandjes die je hiermee maakt kan je enkel vanuit het programma openen. Wanneer je ze gewoon opent krijg je een foutmelding.
Nu wil ik een site maken voor het school waarbij wanneer je op een link klikt dit bestandje toch vanzelf opent. Nu is mijn vraag, kent er iemand een goede source code waarmee je eerst het programma(multisim) opent en dan vanuit dat programma het .mst bestandje opent?? Zelf ken ik nog niet zo heel veel van c++, enkel de basis, dus dit zou een grote hulp zijn...

Alvast héél erg bedankt,

Jorik!

Is This A Good Question/Topic? 0
  • +

Replies To: Open program and then file with c++

#2 JorikR  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 05-January 07

Re: Open program and then file with c++

Posted 05 January 2007 - 11:23 AM

This way it does work but i wouldn't know how to put it in sourcecode : http://jrp.no-ip.org...20werktie%20wel
Was This Post Helpful? 0
  • +
  • -

#3 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: Open program and then file with c++

Posted 05 January 2007 - 11:25 AM

Check the system() command....you should be able to use to launch your program and the file.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1