User Profile

Collapse

Profile Sidebar

Collapse
Spippo
Spippo
Last Activity: Feb 5 '08, 04:21 PM
Joined: Nov 13 '07
Location: World --> Europe --> Belgium --> Limburg --> Peer
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Spippo
    replied to Changing a memory value.
    in .NET
    Nope, still doesn't return anything and i stays 0
    See more | Go to post

    Leave a comment:


  • Spippo
    replied to Changing a memory value.
    in .NET
    no, the variable 'i' is always 0
    See more | Go to post

    Leave a comment:


  • Spippo
    replied to Changing a memory value.
    in .NET
    OK, I found something that works for writing into the memory:

    To use the C/C++ functions I called these parts:
    Code:
    [DllImport("kernel32.dll")]
    public static extern Int32 CloseHandle(IntPtr hObject);
    [DllImport("kernel32.dll")]
    public static extern IntPtr OpenProcess(UInt32 dwDesiredAccess, Int32 bInheritHandle, UInt32 dwProcessId);
    [DllImport("kernel32.dll")]
    public static
    ...
    See more | Go to post

    Leave a comment:


  • Spippo
    replied to Changing a memory value.
    in .NET
    Yes, I already thought it would be unsave. Writing directly into a programs memory, but any idea how to do this?
    See more | Go to post

    Leave a comment:


  • Spippo
    started a topic Changing a memory value.
    in .NET

    Changing a memory value.

    Hi all,

    I'm trying to create a trainer for a flash game.
    I have an AxShockwaveFlas h component to play the flash game in a windows form.
    With an other program (cheat engine) I found the memory place of the money-value in the game.
    How can I change this value in C# .NET? When I click a button for example.

    Thanks
    See more | Go to post

  • Spippo
    replied to plz help in c#
    in .NET
    It might also be usefull to use the observer design-pattern.
    This will help you with a lot of security problems and double-code
    See more | Go to post

    Leave a comment:


  • Spippo
    started a topic Suggestion: Splitting the .NET forum

    Suggestion: Splitting the .NET forum

    Hello,

    Wouldn't it be nice if the .NET forum is splitted into 2 items.
    .NET contains mainly 2 items:
    - Asp .NET webpages
    - Windows applications (in C#, ...)

    In the .NET forum are a lot of posts of both parts. This is kind of confusion.
    If you look at the subject of a post, you don't know if it's ASP or a WinApp.
    Though not everybody knows a lot about both parts.

    Just a sugg...
    See more | Go to post

  • Spippo
    replied to Redirecting
    in .NET
    You can always go up to the parent directory like this:

    ../mainform.aspx
    See more | Go to post

    Leave a comment:


  • Spippo
    replied to Dimension of array
    in C
    Yes, Savage, you are right.
    In the above example, there are 2 2D arrays.

    You can also have arrays with 4 or more dimensions. But you better not use them, because it's hard to visualise how they work.
    In most cases a 3D array is hard, so you better stick with 1D or 2D arrays.

    You can see an array as a list of elements. If you just have 1 element (for example an integer), you can create it as follow:
    Code:
    int
    ...
    See more | Go to post

    Leave a comment:


  • Spippo
    replied to Get an inner-text from a regular expression
    in .NET
    OMG, Thanks a lot.
    I will do as you requested:

    Thanks dear!!!!!!!!

    You are my god
    See more | Go to post

    Leave a comment:


  • Spippo
    started a topic Get an inner-text from a regular expression
    in .NET

    Get an inner-text from a regular expression

    Hello

    Is it possible to retrieve then inner-text from a link with regular expressions?
    For example, I can retrieve all links with regular expressions. With:

    Code:
    string pattern = @"<a href="".*"">.*</a>";
    MatchCollection mc = Regex.Matches(webBrowser1.Document.Body.InnerHtml, pattern);
    
    foreach(object obj in mc)
    {
        Console.WriteLine(obj.ToString());
    ...
    See more | Go to post

  • Spippo
    replied to How to get information from an opened webpage
    in .NET
    Yes, ok.
    That worked great. Thanks a lot
    See more | Go to post

    Leave a comment:


  • Spippo
    started a topic How to get information from an opened webpage
    in .NET

    How to get information from an opened webpage

    Hello,

    I'm making an application which opens a webpage in internet exporer.
    I use the following code to do this:

    Code:
    ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");
    startInfo.WindowStyle = ProcessWindowStyle.Maximized;
    startInfo.Arguments = "www.mywebsite.com";
    Process.Start(startInfo);
    Is there any way to read the content...
    See more | Go to post

  • Spippo
    replied to How to add a stringformat in app.config
    in .NET
    Hi,

    Thanks for the quick reply.
    It did work correctly, I made a mistake in my program.

    I did have a problem with the newline '\n', this was just display as the text "\n" and not as a newline.
    I solved this by replacing '\n' with {5} and set the sixth parameter as "\n".

    Thanks
    See more | Go to post

    Leave a comment:


  • Spippo
    started a topic How to add a stringformat in app.config
    in .NET

    How to add a stringformat in app.config

    Hi,

    I want to create a string with string.format, but the format must be editable.
    Therefor i want to add the format in app.config and read it from the program and enter the correct values in it.

    This is my app.config-file:
    Code:
    <?xml version="1.0" encoding="utf-16" ?>
    <configuration>
      <appSettings>
        <!-- SimpleMailAddin settings -->
    ...
    See more | Go to post
No activity results to display
Show More
Working...