Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

sbscb

@sbscb
About
Posts
7
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Ctrl+A short key in listview Box
    S sbscb

    for(int i = 0; i < listView1.items.count; i++) listView1.setSelected(i,true); Use the above loop to select each item.

    C# question tutorial

  • How to store variables in C# exe file?
    S sbscb

    I want to store dynamic variables in a exe file (C#), that I can access [mostly just strings] to read or write. I was using the Application Settings class but it apparently saves the files in Application Data but I want my exe to take the values from the form and write them to itself or store them inside the executable file so that when I send the file to someone else it will have the preferences stored without having to do anything. If this is not possible is there any way of making a C# builder application that will ask for variables and then create a new exe file with the variables pre-stored? Thanks :)

    C# csharp tutorial question

  • Hide or make my peocess invisible in task manager?
    S sbscb

    You can do that I believe but the last time I simply used SendMessage to the process with a special code and it made it invisible. I know the code was published somewhere but I still can't find it.

    C# question

  • Hide or make my peocess invisible in task manager?
    S sbscb

    I'm 100% sure it can be done because I have done it before in C# but don't have the full code but it has something to do with using APIs and sending a message to the process ID which causes it to be hidden in the task manager, here is the c++ project: Driver to Hide Processes and Files[^]

    C# question

  • Hide or make my peocess invisible in task manager?
    S sbscb

    I want to make my program invisible in the task manager while it runs some background functions to later be returned to the visible state in the task manager, since I don't want the user to kill the process while it is still working. I know there is a project already on here somewhere which runs in the system tray and lists all processes and has a button that can make a process invisible to the task manager but I don't remember the link to it on this site.

    C# question

  • [How] Screen reading for automation tasks?
    S sbscb

    I see many programs do this, they read the screen using bitmap and screencapture and interpret the results. I got the code to capture screen using C#, and have converted to bitmap, but the only usable method is getPixel(int x, int y). For example here is some of my code: Bitmap bt = (Bitmap)image1; //assume image1 is the screen capture output String p = bt.getPixel(50, 100).toString(); which returns a string containing some information in RGB format, now I do a if statement: if(p == "some reference RGB") return true; else return false; Now as you can see this method takes a long time to first capture screen, convert to bitmap, read pixel of bitmap, compare it to reference, and return boolean. I was wondering if there was an easier way using API methods of the GDI32 dll file, that makes this easier and faster or whether its always slow. How do "auto" programs work? I would like some information if anyone can help me please. :-D My source is always free, so support my applications. MAx.

    C# csharp graphics testing tools json

  • How do I access the pixels on the screen to read them?
    S sbscb

    I wanted to write some code or use a library to take the screen as an array of pixels and to locate a specific pixel by x-y axis of the screen, so for example I am running a program on the side which displays its output as graphics, like a card game, now I want to read the cards, in order to do this I will have to read the pixel at a specific location and see if it matches with a different array to "figure" out which card was displayed, and then have the program take the appropriate action. For example if it is poker and the cards are good to press a button to call/raise instead of folding and vice versa. Basically I need to read the screen, or a window and interpret the visual state.

    C / C++ / MFC question graphics game-dev data-structures tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups