User Tag List

Results 1 to 5 of 5

Thread: Launching a program not working - hopefully simple!

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Launching a program not working - hopefully simple!

    Hi all,

    I have made a simple admin menu program for work. It all works, but one of the options is to launch snippingtool.exe . This is located in c:\windows\system32\snippingtool.exe

    I launch it via button press.

    For some reason this doesn't work! I can launch mstsc.exe in the same folder without issues.

    Any ideas?

    thanks

    edit: must be a windows thing? I found out you can also access it in C:\Windows\Sysnative\snippingtool.exe and it works now =D

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    One other question - i want to add a function where you can launch a tool to check an IP address.

    I've been messing around for a bit but no joy. I guess i could launch cmd, but i can not seem to get whatever i type into a text box to import straight into the command prompt. Any ideas?

  3. #3
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    You can use my technique here to write variables and a batch file directly from your app/game and launch it...
    http://community.clickteam.com/threads/72697-Copy-Directory-(XCopy-Batch-File-NO-Extensions)

    With regards to IP addresses, you can achieve this with ipconfig but it's restricted to local IP only. If you want to query the external IP you'd have to use a 3rd party extension or ping a server and GET the result.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks ill take a look. I'm not so fussed about the pinging anymore, but it would be nice to write batch files straight from mmf2 to a computer. Your example seems easy enough to follow.

    I've actually been testing a few things today and as most people will be running my software from a networked drive i thought i could just have a folder on the drive with a bunch of batch files for doing different things such as a batch file for launching a remote desktop file (example.rdp) which automatically logs into a server. Does anyone know if there could be issues with multiple people running the same .exe? I noticed my app crashed once but not sure the reason why.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, it does appear if more than one person is running the exe at a time, the program seems to crash - as in it will not exit the program. Any work arounds for this? I can only say people would need a make a copy of the exe themselves and run it of their machines.

Similar Threads

  1. First time working with text editor and making a program
    By vinsin in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 23rd March 2013, 08:15 PM
  2. My test program isn't working very well...
    By Nifflas in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 7th May 2011, 07:35 AM
  3. Simple Database Program help ^^
    By Aqib in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st August 2008, 12:25 PM
  4. Run program and aplication not working
    By Beginier in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 11th January 2008, 09:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •