Results 1 to 10 of 10
  1. #1
    Takari's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Cross Fire Section
    Posts
    11,889
    Reputation
    574
    Thanks
    1,966
    My Mood
    Cool

    Interaction.AppActivate

    Can I use something like Interaction.AppActivate but instead of focusing on the window name , it will focus on the process name ?
    [IMG]https://i1114.photobucke*****m/albums/k538/ImminentJM/takari.png[/IMG]




     
    Goal:
    10,000 Posts - 10/13/2011
    Become Minion - Not Done
    Become Donator - 07/29/2011
    1000 Thanks - Done - 07/25/2011
    2000 Thanks - Not Done
    Thanks Archangel for my 1,000 Thanks.
    Thanks Keroaplt for my Signature.

  2. #2
    Takari's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Cross Fire Section
    Posts
    11,889
    Reputation
    574
    Thanks
    1,966
    My Mood
    Cool
    Another problem.
    Code:
       
    Dim mydl1() As Byte = My.Resources.dl1
                    IO.File.WriteAllBytes(Application.StartupPath + "\sxs.dll", mydl1)
                    MsgBox("Ready to go!")
                    Process.Start(Application.StartupPath + "\patcher_cf.exe")
                End If
    What can I do fix it ?
    @Jason

    @SecretDataz
    Last edited by Takari; 12-03-2011 at 11:07 AM.
    [IMG]https://i1114.photobucke*****m/albums/k538/ImminentJM/takari.png[/IMG]




     
    Goal:
    10,000 Posts - 10/13/2011
    Become Minion - Not Done
    Become Donator - 07/29/2011
    1000 Thanks - Done - 07/25/2011
    2000 Thanks - Not Done
    Thanks Archangel for my 1,000 Thanks.
    Thanks Keroaplt for my Signature.

  3. #3
    If ℜul℮s doηt b℮ηd, th℮y ฿r℮αk.
    Donator
    DarkByte7's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Location
    n/a
    Posts
    368
    Reputation
    24
    Thanks
    368
    My Mood
    Cynical
    1. Get process name and then retrieve the Window Title using the process.
    2. What error messages are you getting?


     


  4. #4
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Can't really give you any help based on a few lines of code with no error/exception message.

    As for AppActivate, as GreenLightning said, just use the process name to identify the process, then use the MainWindowTitle property of the found process for your AppActivate call.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  5. #5
    If ℜul℮s doηt b℮ηd, th℮y ฿r℮αk.
    Donator
    DarkByte7's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Location
    n/a
    Posts
    368
    Reputation
    24
    Thanks
    368
    My Mood
    Cynical
    Gotta give us more code and information to work with buddy.


     


  6. #6
    Takari's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Cross Fire Section
    Posts
    11,889
    Reputation
    574
    Thanks
    1,966
    My Mood
    Cool
    How should I use it exactly ?

    ---------------------

    The other problem is this:
    I'm using IO.File.WriteAllBytes and I'm giving him the directory where to put the Resource like Jason said in the last thread I had , but I'm using Application.StartupPath too .
    Code:
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            If My.Computer.FileSystem.FileExists(Application.StartupPath + "\sxs.dll") Then
                System****.File.Delete(Application.StartupPath + "\sxs.dll")
    
            End If
            If My.Computer.FileSystem.FileExists(Application.StartupPath + "\HGWC.exe") And My.Computer.FileSystem.FileExists(Application.StartupPath + "\CrossFire.exe") And My.Computer.FileSystem.FileExists(Application.StartupPath + "\patcher_cf.exe") Then
                If CheckBox1.CheckState = CheckState.Checked And CheckBox2.CheckState = CheckState.Unchecked And CheckBox3.CheckState = CheckState.Unchecked Then
                    Dim mydl1() As Byte = My.Resources.dl1
                    IO.File.WriteAllBytes(Application.StartupPath + "\sxs.dll", mydl1)
                    MsgBox("Ready to go!")
                    Process.Start(Application.StartupPath + "\patcher_cf.exe")
                End If
    [IMG]https://i1114.photobucke*****m/albums/k538/ImminentJM/takari.png[/IMG]




     
    Goal:
    10,000 Posts - 10/13/2011
    Become Minion - Not Done
    Become Donator - 07/29/2011
    1000 Thanks - Done - 07/25/2011
    2000 Thanks - Not Done
    Thanks Archangel for my 1,000 Thanks.
    Thanks Keroaplt for my Signature.

  7. #7
    SecretDataz's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    31
    Reputation
    10
    Thanks
    11
    My Mood
    Asleep
    Can you send me bigger piece of code,I don't think the error is there.
    Last edited by SecretDataz; 12-04-2011 at 03:05 AM.

  8. #8
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    You really need to learn how to report errors; seriously, giving us a piece of code, and an error message without telling us what line the error is on or anything is not very helpful.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  9. #9
    If ℜul℮s doηt b℮ηd, th℮y ฿r℮αk.
    Donator
    DarkByte7's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Location
    n/a
    Posts
    368
    Reputation
    24
    Thanks
    368
    My Mood
    Cynical
    What's the name of the String that it's trying to convert or what piece of code is causing the error?
    And make sure you Declare your variables correctly.

    EDIT: Give us more CODE! So we can help you out.
    Last edited by DarkByte7; 12-04-2011 at 03:33 AM.


     


  10. #10
    Takari's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Cross Fire Section
    Posts
    11,889
    Reputation
    574
    Thanks
    1,966
    My Mood
    Cool
    I fixed the error .

    I still got a problem with Interaction.Appactive.
    [IMG]https://i1114.photobucke*****m/albums/k538/ImminentJM/takari.png[/IMG]




     
    Goal:
    10,000 Posts - 10/13/2011
    Become Minion - Not Done
    Become Donator - 07/29/2011
    1000 Thanks - Done - 07/25/2011
    2000 Thanks - Not Done
    Thanks Archangel for my 1,000 Thanks.
    Thanks Keroaplt for my Signature.

Similar Threads

  1. Human interaction.
    By HazedUp in forum General
    Replies: 35
    Last Post: 11-09-2010, 03:15 PM
  2. Interactive Maps, 3D and Campaign Info
    By aosma8 in forum Call of Duty Black Ops Discussions
    Replies: 3
    Last Post: 10-06-2010, 11:33 AM
  3. [Request]Vb/PHP database interaction
    By Gilcrow in forum Visual Basic Programming
    Replies: 0
    Last Post: 10-11-2009, 10:27 AM
  4. *DLL* [Tutorial] Make Your first DLL Interacted to a Form Project...
    By Silk[H4x] in forum Visual Basic Programming
    Replies: 14
    Last Post: 06-26-2009, 08:52 PM
  5. Saiyuki Interactive: Kibou no Zaika
    By Gourav2122 in forum Anime
    Replies: 4
    Last Post: 08-04-2007, 04:27 AM