![]() |
|
[.NET] Put 2 Files together, add them to startup, make them silent HOW ? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Put 2 Files together, add them to startup, make them silent HOW ? (/showthread.php?tid=3909618) |
Put 2 Files together, add them to startup, make them silent HOW ? - AskMyName - Dec 5, 2013 Heyo, I got 2 mail files + 2 DLL's The main files are 1 exe & 1 batch. The exe mustnt be opened. Just the batch (the batch will start the exe with some commands) All needs to get put together 1 one file, that if the file gets opened, the batch starts the exe in it & uses the DLL files. Also the Features that it runs silent in background & starts with the pc needs to get added. If you can do that, pls post here or PM me :) * - ScΛrƒΛc3_ - Dec 5, 2013 Im not sure about a thing: "the batch starts the exe in it" A .bat wich starts an exe in your stub?!? Btw i can help if you need... * - TazzyOpz - Dec 5, 2013 Ok so create a third app... Take both of your currents apps put them in resources. Upon launching the app have it extract both of the files in resources to a destination on the computer and have it run the .bat first? Shouldn't be hard at all? * - SIM-1456245 - Dec 5, 2013 So probably by what you are saying, you have an application that works with arguments and it uses two dll's and you call it via batch, correct ? If that is true, than just call the app from a vb.net application and follow this tutorial by Madara-Uchina: https://hackforums.net/showthread.php?tid=3762223 to hide the dll's in the application along with the exe. * - jj89XD - Dec 6, 2013 Are you paying for someone to code this? If you are send me a pm :) * - PitLord - Dec 6, 2013 So the first thing you can do is get rid of that .bat and just use vb to run it with arguments, It seems like you are trying to make a silent miner so I'll use one of my old ones for an example. Code Dim startInfo As New ProcessStartInfo("C:\PathToYourFile\Miner.exe")Code startInfo.WindowStyle = ProcessWindowStyle.HiddenCode Process.Start(startInfo)Code Dim startInfo As New ProcessStartInfo("C:\PathToYourFile\Miner.exe")(This is using CudaMiner by the way so the arguments might be different for different miners) |