Search:

Type: Posts; User: outcast24817

Page 1 of 4 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    1
    Views
    567

    Two Mouse Rotation Tilt Sensor

    Okay, I have this idea to turn two USB mice into a single super-mouse that can handle rotation and tilt (to a degree) Bear with me, and my crappy MSPaint skills:
    ...
  2. Re: Sending Images With Winsock

    Thanks, CVMichael. That code worked perfectly.

    Sorry for the delayed reply.
  3. Re: Sending Images With Winsock

    Thanks, CVMichael. I can now send the image, but only the first ~8 KB arrives, do I have to set up my code to handle data coming in chunks, or what?

    Here is the receiving code:
    Private Sub...
  4. [RESOLVED]Sending Images With Winsock

    I am making a multi-user drawing program, when a client connects to the server, the server sends him the current picture as a BMP (I don't need any compression, it's a small image, and it's only...
  5. Re: Classes, UDTs, and inheritance

    Thanks for the class code, CVMichael. it really shed some light on the situation.

    When all else fails, recode the entire thing. I got the UDTs working, i "think" i didnt define the array of...
  6. [RESOLVED]Classes, UDTs, and inheritance

    Hello.

    I seem to be having a problem with my code. I'm trying to load a "level" structure for my game, It has several levels, each with different backgrounds and different objects in different...
  7. Re: [vb] a UDT with an array of UDTs in it

    Ok, I fixed it. It was improper naming, as you guys said. Thanks for the help!
  8. [vb] a UDT with an array of UDTs in it

    I want to know if its possible to use a UDT with an array of UDTs in it, for instance, i have this code:

    Dim Levels() As Level

    'UDTs
    Private Type Object
    Type As String
    XLoc As...
  9. [VB] Checking for other instances of DirectX

    Hello,

    I am working on a VB program that reminds users of various events during the day. However I dont want to disrupt their programs they are using with a nasty 'ol dialog box. For instance: if...
  10. Re: A simple way to add a registry key -help

    Ok, got it working. I used x2fusion's code and added in quotes like so:

    Const QUOTE = """"

    Reg.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\" & App.EXEName, QUOTE...
  11. [RESOLVED] A simple way to add a registry key

    The simplest way I have found to add a key to the registry is by sending commands to cmd, like so


    dim a
    a = Shell("cmd.exe /c reg add...
  12. Replies
    0
    Views
    410

    mschart graphing help

    Hello,
    I am working on predator/prey simulation for school, and need to graph the total number of preditors and prey at the end of each turn.

    So what i want to do is graph 2 lines in a 2d line...
  13. implementing a randomization function without rnd

    so I have code that finds out how much memory my system is using, the system clock, and the % of cpu usage, among other things.

    I am just a little confused as to how I would use all of this...
  14. Re: [VB] Printing a richtextbox to picturebox

    ah perfect, thanks again guys!

    just a note, CVMichael's code has to be run with the picturebox set to VbTwips
  15. Re: [VB] Printing a richtextbox to picturebox

    So how do I add text to the picturebox then?
  16. Re: [VB] Printing a richtextbox to picturebox

    spacing, weather it is bold, italic, underlined, or strikethrough, bullets, fonts... and maybe color...

    also, when I use the common dialog control to open up the font selection menu, it gives me...
  17. [VB] Printing a richtextbox to picturebox

    Is there any way to take text from a richtextbox and transfer it to a picturebox with the formatting intact?
  18. Re: [vb][directx]using GIFs for animated Directdraw surfaces

    yes, i am familiar with that method... the thing is the animation I want actually takes up the entire screen. 1024X786. I wanted a way that would let me have one file, but still not make the surface...
  19. [vb][directx]using GIFs for animated Directdraw surfaces

    I was wondering if there was a way to get the animation of GIFs to combine with directdraw. maybe take apart the GIF and load each frame in a picturebox, then convert them into an array of surfaces...
  20. Replies
    10
    Views
    754

    Re: VB too slow, need a DLL...

    ah, so something like this:


    Dim filecontents() As Byte

    redim filecontents(1 to lof(filename))
    Open App.Path & "\" & FileName For Binary Access Write As #1
    Put #1, , filecontents
    Close...
  21. Replies
    10
    Views
    754

    Re: VB too slow, need a DLL...

    LockWindowUpdate() doesnt work for me... unless i need something else

    so, how would I make lookup tables?
  22. Replies
    10
    Views
    754

    VB too slow, need a DLL...

    I am making a hex editor, specifically one that can strip an exe and find JPGs, BMPs, GIFs, ect.

    The problem is, when i load a file using this code:

    Open CommonDialog1.FileName For Binary As...
  23. Re: playing AVIs with directdraw

    thats ok, I believe I can handle it from here, thanks for the offer, anyway.

    one last question, if the AVI i want to play is DivX encoded. will it still play?
  24. Re: playing AVIs with directdraw

    thats quite a bit of code. does it have to be that complicated, or is there some neato function in directx 8 that covers it all?
  25. [VB][RESOLVED]playing AVIs with directdraw

    is there a way to play AVIs with directdraw? if not directdraw then directx 8, and how?

    oh, and another question
    if a video card doesnt support large surfaces, and the resolution is set at...
  26. Re: [VB][DirectDraw]unloading bitmaps from res files

    anyone?
  27. [VB][DirectDraw]unloading bitmaps from res files

    I have this function that unpacks jpg files in my res file, then loads them into a picturebox and creates a surface using bitblt.

    When I unload my bitmap files though, it leaves out a critical...
  28. Replies
    15
    Views
    852

    Re: pictureboxes within pictureboxes

    works now, thanks guys!

    i decided to go with the bitblt method, (there SHOULD be an easy 2 or 3 lines of code for whatever anyone would want to program... someone should make a language and call...
  29. Replies
    15
    Views
    852

    Re: pictureboxes within pictureboxes

    1) i havent ever used bitblt
    2) there should be an *easier way

    but i will look into bitblt anyway
  30. Replies
    15
    Views
    852

    Re: pictureboxes within pictureboxes

    isnt there any other way? the image is larger than the screen anyway... if that would cause complications. the pictures can get pretty long... over 1500 px
  31. Replies
    15
    Views
    852

    pictureboxes within pictureboxes

    i have some pictureboxes in another picturebox, i need to save the main picturebox with all the other pictureboxes inside it. they are created dynamically but when i save the main picturebox, the...
  32. all the DLL functions and how to find them

    I was wondering about all the APIs that i can call out of this one dll (user32.dll) i opened it up in notepad and i found a list of API names, to name a few...

    (copied from the user32 dll)

    and...
  33. Replies
    47
    Views
    100,757

    Re: C++ VS Visual Basic?

    what is the purpose of these two lines?
    Option Base 0
    Option Compare Binary

    and could you post your c++ code?
  34. Replies
    47
    Views
    100,757

    Re: C++ VS Visual Basic?

    lol, enabling the optomizations took off 1.8 seconds with the VB app
  35. Replies
    47
    Views
    100,757

    Re: C++ VS Visual Basic?

    Joacim Andersson: ok, will do, but how exactly would i make it into a win32 project?
  36. Replies
    47
    Views
    100,757

    Re: C++ VS Visual Basic?

    actually, its called long in both C++ and VB, i think word is an old term for it



    yes i could have used shorter vars. but i wanted to make this take a measurable amount of time, i figured 'why...
  37. Replies
    47
    Views
    100,757

    Re: C++ VS Visual Basic?

    Joacim Andersson: i didnt get any errors when i compiled them
    dee-u: i dunno, it put the symbol there after i typed the number, i tried deleting it several times
    Merri: i dont see where the...
  38. Replies
    47
    Views
    100,757

    Re: C++ VS Visual Basic?

    ok, they are uploaded now.
    (you have to run the C++ prog from the command prompt or batch file)

    what i found disgusting was that i got an error for not capitalizing "GetTickCount" when making the...
  39. Replies
    47
    Views
    100,757

    Re: C++ VS Visual Basic?

    well, i wrote two programs, with vb 6 and c++ (microsoft visual studio 6)

    time it takes for c++ to count to 1000000000: 8.125 seconds
    time it takes for VB to count to 1000000000 : 19.203 seconds...
  40. Replies
    47
    Views
    100,757

    C++ VS Visual Basic?

    I have heard pretty much everyone who knows about programming say that c++ is better than VB, from what i can see, vb does the same stuff C++ does, but with more readability, also, c++ doesnt seem to...
Results 1 to 40 of 124
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width