Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 22:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



hilfe bei Environment.GetFolderPath-Methode

Discussion on hilfe bei Environment.GetFolderPath-Methode within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2010
Posts: 6
Received Thanks: 0
hilfe bei Environment.GetFolderPath-Methode

bin neu in diesem bereich hab aber etwas grunderfahrung mit java etc

bin gerade dabei mit c# was gegen das gema virus zu coden

soweit klappt alles aber da die gema.exe in nem systemordner ist (%AppData%) hab ich ein exeption problem


hier mein teilcode


try
{
Process firefox = Process.GetProcessesByName("gema")[0];
firefox.Kill();
}

catch { }




string user = System.Environment.UserName;
string path = @"c:\user\" + user + @"\AppData\Roaming\";
string[] folders = System.IO.Directory.GetDirectories(path);
path = folders[0] + @"\";

string path1 = path + "gema.exe";






bin schon mal soweit gekommen das ich nun weiß dass ich es per Environment.GetFolderPath-Methode machen muss hab aber kein plan wie ich das machen soll kann mir bitte wer helfen
verpeilt2007 is offline  
Old 03/17/2012, 13:07   #2
 
elite*gold: 50
Join Date: Mar 2010
Posts: 1,373
Received Thanks: 521
nicht :

sondern :
jacky919 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[HILFE] Wie macht man aus Stallbursche nen Shop (one_click methode geht nicht)
08/10/2010 - Metin2 Private Server - 12 Replies
Hallo COM, Wie die Überschrift schon sagt brauche ich eine Anleitung dafür, wie man aus dem Satlli einen Shop macht ;D Hilft mir bitte. Danke im Vorraus
German Guide for bot with new environment in old Patch
02/12/2008 - CO2 Guides & Templates - 8 Replies
Bin mir nicht sicher ob man hier english schreiben muss also auch wurst! Ich habe Herausgefunden wie man trotz der neuen Umgebung mit dem alten patch Boten kann. 1. Kopiert euren Conquer Ordner. 2. Patch euer Conquer nun auf die neuste version. 3. Patch es wieder runter 4353 . 4. Dann patch es auf 4354 . 5. fügt die datein wie z.B COToBo usw. wieder ein (macht es so das er nicht wieder hoch patchen tut wenn ihr startet.)



All times are GMT +1. The time now is 22:09.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.