[Help]Current Application Place[solved]

Posts 17 of 7 · Page 1 of 1
[Help]Current Application Place[solved]
Well i am working still on my semi Loader now i want that he Opens like a Injector in the Place where the Semi Loader is now.

Like

Process.Start("CurrentApplicationPlace, Injector.exe")

So i can put the Injector hidden in the same folder where the Loader is.

Thanks
Application.Startuppath
Quote Originally Posted by Sydney View Post
Well i am working still on my semi Loader now i want that he Opens like a Injector in the Place where the Semi Loader is now.

Like

Process.Start("CurrentApplicationPlace, Injector.exe")

So i can put the Injector hidden in the same folder where the Loader is.

Thanks
Application.StartupPath returns the directory in which your executable is !!

Process.Start(Application.StartupPath)
Quote Originally Posted by Hassan View Post


Application.StartupPath returns the directory in which your executable is !!

Process.Start(Application.StartupPath)

And how can i use it now with a Injector that it opens the Inejctor that is by the Loader ?

Thanks
process.start(application.startuppath & "\injector.exe")

???

...

[php] Private Sub FileFromResource(ByVal resource, ByVal outputDir)
Dim bArray() As Byte = resource
Dim fStream As New IO.FileStream(outputDir, IO.FileMode.OpenOrCreate)
Using bWrite As New IO.BinaryWriter(fStream)
Dim i As Integer = 0
Do Until i = bArray.Count
bWrite.Write(i)
i += 1
Loop
End Using
End Sub [/php]
Works thank you...
Marking as solved. You all know the rules. Break them I start closing threads
Posts 17 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?