User Profile

Collapse

Profile Sidebar

Collapse
sgrec7
sgrec7
Last Activity: May 7 '08, 02:41 AM
Joined: Aug 31 '07
Location: Australia
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sgrec7
    started a topic MP3 in VB 6

    MP3 in VB 6

    Hi guys,

    hey ive run into a deadend...

    i want to have an MP3 file play in the back ground of my program..

    only problem is that i dont know how to do that

    i have heard of the "playsound" event, and i tryed:

    Code:
    private sub form_load
    plasound = ("theplacewhereitssaved")
    
    endsub
    but it dosent...
    See more | Go to post

  • sgrec7
    replied to Help~how do I do nested if?
    Is it not programming etiquette to use white space and correct indenting?

    That's what I learnt!

    Anyway:

    Code:
     
    
    if 3 = 3 then[INDENT]if 3 < 6 then[/INDENT][INDENT][INDENT]end[/INDENT][/INDENT][INDENT]End IF[/INDENT]
    endif
    I learnt that last year in YR 9 !

    Hey everybody guess what ?

    Tomorrow is A Merry Can's 9/11

    So take a minute's silence.

    sgrec7...
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to VB.NET: How do i make a Digital Clock?
    in .NET
    Bl***y hell Killer !!! But you are a mod!!! Reading through this and seeing untagged code just slip through the system like that... I dunno some times I think maybe me and you should swap roles ! :P no but seriously, there was some mean Admin that kept on PMing me about the code thing so just make sure that they don't get a VERY STERN and SCARY lecture like I had

    And I know it had nothing DIRECTLY to do with the thread but ... :P ...
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to how to work in visual basic 2005
    how would you do it in the other VB you had (and what is it)

    i cant help cos i don't know what you have tried
    See more | Go to post

    Leave a comment:


  • guess what, NO ONE should play with regedit, that is just as bad as 'cleaning out the windows folder'

    u want my advice ??? DONT touch the registry...
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to picture collision
    i think the poor old Aussie Kille... i mean the needs an Aussie thankyou from an Aussie

    *sgrec7 looks for an Aussie*

    *sgrec7 realizes that he is an Aussie*

    thanks the


    yae i made 50 posts !!!!

    yae 4 me
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to picture collision
    So, I'm guessing the pbmods is AMERICAN (no offense, but you're a little bit power hungry) (and [I hope you get this American joke] I give you an inch and you take a mile!!) (BTW I can take a joke) (when it's funny !!! :P)

    But seriously, if you read correctly, it was my teacher that called KILLER42 (not you so there !!) the internet

    So there again !!! :-)

    Keep up the good work guys

    sgrec7...
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to picture collision
    thanks that looks better

    i don't know if anyone has realized but this thread has turned into a big lol thread

    but srsly, thanks for all the help

    sgrec7...
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to picture collision
    Hey there the internet

    I know what you mean, I have a little brother that always asks me how to get a note (he just started trumpet, I've been doing it for 5 years) there is no point telling him, I've got to give him strategies to help the situation.

    So yea thanks again

    sgrec7
    See more | Go to post

    Leave a comment:


  • yea can't clearly see the problem... but in saying that, if the question is as simple as the name of the thread then:

    to change an if statement, one simply BACKSPACES over the incorrect code and types the new, and hopefully correct code in the correct space.

    but that seems too simple, so the question must be more in depth

    but i cant read it so, so at least i get points for trying

    sgrec7
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to VB Multiplication
    What you're trying to do is:

    4 = 4 * 5

    What you have to do is:

    (empty variable) = 4 * 5

    So sammy hit the nail on the head

    (not that she needs to be told that she had it 100% correct)

    BTW, I didn't thing that "long"'s have decimal places??
    See more | Go to post

    Leave a comment:


  • i think this might be what your after:

    Code:
    (form1)
    
    private sub command1_click ()[INDENT]me.hide[/INDENT][INDENT]form2.show[/INDENT][INDENT]form2.textbox1.text = me.textbox1.text[/INDENT]
    
    end sub
    
    (form2)
    
    private sub command1_click ()[INDENT]me.hide[/INDENT][INDENT]form1.show[/INDENT][INDENT]form1.textbox1.text = me.textbox1.text[/INDENT]
    
    end sub
    that should work for what your after (notice that that is two separate form's...
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to Balloons in Word
    sorry mate, i thought that you meant a picture of a balloon, (not a balloon tip) ;-(

    na im sorry, i don't know anything about balloon tips

    sorry for the mix around

    sgrec7
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to picture collision
    yea thanks killer, you've saved the day again, umm i know what my problem was.. i only catered for the vertical collision.

    but yea thanks for breaking the rules for little old me, and if its any help, i've okayed it with my teacher

    he said "I don't mind you getting help from the internet, but not from the year 12's"

    so yea my teacher refers to you as "the internet"

    thanks...
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to Ascii Codes
    Thanks to all of you, but after reading through all that I think we will come to an agreement that space bar (32) will be much easier to deal with

    thanks to you all again

    sgrec7...
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to picture collision
    ohia guys... don't mean to rush but its an assignment... so any time soon would be nice
    See more | Go to post

    Leave a comment:


  • sgrec7
    replied to Ascii Codes
    or you could just tell me !!! :-) that would be MUCH easer... for me !!! :-)...
    See more | Go to post

    Leave a comment:


  • first of all you should read to your left and notice that all code must be written in code brackets

    next thing, you said that you were using VB.net ??

    this should work for the space/enter thing

    Code:
    Private Sub form1_Keypress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
    [INDENT]If e.KeyChar = Microsoft.VisualBasic.ChrW(32) then[/INDENT][INDENT][INDENT]If count >= threshold[/][/]
    ...
    See more | Go to post

    Leave a comment:


  • sgrec7
    started a topic picture collision

    picture collision

    hey guys, guess what, i've got another problem for you!!

    i want it so that when image1 touches image2, a "crashed message" appears

    this dosen't work:

    Code:
    private sub form1_keypress (keyascii as integer)
    
    if image1.top <= image2.top + 105 and image1.top >= image2.top - 105 then
    msgbox ("crashed")
    endif
    (im using...
    See more | Go to post

  • sgrec7
    replied to Ascii Codes
    yea thanks guys...

    i want to use alt and ctrl in a keyprss event

    will it still work ???
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...