Results 1 to 10 of 10
  1. #1
    SpongeBox's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed

    Need help launching

    Hey i need help launching the game lol im using Microsoft visual studio and how can make a press of a button start combat arms??... This is really starting to piss me off im using C++..

  2. #2
    wassup40's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    I dont know help me
    Posts
    2,238
    Reputation
    28
    Thanks
    790
    My Mood
    Lurking
    Lol just make a shortcut on your desktop or Process.start("Combatarms.exe")
    somthing like that..

  3. #3
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    1. Located Combat Arms folder
    2. Run Combat Arms.

  4. #4
    austen407's Avatar
    Join Date
    Dec 2007
    Gender
    male
    Location
    Virginia
    Posts
    87
    Reputation
    10
    Thanks
    10
    My Mood
    Amazed
    try
    Code:
    Shell "C:\Nexon\Combat Arms\CombatArms_Direct.exe"
    Woops My Code Was For VB.NET Not C++ Srry :S
    Off Topic:

    CodeDemon Go Visit Your Visitor Messages I Need Your Help...

  5. The Following User Says Thank You to austen407 For This Useful Post:

    SpongeBox (10-20-2010)

  6. #5
    SpongeBox's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    Alright so.. i double click to edit the program.. and it says

    private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {



    }

    in the curley brackets, what am i supposed to put?... i have another button redirecting to a website..
    Code:
    private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {
    			  this->webBrowser1->Url = (gcnew System::Uri(L"https://Google.com", System::UriKind::Absolute));
    		 }

  7. #6
    pikamew4's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Canada
    Posts
    157
    Reputation
    10
    Thanks
    37
    My Mood
    Devilish
    OMG!!!! You guys are nubs.... try this [php]system("C:\\Nexon\\Combat_Arms\\ComabatArms_Direct .exe");[/php]


    AND put this at beggining

    [php]#include <Windows.h>[/php]
    ]This will be my future MPGH user name
    [MPGH]pikamew4

    w000tttt!!!!!

    2doo-list

    {become a mod on mpgh}[]
    {become admin on MPGh}[]
    {be kicked from combat arms}[]
    {make a private VIP hack with telekill for myslf}mad:
    {meet Dave on MPGH}[]
    {learn c++}
    {become a newb on MPGH}[]
    {become a member on MPGH}[]
    {**** up my profile with a lame picture}[]
    -------------------------------
    Starting PHOTOSHOP CS5

    [IMG]https://i1141.photobucke*****m/albums/n593/pikamew4/MPGH.jpg?t=1286152941[/IMG]

    Status: Working On Pub menu hack with OPK 0_o!!


  8. The Following User Says Thank You to pikamew4 For This Useful Post:

    SpongeBox (10-20-2010)

  9. #7
    Timboy67678's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    87
    Reputation
    25
    Thanks
    80
    My Mood
    Aggressive
    [php]ShellExecute(NULL, "open", "C:\\Nexon\\Combat Arms\\CombatArms_Direct.exe", NULL, NULL, SW_SHOWNORMAL);[/php]

    u will need the header file and the library.

    [php]#include <Shellapi.h>
    #pragma comment(lib,"Shell32.lib")[/php]

  10. The Following User Says Thank You to Timboy67678 For This Useful Post:

    SpongeBox (10-20-2010)

  11. #8
    SpongeBox's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    Lol i Thanks to all.. i can feel it almost there..

    Now it says
    Code:
    Error	1	error C2664: 'ShellExecuteW' : cannot convert parameter 2 from 'const char [5]' to 'LPCWSTR'
    .. Any help please?
    Last edited by SpongeBox; 10-20-2010 at 03:57 PM.

  12. #9
    Timboy67678's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    87
    Reputation
    25
    Thanks
    80
    My Mood
    Aggressive
    Quote Originally Posted by SpongeBox View Post
    Lol i Thanks to all.. i can feel it almost there..

    Now it says
    Code:
    Error	1	error C2664: 'ShellExecuteW' : cannot convert parameter 2 from 'const char [5]' to 'LPCWSTR'
    .. Any help please?
    use
    [php]ShellExecuteA(NULL, "open", "C:\\Nexon\\Combat Arms\\CombatArms_Direct.exe", NULL, NULL, SW_SHOWNORMAL);[/php]

  13. The Following User Says Thank You to Timboy67678 For This Useful Post:

    SpongeBox (10-21-2010)

  14. #10
    SpongeBox's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    Quote Originally Posted by Timboy67678 View Post
    use
    [php]ShellExecuteA(NULL, "open", "C:\\Nexon\\Combat Arms\\CombatArms_Direct.exe", NULL, NULL, SW_SHOWNORMAL);[/php]
    OMG THANK YOU!! I WISH I CAN THANK YOU LIKE BILIGAZILLION TIMES!!!

Similar Threads

  1. [Help Request] Need Help
    By shane11 in forum CrossFire Help
    Replies: 49
    Last Post: 05-03-2011, 04:29 AM
  2. [Help Request] Need help finding a Vindictus injector
    By VpChris in forum Vindictus Help
    Replies: 2
    Last Post: 05-01-2011, 10:51 PM
  3. [Help Request] need help with mod
    By .:MUS1CFR34K:. in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 05-01-2011, 12:40 PM
  4. [Help Request] I need help~~!!!!
    By c834606877 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 1
    Last Post: 05-01-2011, 01:12 AM
  5. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 09:06 PM