User Profile

Collapse

Profile Sidebar

Collapse
Demon4231
Demon4231
Last Activity: Dec 1 '09, 02:07 AM
Joined: Dec 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Demon4231
    started a topic Reading XML nodes

    Reading XML nodes

    I have a XML file that stores information about an application I am trying to read and it looks like this:

    Code:
    <Data>[INDENT]     <Login UserName="Username" Password="Password"/>
         <Application Name="AppName1" Key="Key1" Owner="Owner1"/>
         <Application Name="AppName2" Key="Key2" Owner="Owner2"/>
         <Application Name="AppName4"[/]
    ...
    See more | Go to post
    Last edited by PRR; Sep 23 '09, 01:24 PM. Reason: Code tags added.

  • Demon4231
    started a topic How do you find the class name?
    in .NET

    How do you find the class name?

    How do you find a programs ClassName? I used:

    Code:
    private void button2_Click(object sender, EventArgs e)
    {
    string lpClassName = "Notepad";
    string lpWindowName = "Untitled - Notepad";
    IntPtr hWnd = FindWindow(lpClassName, lpWindowName);
    SetForegroundWindow(hWnd);
    string z = "TEXT";
    const int WM_SETTEXT = 0x0C;
    SendMessage(hWnd, WM_SETTEXT, IntPtr.Zero,
    ...
    See more | Go to post

  • Demon4231
    started a topic Need help with placing text into exe with C#
    in .NET

    Need help with placing text into exe with C#

    I know C# is not the best program to use but it's the only one I know...sorta. Anyways I am making a program that holds CD-keys for my games and I want to be able to press a button on the Form and it inserts it into the boxes where the key is supposed to be entered. I asked on another forum and they said they you have to 'hook' the application. How would I do this? Could you give an example?



    Thanks,
    ...
    See more | Go to post
No activity results to display
Show More
Working...