Search results for query: *

  1. G

    Hold space bar

    is there a way to "codely" hold down the space bar for a few secs then let it go?
  2. G

    Capture Screen

    Is it possible to capture the surface of a specific program and turn in into a bitmap (i was thinking GetWindowDC maybe?), even if the program is minimized?
  3. G

    LineTo

    OK......i REALLY need help...ANYONE??? I'm using this code: Dim pn As Integer = CreatePen(0, 2, 5) '13382655 SelectObject(GetWindowDC(0), pn) MoveToEx(GetWindowDC(0), CInt(drawx), CInt(drawy), 0) LineTo(GetWindowDC(0), CInt(drawx + 1), CInt(drawy + 1)) Ok, i'm using Getwindowdc(0)...
  4. G

    Draw On Screen

    Another question, can anyone show me an example of using TextOut? I can't seem to get it to work
  5. G

    Draw On Screen

    Yes, this line is for a full screen game. The line is a actually a bunch of points drawn to make a line. Rite now I'm using ControlPaint.DrawReversibleLine(....) and have it refresh every so and so so it stays on top of the game.....it draws fine....but laggs computer horribly! I'm looking...
  6. G

    Draw On Screen

    OK, i need some fast efficent way to draw on screen, i have a trackbar, and i need whenever this bar's value changes to draw this line on the screen. Not draw on a window, no window, the screen; on top of watever there is. Any ideas? (i tried using LineTo function, but can't get it to work)
  7. G

    Out of Memory

    Solved it. I forgot to update one of the files that's suppose to be decoded, so the program got stuck trying to decode the old file with the new system
  8. G

    Out of Memory

    OK, I'm going crazy. I run this code in a program: Dim s1, s2 As FileStream Dim br As BinaryReader Dim bw As BinaryWriter Dim filename As String If OpenFileDialog1.ShowDialog() = DialogResult.OK Then filename = OpenFileDialog1.FileName EndIf s1 = New FileStream(filename, FileMode.Open...
  9. G

    Data file into image

    thx, i thought by temp = nothing disposed it. It works now. thx again
  10. G

    Data file into image

    OK, here's the problem. I'm trying to read a data file, and read it byte by byte and write it into a .gif file, here's my code: Public Function DecodePicture(ByVal filename As String) As Bitmap Dim s1, s2 As FileStream Dim br As BinaryReader Dim bw As BinaryWriter s1 = New...
  11. G

    About application

    They're r two ways to do that; 1) You can make your application run notepad and open the text file or 2) You can read the text file, load the content to a variable, and then display it somewhere in your application. This is the second method: 'At the very top add: Imports System.IO 'Add...
  12. G

    Setting up directx

    excellent, thx a lot =)
  13. G

    Setting up directx

    Ok, i really need help on this. I installed DirectX 9.0 SDK on my comp, and it works great, i'm developing a game with it. Now, i'm confused about what pple need to install on their computers inorder to run my game. I know they need Framework 1.1, but i don't get what they need for directx (i'm...
  14. G

    bold and italic

    thx, i had actually solved it using a way more complicated way, this is a lot simpler thx =)
  15. G

    exiting DirectDraw

    Hello again, I'm finally getting the hang of DirectX's DirectDraw(very fast compared to GDI). I'm running my application in full screen mode. Everything works alrite but when my application closes....some of the programs i had open meanwhile start acting weird. Is there a specific way i'm...
  16. G

    DirectX 9.0

    i've been there before and it didn't really help me, i would like a tutorial that could explain step by step
  17. G

    DirectX 9.0

    Does anyone know of a good tutorial(s) about game programmin using Managed DirectX 9.0? i've tried to look using google, but i can't find anything decent. hope u can help me
  18. G

    compression

    yeah this is the kind of thing i'm looking for
  19. G

    compression

    Hello, Does anyone know of a good tutorial or something on compression? my goal is to make something kinda like winzip, where u can take a group of files and compress it into 1 file, then decompress bak into several files.... any ideas? Edit: my goal is not really compression, my real goal...
  20. G

    bold and italic

    hello again, i'm working with a richtext box, i can get font to be bold, or italic, or underline.... but i can't get two or more at the same time..... text1.SelectionFont = New Font(text1.Font.Name, text1.Font.Size, FontStyle.bold) i tried.... text1.SelectionFont = New...
Back
Top