User Profile

Collapse

Profile Sidebar

Collapse
Dawoodoz
Dawoodoz
Last Activity: Feb 21 '08, 06:29 PM
Joined: Oct 7 '06
Location: Sweden
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks for the replies. I have a lot to try now. XD
    See more | Go to post

    Leave a comment:


  • Dawoodoz
    replied to Benefits of MDI Form
    Have you unzipped the package and started the executable? If it's a message in the application, write an error report with the full message in my site's guestbook. Questions about using my active X controlls can also be sent to the guestbook....
    See more | Go to post

    Leave a comment:


  • Dawoodoz
    replied to Hdc ???
    I would try to find another way of solving the problem since .NET is full of bugs and it might not be your fault if it's not working. A lot of the stuff I made in VB.NET 2005 before I threw it away made the whole framework crash unexpectedly. Make sure that you don't use XP or Vista since Microsofts own applications doesn't work in XP and Vista hangs after 3 minutes before it crashes your harddrive.

    B.T.W. It would be easier to read...
    See more | Go to post

    Leave a comment:


  • Did you mean abs(a mod b) or abs(a) mod b?

    That would reverse it either way.
    See more | Go to post

    Leave a comment:


  • Dawoodoz
    replied to Up Arrow Key
    This works for textbox Text1(0 to X)

    Code:
    Private Sub Text1_KeyDown(Index As Integer, KeyCode As Integer, Shift As Integer)
        Static Choose As Integer
        If KeyCode = vbKeyDown Then
            Choose = Index + 1
            If Choose >= Text1.Count Then Choose = 0
            Text1(Choose).SetFocus
        ElseIf KeyCode = vbKeyUp Then
            Choose = Index - 1
            If Choose <
    ...
    See more | Go to post

    Leave a comment:


  • Dawoodoz
    started a topic Is modulo in VB6 broken or just odd?

    Is modulo in VB6 broken or just odd?

    -24 mod 7 = -3

    The mathematical modulo can't return a value less than 0 according to the professors at my University but the function in Visual Basic 6 does.

    Is there a fast way around this problem?
    See more | Go to post

  • Dawoodoz
    replied to Benefits of MDI Form
    You can also make your own windows like frames that you can move.

    The benefits of that is that you can have a better controll of them, choose a different style, make a window in a window in another window.... and have all code in the same visual module.

    The bad things is that you can't duplicate the frames at runtime like you can with real MDI and it's hard to use property bags when making the windows.

    ...
    See more | Go to post

    Leave a comment:


  • Dawoodoz
    replied to Hdc ???
    I get that error all the time and it's allways something with the object properties. Try changing the ScaleMode of the window or picture and make sure that it doesn't draw outside of the area wich can cause a low level error.
    See more | Go to post

    Leave a comment:


  • Dawoodoz
    replied to how to do windows emdia a player
    Did you mean Media player?

    I used it yesterday but on a different computer.
    Look at all the active x components that starts with microsoft.
    Use it and write it's name and "." in the code to see a menu if you are using VB6.0.
    See more | Go to post

    Leave a comment:


  • use the len(string) function to get the length of the string.
    in the first loop you will look at every letter with the mid(string,star t,length) function and see where the space (" ") is.
    use the mid again to take the two words and put them in two new strings.
    reverse one of them by looping and inserting letters from right to left.
    put the two words back together with a space.
    See more | Go to post

    Leave a comment:


  • Dawoodoz
    replied to rounding numbers
    I dont remember the exact word but i can look it up if you dont have the MSDN discs. "int" is the floor but you wanted the roof if I understand.
    See more | Go to post

    Leave a comment:


  • Dawoodoz
    replied to how to animate an animated gif
    Your question is a little inaccurate.
    Do you mean how to display it animated in a VB project?

    If you need to make an animation for a VBProject, you can save every frame as a picture, load every frame to images with the same name but different index, hide them, create a visible image to display the animation and write this code in a timer....

    static time as integer
    time = time + 1
    if time >= image1.count...
    See more | Go to post

    Leave a comment:


  • I think this will work.

    int( ( X * 100 ) + 0.5 ) / 100

    24.75456 ==>24.76

    I use it whenever I need to debug things in my games.
    See more | Go to post

    Leave a comment:


  • Dawoodoz
    started a topic Fast math needed

    Fast math needed

    I am programming with prim numbers in VB6.0 and need a much faster and more accurate function to get the rest and quota of A and B.
    In StandardML, the words DIV and MOD are exactly the kind of functions I need.
    I do not want to use a loop or int(A/B), because the loop is too slow and floating values and not accurate at all for 16-digit numbers.
    Is there any math API to use from another language?
    See more | Go to post
No activity results to display
Show More
Working...