15,909,498 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by ShakalX (Top 30 by date)
ShakalX
22-May-18 16:25pm
View
I have another question. To search for a file in all folders and subfolders. I'm trying like this. but that does not work. Just find the file if by the way full path folder.
string[] ext = new string[1] { "*.CSB" };
foreach (string found in ext)
{
string[] extracted = Directory.GetFiles("C:\\ProgramData", found, System.IO.SearchOption.AllDirectories);
foreach (string file in extracted)
{
Console.WriteLine(file);
MessageBox.Show(file);
}
}
like this work
string[] ext = new string[1] { "*.CSB" };
foreach (string found in ext)
{
string[] extracted = Directory.GetFiles("C:\\ProgramData\\NewCBProg", found, System.IO.SearchOption.AllDirectories);
foreach (string file in extracted)
{
Console.WriteLine(file);
MessageBox.Show(file);
}
}
ShakalX
22-May-18 11:57am
View
Deleted
thanks.
ShakalX
22-May-18 11:55am
View
Very thanks.
ShakalX
20-May-18 14:25pm
View
work if use SearchOption.TopDirectoryOnly, but i if i need "ASCF" or "1SCF" ? Possible use if Contains?
ShakalX
20-May-18 12:43pm
View
i try but no work. =/
ShakalX
10-May-18 20:48pm
View
Well, I use to load the form show because it is an online file and I want it to load after the load. The problem is that I can not use the data it loads from xml to the textbox. If we say it was a link and I use System.Diagnostics.Process.Start (Code1.text), being that in Code1.Text has www.google's error.It says it can not find the file.Even though it has loaded from xml in But if I delete the textbox and write www.google works, so I do not understand the problem. Sorry my english
ShakalX
10-May-18 18:47pm
View
Hi. Thanks for responding. I'm using Application.DoEvents (); because this xml load is Form1_Shown so it will not crash the load. What happens is that xml data loaded in textBox.text can not be used. says the textbox is empty.
But if I write the same text that was already in the textbox works. I also can not copy the text from the textbox and paste it into it. but if I write the same text and copy and paste works.
ShakalX
30-Apr-18 10:29am
View
No work. Is not this what i want.
ShakalX
3-Apr-18 22:28pm
View
Thanks for help. it work. =)
ShakalX
3-Apr-18 10:49am
View
Hi. Thank you, but I'm an apprentice. I do not quite understand these things. I thought I could use the base script to do the encript. For it must have few modifications to make.
ShakalX
2-Apr-18 18:21pm
View
low scan
private void button2_Click(object sender, EventArgs e)
{
string Scan1Aob = ("?? 00 00 00 FF FF FF FF 00 E1 F5 05 00 00 00 00 01");
string Scan2Aob = ("11 00 00 00 FF FF FF FF 00 E1 F5 05 00 00 00 00 01");
button2.Text = "10%";
Application.DoEvents();
Aobscan.ReadAOB(Scan1Aob);
button2.Text = "80%";
Application.DoEvents();
if (Aobscan.WriteAOB(Scan2Aob))
{
button2.Text = "ON";
System.Media.SystemSounds.Beep.Play();
}
else
{
System.Media.SystemSounds.Hand.Play();
MessageBox.Show("OPS-ERROR");
button2.Text = "OFF";
}
}
normal scan
private void button4_Click(object sender, EventArgs e)
{
string Scan1Aob = ("02 00 00 00 00 00 00 00 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00 ?? ?? 00 00 ?? ?? 00 00 ?? ?? 00 00 00 00 00 00 ?? ?? ?? ?? ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01");
string Scan2Aob = ("02 00 00 00 00 00 00 00 ?? ?? 8F F3 12 03 00 00 ?? ?? ?? ?? ?? ?? 00 00 ?? ?? 00 00 ?? ?? 00 00 ?? ?? 00 00 00 00 00 00 ?? ?? ?? ?? ?? ?? 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01");
button4.Text = "10%";
Application.DoEvents();
Aobscan.ReadAOB(Scan1Aob);
button4.Text = "80%";
Application.DoEvents();
if (Aobscan.WriteAOB(Scan2Aob))
{
PauseResumeProcess.ResumeProcess(pid);
button4.Text = "ON";
System.Media.SystemSounds.Beep.Play();
}
else
{
PauseResumeProcess.ResumeProcess(pid);
System.Media.SystemSounds.Hand.Play();
MessageBox.Show("OPS-ERROR");
button4.Text = "OFF";
}
}
ShakalX
2-Apr-18 9:47am
View
its ok. ^^
ShakalX
1-Apr-18 11:51am
View
My problem is that I do not know how to implement this. Where can I find a freelancer to do this for me?
I'm an apprentice yet.
ShakalX
31-Mar-18 12:26pm
View
oh thanks =) So can you start on how much?
ShakalX
10-Mar-18 12:24pm
View
but I can not get the pid of the latest process? Then kill it.
ShakalX
10-Mar-18 12:06pm
View
Hi. Thanks for the reply. What I want to do is get the PID of the process my program will start in case. System.Diagnostics.Process.Start ("chrome.exe", "http://www.youtube.com"); and after a few seconds give kill on that PID of this window only. But I do not know how to make it work.
ShakalX
27-Nov-17 12:43pm
View
thanks =)
ShakalX
27-Nov-17 12:43pm
View
thanks
ShakalX
16-Aug-17 15:43pm
View
Hi. I'm an apprentice. I just wanted to be able to do the same thing as the delphi script does in C #. It clicks with the left mouse button even though the window is in the background. And I can do other things on the pc over the window that is being clicked that continues clicking on it normal.
ShakalX
16-Aug-17 10:10am
View
ok.
ShakalX
16-Aug-17 9:54am
View
Hello. It's not the same question. This question is about converting delphi to C #. Only that.
ShakalX
15-Aug-17 15:55pm
View
Weird. Because in delphi it has and works perfect mouse click on minimized window and I can continue using other applications in pc = /
ShakalX
15-Aug-17 15:10pm
View
Yes, that would be it. Click on minimized window. So let's say I wanted to use it without minimizing it but in the background and continuing to click only on that window and the specific coordinates while browsing other applications?
ShakalX
29-Jun-17 17:58pm
View
I did not understand the grace. I'm just trying to make a programm for me to play with. And I came to ask for help. Only that. Anyway thanks for the information. And yes I know how to use ollydbg.
ShakalX
28-Jun-17 18:20pm
View
Well it does not matter much what I'll do only how to do. But it's alright. I already have. In a more complicated way. But it worked. Thanks for the answers.
ShakalX
28-Jun-17 15:10pm
View
There is nothing dangerous. It is only pausing a process to load a code into the process memory. A cheat for a game. Only that. But it needs to be paused to allow time to inject before the game opens. o.O
ShakalX
28-Jun-17 14:49pm
View
Yes that's where I found it, but I do not know how to use = /
ShakalX
27-Jun-17 13:16pm
View
Hello Yes. The first with ContentLoading class it reads from resouces, but only adds the last line of the strings of the text file.
The last one I put that gives you the folder is what works the way I want it. I just want this to be the resouces. = /
ShakalX
27-Jun-17 12:44pm
View
private void Form1_Load(object sender, EventArgs e)
{
StreamReader sr = new StreamReader(@"\file.txt");
string x = sr.ReadToEnd();
string[] y = x.Split('\n');
foreach (string s in y)
{
comboBox2.Items.Add(s);
}
Hi I found this and this works perfect for what I want, but that way the file stays in the program folder and I need it to stay in the resources. I know little about C # if it can help me in an example. Thank you very much.
ShakalX
27-Jun-17 12:31pm
View
Is not it. I need to get the strings from within the txt file and add the combobox. But txt is in the resources.
Show More