User Profile

Collapse

Profile Sidebar

Collapse
cryoburned
cryoburned
Last Activity: Oct 30 '07, 06:38 AM
Joined: Sep 19 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cryoburned
    replied to VB6 and Animations
    focusing on delay, im having trouble with the timer control in my scenario. What is the proper use, and do you have an example that displays objects moving?...
    See more | Go to post

    Leave a comment:


  • cryoburned
    started a topic VB6 and Animations

    VB6 and Animations

    What if i want to make an object tween across my form?

    I have

    [code=vb]
    While Kewlbuttons1.To p > 120
    Kewlbuttons1.To p = (Kewlbuttons1.T op - 5)
    Wend
    [/code]

    in a button, but, It just zips across insantly, leaving a black redraw space behind it.

    How can I make it smoothly and slowly, go across?
    See more | Go to post

  • cryoburned
    replied to subtracting base16
    that doesn't make a difference for this project.. but i got it.. i dont know why i had this problem but... now

    [code=vb]
    hexfinal = Hex(Val((("&H" & hexfinal) + &H8000) - &HFFFF0000))
    [/code]

    gets me FFFF like i wanted.....
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    lo its cool.. but im still have the problem with 8000.. it goes to 7FFF in subtraction, but jumps to FFFFFFFF is addition....
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to command button problem
    i prefer kewlbuttons....
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    I believe you have too many parentheses. I think this should be...

    Old version:
    hexfinal = Hex(Val(("&H" & hexfinal) + &H8000))
    New version:
    hexfinal = Hex(Val("&H" & hexfinal) + &H8000)...
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    that did it.

    Code:
    Private Sub Form_Load()
    hexfinal = "0000FFFF"
    End Sub
    Private Sub L2_Click()
    If l2on = False Then
    L2.ForeColor = &HFFFFFF
    l2on = True
    hexfinal = Hex(Val("&H" & hexfinal) - &HFFFF0100)
    Text1.Text = "0000" & hexfinal
    Text2.Text = "0010" & hexfinal
    ElseIf l2on = True Then
    L2.ForeColor
    ...
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    L2 is a button, l2on is boolean...
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    ok your idea to get the value of the string.. sort of works...

    [code=vb]
    Private Sub Form_Load()
    hexfinal = "&H0000FFFF "
    End Sub

    Private Sub L2_Click()
    If l2on = False Then
    L2.ForeColor = &HFFFFFF
    l2on = True
    hexfinal = Hex(Val(hexfina l) - &HFFFF0100)
    Text1.Text = "0000" & hexfinal
    Text2.Text = "0010"...
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to Visual Basic Starter
    lets pretend that the checkbox for the Desert Eagle is checkbox1.

    at the top of all your code:
    Code:
    Dim addtext As String
    double click the deagle checkbox

    now:
    Code:
    Private Sub Checkbox1_Click()
    If Checkbox1.Value = 0 Then
    Text1.Text = Text1.Text & "Deagle;"
    Else
    addtext = Text1.Text
    Text1.Text = Replace(addtext,"Deagle;","")
    ...
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    well thanks for that.. will try at home.. but no matter what i dimmed hexfinal as, there was always a problem.. integer long double variant and string...

    i did try CInt() but it always every number always came out to zero..

    expect for FFFF which came out as -1...
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to compile error with checkbox sub
    never said what version.. snd..

    whats wrong with your original code?
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    i solved that problem too.. coding error...

    but what about using the hex function to add and subtract variables?

    hexfinal = hex(hexfinal + &H100)

    but i get a type mismatch with this.

    hexfinal = hexfinal + hex(&H100) gets results in the same thing.
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    but unfortunantly, while it works.. when i add it ( i know this isn't to the subject of this thread.. ) instead of going back to FFFF from FEFF it becomes just FF. Is there a solution other than
    Code:
    If hexfinal = &HFFFF Then
    Text1.Text = "FFFF"
    End If
    So that i can work around it to have all 4 digits?
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    w00t so i got my problem figured out.. i had a global variable named "hex" was screwing with my code..

    the reason i thought what i said in my other post was the problem is because i thought when it said vba it was my actual version, not the office vba support.....
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to client server in vb6.0
    youd have to load your .exe on every computer by whatever means (manual or something like novell) and then you'd have to manage a server somewhere for all of those apps to connect to so that they could send the data where it could be collected..
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    eh.. i think i found my problem...

    at the bottom of the about box:
    Version 8176 VBA: Retail version 6.0.8169 Forms3: 11.0.6550

    lol btw it says (number)? thats weird.. i would have thought it'd say integer..
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to Text Box In Visual Basic
    in vb6:

    Code:
    'without button
    Private Sub Text1_Change()
    Text2.Text = Text1.Text
    End Sub
    '
    'with button
    Private Sub Button1_Click()
    Text2.Text = Text1.Text
    End Sub
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    VB6.

    6.0.8169

    but i dont think mine supports it because usually a code hint appears if you type

    anything and then parentheses.

    aka i type replace and as soon as i type the open parenth a code comment appears..

    that doesnt happen with hex or hex$.
    See more | Go to post

    Leave a comment:


  • cryoburned
    replied to subtracting base16
    i couldnt find a direct way to just subtract them..

    but everytime i use the hex$ function, I get a compile error that tells me an array is expected..

    hexfinal = hex$(&HFFF - &H1)
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...