dcsimg

Search:

Type: Posts; User: Royal

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    2,575

    Re: Need help with UDP server code

    You could try this instead.


    private void add_log(string text)
    {
    Invoke(new MethodInvoker(delegate { txtLog.Items.Add(text); }));
    }


    However, you're going to still get another...
  2. Replies
    5
    Views
    636

    2.0 Re: Code simplification

    It is the same.

    going to assume you're trying to delete the file though. If that is the case just use File.Delete(path).
  3. Thread: Simple question

    by Royal
    Replies
    12
    Views
    738

    VS 2005 Re: Simple question

    Dim a As String = "<style>"
    a += "BODY{background-color:skyblue;}"
    a += "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
    a +=...
  4. Replies
    1
    Views
    2,013

    Memory Mapped Files

    I'm having a hard time writing a string value to a memory mapped file, I've tried char arrays, byte arrays, and I just can't figure out how to get it to work. The exception I get for all these types...
  5. Replies
    5
    Views
    623

    Re: Porting code from C++

    It's not that I need the pointer, but I have no idea how to do it in C#. The commented code you see there is still C++, I'm trying to use Memory Mapped Files.
  6. Replies
    5
    Views
    623

    Re: Porting code from C++

    Cannot take the address of, get the size of, or declare a pointer to a managed type ('MMFKeyboardControlMapping')


    This is the error I get, MMFKeyboardControlMapping is a struct.
  7. Replies
    5
    Views
    623

    [RESOLVED] Porting code from C++

    I've been working on porting code over from C++, I ported most of the code but I can't seem to manage to get part of it done.


    IntPtr m_MapFile;
    IntPtr m_MapAddress;
    ...
  8. Replies
    2
    Views
    403

    Re: Finding a new listbox Item.

    It's read directly from the memory so even if I do remove it, it will just be added again when the memory is updated.
  9. Replies
    2
    Views
    403

    Finding a new listbox Item.

    I know my title isn't as descriptive as I'd like, couldn't explain it in a title so I'll try to do so here. Anyway what I'm trying to do here is I load chatlines from memory from a game.


    while...
  10. Replies
    13
    Views
    963

    VS 2005 Re: Click Button then write to Text File?

    Try this instead;

    My.Computer.FileSystem.WriteAllText("C:/highscore.txt", TextBox2.Text , True)
    My.Computer.FileSystem.WriteAllText("C:/highscore.txt", TextBox5.Text, True)
    ...
  11. Replies
    18
    Views
    992

    VS 2008 Re: How to..

    Are you trying to compiler the contents of your rich text box into a .pwn or .amx file? If so I can't help you there because I know nothing on the subject.
  12. Replies
    18
    Views
    992

    VS 2008 Re: How to..

    You have to either change the rtb to the name of your richtextbox or change your richtextbox name to rtb.
  13. VS 2005 Re: How to create a HALL OF FAME (High score) system?

    Could also you an ini file which would be more practical then just a text file.
  14. Replies
    18
    Views
    992

    VS 2008 Re: How to..

    Imports System.Runtime.InteropServices
    Public Class Form1
    <StructLayout(LayoutKind.Sequential)> _
    Public Structure PARAFORMAT2
    Public cbSize As Int32
    Public dwMask As...
  15. Replies
    13
    Views
    963

    VS 2005 Re: Click Button then write to Text File?

    You have to specify a path where it is going to save the file at.

    Dim sfd As New SaveFileDialog
    If sfd.ShowDialog = Windows.Forms.DialogResult.OK Then

    ...
  16. Replies
    5
    Views
    511

    VS 2005 Re: how to add two strings

    TimeSpan.Parse(String)
  17. Replies
    13
    Views
    963

    VS 2005 Re: Click Button then write to Text File?

    VB.NET has the My namespace which makes reading a writing to files a lot easier, here is an an example of read and write.


    My.Computer.FileSystem.WriteAllText("path", "text to write",append =...
  18. Replies
    18
    Views
    992

    VS 2008 Re: How to..

    Check this link I believe it will help you,http://www.vbforums.com/showthread.php?t=361704
  19. Replies
    18
    Views
    992

    VS 2008 Re: How to..

    Oh ok, I misunderstood I thought you wanted your code to show the lines, anyway to my understanding the RichTextBox Control does not have support for line numbers. But you can implement your own...
  20. Replies
    18
    Views
    992

    VS 2008 Re: How to..

    Just double click on your form then, you should have the option on right click but double clicking will bring you to the designer too.
  21. Replies
    18
    Views
    992

    VS 2008 Re: How to..

    Click the solution explorer tab; go to the form you want to edit, right click and click view designer. If you don't have Solution explorer on the side of your Visual Studio then go to View > Solution...
  22. Thread: network

    by Royal
    Replies
    2
    Views
    2,247

    VS 2005 Re: network

    You can use the System.Net.Sockets namespace for .net.
  23. Replies
    18
    Views
    992

    VS 2008 Re: How to..

    To have line numbers in VB.NET you have to go to Tools > Options > Text Editor Basic > Editor > Interaction and check Line Numbers.
  24. Replies
    1
    Views
    332

    [2005] Archive File

    Hello,

    I am working on a application that I would like to have a my own archive file with files in it the only my application can read for example files.abc. It doesn't have to be compressed I did...
  25. Thread: [2005] Help

    by Royal
    Replies
    0
    Views
    304

    [2005] Help

    I wasnt to sure what to name the thread. I was trying to figure out how to write and app that will fill in a box on a website or application. I cant figure out how to write text in objects out side...
  26. Replies
    3
    Views
    424

    Re: [2005] Backround image.

    It will only load from the folder in my app which is a Images folder.
  27. Replies
    3
    Views
    424

    [2005] Backround image.

    Okay so i have made a app and as a side option you can change your backround image but i can't get it so when the user changes it and closes the application and runs it again the backround image...
  28. Re: [2005] trainer(memory editing) example(anyone got?)

    yes its not for cheating trust me i am from a community that does not tolerate cheating.
  29. Thread: Help

    by Royal
    Replies
    1
    Views
    485

    Help

    I decided to try ASP.NET i been doing it of the debugger but i decided to get free host and try it from there but when i do i get an error but not when i run it of my computer anyone know why?
  30. Re: [2005] Loading Img intor a picturebox form a FileListBox?

    Sorry i am a little confused
  31. Re: [2005] Loading Img intor a picturebox form a FileListBox?

    Turns out it didnt work maybe the fact that i have a DirListBox as well sorry to bother.
  32. Re: [2005] Loading Img intor a picturebox form a FileListBox?

    Thanks i i knew you would have somthing to say that would help.
  33. [2005] Loading Img intor a picturebox form a FileListBox?

    I thought it was simple but untill i sat there not getting it right thats when it turned from simple to impossible. this is the code i am using


    PictureBox1.ImageLocation =...
  34. Replies
    9
    Views
    786

    Re: MDI / Child form

    put this in your MdiParent_Load

    Form1.MdiParent = Me
    Form2.MdiParent = Me
    Form1.Show()
    Form2.Show()

    I am pretty sure that works i havent done it in awhile.
  35. Re: [2005] trainer(memory editing) example(anyone got?)

    man high6 why not just use the trainer maker kit tutorial on halomods lol, yeah i wanted to make a trainer to but havent seen anything on one
  36. Replies
    9
    Views
    519

    Re: [2005] Simple Question

    Well the one before that worked for me but thanks for the other to but while were here instead of me making a new thread, Anyway now that i have it loading the folders i wanted to make it when the...
  37. Replies
    9
    Views
    519

    Re: [2005] Simple Question

    Thanks man! , but yeah i did want folders instead of files.
  38. Replies
    9
    Views
    519

    Re: [2005] Simple Question

    i want it to add the items in on the form_load, but i dont want the user to add it in i want it to do its self by the folders in the startup path
  39. Replies
    9
    Views
    519

    [2005] Simple Question

    What i want to do is simple but i just cant get it right so i decided to ask. Okay I have a menu strip and in one of the drop downs i wanted to have it so the items are are made from folders in the...
  40. Re: [2005] Help With Archive Compression And Decomp

    Yes i have i am going over the Gzip code right now.
Results 1 to 40 of 48
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width