Search:

Type: Posts; User: cyborg

Page 1 of 13 1 2 3 4

Search: Search took 0.28 seconds; generated 16 minute(s) ago.

  1. Replies
    28
    Views
    15,018

    Re: to draw curve on picturebox in vb6

    Here is a link to some code I wrote some time ago.
    It enables you to draw Bezier curves with an unlimited amount of control points.
    ...
  2. Replies
    46
    Views
    16,269

    Microsoft Says It Will Open Source VB 6

    http://developers.slashdot.org/story/11/05/19/2338209/Confirmed-Microsoft-Says-It-Will-Open-Source-VB-6

    Finally! :D
  3. Thread: Getting started

    by cyborg
    Replies
    4
    Views
    1,048

    Re: Getting started

    Wow!
    That looks like a really good place to start! I love watching video tutorials!
    Thanks a lot! :)
  4. Thread: Getting started

    by cyborg
    Replies
    4
    Views
    1,048

    Re: Getting started

    I just did, and have started playing around.
    Looks like it's going to take quite some time before I get used to how it all works
  5. Thread: Getting started

    by cyborg
    Replies
    4
    Views
    1,048

    Getting started

    Hi!

    I've been programming classic VB since forever, but I was thinking about getting in to the whole new world of .NET...

    I'd like to know how to get started..
    What are the main differences...
  6. Replies
    11
    Views
    2,254

    Re: Extended PictureBox - Need ideas!

    Now you're talking! :)
    It's very fast, but it still doesnt blur the same way my function does... Hmmm... Oh well. I think I'll add it anyway :) Thanks
  7. Replies
    11
    Views
    2,254

    Re: Extended PictureBox - Need ideas!

    But I was using the exact code you posted above and came up with the image in my previous post. It doesn't look like the distribution is even. Or did I miss something?
  8. Replies
    11
    Views
    2,254

    Re: Extended PictureBox - Need ideas!

    Here's a comparison.
    It looks like the AlphaBlend code mainly blurs in the x-direction.

    I would like both codes to do the same thing before I compare speeds.
  9. Replies
    11
    Views
    2,254

    Re: Extended PictureBox - Need ideas!

    My code blured an image in about 1.1secs while the AlphaBlend took 1.8secs (both compiled code).
    However, they don't seem to blur in the same way...
    My code samples color linearly from a 15x15 grid...
  10. Replies
    11
    Views
    2,254

    Re: Extended PictureBox - Need ideas!

    Thanks for the input. I had totally forgotten about the AlphaBlend API.
    It's pretty fast, but it seems to be doing the same thing as the "BoxBlurScreen" function in my code (which is also pretty...
  11. Replies
    11
    Views
    2,254

    Extended PictureBox - Need ideas!

    Hey there!

    I've created a control that acts like a PictureBox but uses DMA to control the pixels instead, which greatly increases the speed. I've added a lot of functions to it like: Anti-Alias...
  12. Replies
    23
    Views
    3,487

    Re: Copy pixels, in image, by percent

    I think the problem is in these lines:


    Dim X As Long
    Dim Y As Long
    X = CLng(100 / Transparency)
    Y = CLng(100 / Transparency)


    You are obviously calculating floating point...
  13. Re: Need a programer to comvert .TXT info into a SQL Database

    First you will need to make a parser which reads the plain texts and makes sense out of it. For example: go line by line and add it as an event (define it however you like in the code). Then go word...
  14. Re: [VB6] Making a sprite walk with screen centered

    Look up BitBlt.
    I'm sure there are tons of examples on how to use it.
  15. Replies
    6
    Views
    3,565

    Re: Simple physics code VB6

    Hi.

    I recently started working on a bouncing ball project.
    I'm not sure, but it might help if you have a look at it.

    It's a work in progress, so the code might be a little messy...
    Look in...
  16. Replies
    7
    Views
    1,452

    Re: VB 6 in Windows Vista

    I got around the problem by running /SETUP/ACMSETUP.EXE instead.
    I had to move around a couple of things to make the relative paths correct, and I also had to change the name of one file as well....
  17. Replies
    7
    Views
    1,452

    Re: VB 6 in Windows Vista

    Then my problem might be due to SP1.
    Or could it be something else? My windows installation is pretty clean...
  18. Replies
    7
    Views
    1,452

    Re: VB 6 in Windows Vista

    I can't even run the installer.
    First the "Program Compatibility Assistant" pops up saying that the program has known problems, but I click "Run Program" anyway.
    When it's about to start...
  19. Thread: DX10 stuff?

    by cyborg
    Replies
    4
    Views
    405

    Re: DX10 stuff?

    Yeah...The Vista UI was nice to look at for like 2 seconds...
    Mario for PC? Just kidding, right?
  20. Thread: DX10 stuff?

    by cyborg
    Replies
    4
    Views
    405

    DX10 stuff?

    ...So I bought a DX10 compatible gfx card and installed Vista... Now what?
    Are there anything out there, that are available right now, that uses DX10? Games? Demos/showcase stuff?
  21. Thread: Press Key

    by cyborg
    Replies
    6
    Views
    873

    Re: Press Key

    Im always sending the keys to the same application (not my app), and it's probably always in focus.

    Now that you mention it, SendMessage would probably be a good way to go. But I need to have the...
  22. Thread: Press Key

    by cyborg
    Replies
    6
    Views
    873

    Re: Press Key

    Works pretty nicely.
    How about ALT+something...or Shift+something. Or Shift+mouseclick...
  23. Thread: Press Key

    by cyborg
    Replies
    6
    Views
    873

    Press Key

    Hi!

    I would like to know how to simulate a key press.
    I've been searching for this and found alot of examples using the SetKeyboardState API, but none of them worked.

    I managed to swith Caps...
  24. Replies
    13
    Views
    2,144

    Re: Manipulated 2D picture to 3D Picture

    You should probably do a pattern recognition program, or something like that... Not 3D.
    Will the program look at and X-ray image or what?
  25. Replies
    4
    Views
    862

    Re: Slowing down a gameloop

    Have a look at my tutorial on the subject.
    It's in my signature.
  26. Replies
    19
    Views
    7,384

    Re: Convert a 2D image to 3D and Rotate

    Well... I just dont know where to start. I've been reading some about it, but I just don't understand how NNs work.

    Btw, what work do you do at CERN?
  27. Replies
    19
    Views
    7,384

    Re: Convert a 2D image to 3D and Rotate

    Sounds intresting... I've always been curious about Neural Nets, but I've always been too confused when looking at tutorials I've found on the internet. I hope I can figure it out some day!
    Any...
  28. Replies
    19
    Views
    7,384

    Re: Convert a 2D image to 3D and Rotate

    Hehe! Yeah, I really like there kinds of things!
    I really want to learn how to do some pattern and object recognition (as that project is based on).
  29. Replies
    19
    Views
    7,384

    Re: Convert a 2D image to 3D and Rotate

    It's not 100% as you say, but it's very impressive!
  30. Thread: Fast Drawing

    by cyborg
    Replies
    21
    Views
    3,588

    Re: Fast Drawing

    Have you tried using DMA?

    Here's a class module I made not so long ago. It's still a work in progress, but it can probably do what you are looking for pretty quick.
    Some of the functions do...
  31. Replies
    4
    Views
    3,137

    Re: How to use Candy Buttons on Form?

    Add a button.
    Change its style to grahpical.
    Load a picture on it.
  32. Replies
    3
    Views
    1,123

    Re: Collision Problem in Breakout Game

    Add this in the timer:


    Dim i As Long

    For i = shpBlocks.LBound To shpBlocks.UBound
    If shpBlocks(i).Visible = True Then
    If shpBall.Left <= shpBlocks(i).Left +...
  33. Replies
    1
    Views
    720

    Re: flickering solutions ????

    You should only call the refresh function once each frame. Maybe you call it in between each blitting?
  34. Re: Fast code to change Hue/Saturation of an image [UI like Nero/WMP]

    I'm no expert but I think that when using DIBs, you use an external array which you copy from the DIB using API.
    Then you copy it to the place where the DIB is stored in the memory using API.
    So...
  35. Re: Fast code to change Hue/Saturation of an image [UI like Nero/WMP]

    1-bit images are monochrome. The pixels are either white or black. You could use a pallette if you'd like to use different colors than black/white.
  36. Replies
    3
    Views
    515

    Re: help with picture

    Try using a loop.


    Dim i As Long

    For i = 0 To 100
    'Do your stuff in here
    Next
  37. Re: Fast code to change Hue/Saturation of an image [UI like Nero/WMP]

    Yeah, that's a shame. If I could understand it better, I would add support for different bit-depths. That would also be good in photoshop-like programs, so the user can make 32/24/16/8/1-bit images....
  38. Replies
    5
    Views
    641

    Re: Datatype problem

    Yeah, I forgot about that, thanks.
  39. Replies
    5
    Views
    641

    Re: Datatype problem

    Yeah, of course, but this was just a simple example. It would be harder in large, more complex formulas.
  40. Replies
    5
    Views
    641

    [RESOLVED] Datatype problem

    Try this code. It shouldn't be a problem to run it since 128-129+1 = 0, but I get overflow error because at one point in the calculation, the sum is -1.
    Is there an easy/fast way to go around this...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width