How to attached or call the application to my project?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Thread: How to attached or call the application to my project?

  1. #1
    Join Date
    Jan 2012
    Posts
    14

    How to attached or call the application to my project?

    hello everyone, good day!

    i had a project which is an online game injector which is already up and running as of now, but my problem is that i want to attached another program and add it on my current project..is it possible that i will only call it on the application that i made inside the injector form and make a button and call form there? i appreciate any suggestions and comments..thank you in advance..^_^
    Share on Google+

  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,813

    Re: How to attached or call the application to my project?

    I'm really not sure what you are trying to ask.. "attached another program" ????

    If you are asking how to launch another program from your then you can do this a few different ways. Have a look at Process.Start
    Always use [code][/code] tags when posting code.
    Share on Google+

  3. #3
    Join Date
    Jan 2012
    Posts
    14

    Re: How to attached or call the application to my project?

    @datamiser, i mean i will launch another program from my current project.i did not failed calling windows system programs like msword, etc... but when i try another program like temporary files cleaner, i've encountered a bit difficult on the path location.any suggestions..thank you.
    Last edited by mattburnz; February 17th, 2013 at 02:54 AM.
    Share on Google+

  4. #4
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,813

    Re: How to attached or call the application to my project?

    If you showed how you were trying to do it then someone may be able to point out your problem but without some code I have no idea what you may or may not have done.
    Always use [code][/code] tags when posting code.
    Share on Google+

  5. #5
    Join Date
    Jan 2012
    Posts
    14

    Re: How to attached or call the application to my project?

    @datamiser, this only a portion of my current project which is compose of two buttons: 1st button is to download the attached ardamax remover.exe file from direct download hosting site and put it on drive c:\ 2nd button is to call the ardamax remover.exe an additional program to launch...

    Code:
    Imports System.Net
    
    Public Class Form1
    
        Public WithEvents zerowarez As WebClient
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            zerowarez = New WebClient
            zerowarez.DownloadFileAsync(New Uri("http://uploadingit.com/file/view/yqcipffrtnow0dnw/aklremover.exe"), "C:\aklremover.exe")
            Button1.Enabled = False
        End Sub
        Private Sub zerowarez_DownloadFileCompleted(ByVal sender As Object, ByVal e As System.ComponentModel.AsyncCompletedEventArgs) Handles zerowarez.DownloadFileCompleted
            Timer1.Interval = 50
            Timer1.Start()
            Timer1.Enabled = True
            Button1.Text = "Ardamax Remover"
        End Sub
    
        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
            System.Diagnostics.Process.Start("c:\aklremover.exe")
        End Sub
    End Class
    Last edited by mattburnz; February 17th, 2013 at 09:02 PM.
    Share on Google+

  6. #6
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,813

    Re: How to attached or call the application to my project?

    What problem are you having exactly?

    What Operating system?

    Windows Vista and above will not let you write to the root of the drive.
    Always use [code][/code] tags when posting code.
    Share on Google+

  7. #7
    Join Date
    Jan 2012
    Posts
    14

    Re: How to attached or call the application to my project?

    Error:Win32Exeption was unhandled.
    The process cannot access the file because it is being used by another process

    Operating System:Windows XP sp3

    I always encounter this type of problem even in my game loader that i'm using direct link to download the file and then put in drive c: the problem that i'm facing right now..
    Share on Google+

  8. #8
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,958

    Re: How to attached or call the application to my project?

    Keylog Remover?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!
    Share on Google+

  9. #9
    Join Date
    Jan 2012
    Posts
    14

    Re: How to attached or call the application to my project?

    @dglienna, yes i want to add keylog remover program on my current project but i'm having errors in calling process.start after i click the button1 download from a direct link hosting..
    Share on Google+

  10. #10
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,090

    Re: How to attached or call the application to my project?

    Sorry, these types of questions aren't allowed on this site. I am closing this thread now.

    Please feel free to continue posting other unrelated problems, or helping with members' posts.

    Hannes
    Share on Google+

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center