|
||||||
| General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Hi all... im new around here and im looking for a way to do something:
i have 2 executable files, but i only want to allow 1 to be executed directly. That file will have an option to call the other executable file. I've seen that around many times, and when ppl try to run the blocked file they'd get a message: To run abc.exe you must go through xyz.exe (this is just an example). Can anyone help me with this? Thanks in advance and i hope to learn a lot from you guys. |
| Sponsored Links |
|
|
|
|||||
|
One of the tricks that I use is to require a specific parameter on the second executable. If the executable is not called with that parameter, it immediately closes.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Programming is a branch of mathematics. |
| Sponsored Links |
|
|
|
|||
|
you can do this by checking if the first exe file is running in your second exe file.
__________________
http://www.upredsun.com **Easily and automatically build tcp-based or udp-based network protocol source code** |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows XP Tricks & Tips!!!!..new ones. | pranky | Tutorials | 9 | 08-23-2008 04:22 PM |
| Batch File Help | ineedhelp | General Programming | 4 | 11-15-2007 08:04 PM |
| text file manipulations in vb6.0 | Ronin_paes | Visual Basic Programming | 3 | 06-11-2007 05:54 AM |
| Python 2D array question | annannienann | Python | 3 | 04-23-2007 05:36 PM |
| File I/O (newbie question) | ntmurphy | C and C++ | 4 | 04-04-2007 03:30 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 98%