Search:

Type: Posts; User: Divran

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    867

    VS 2008 Re: Beginner, help with mouse move

    Oh. Worked. Thanks. But what's the difference? Don't they do the exact same thing?
  2. Replies
    8
    Views
    867

    VS 2008 Re: Beginner, help with mouse move

    Another question.


    B = e.Button

    Name 'B' is not declared.
    What?

    In vb6 you type "B as integer" at the top or in a function. I tried that, didn't work.
  3. Replies
    8
    Views
    867

    VS 2008 Re: Beginner, help with mouse move

    And no matter what I select (AT ALL) I will always see similar wierd stuff that I can't make sense of.
  4. Replies
    8
    Views
    867

    VS 2008 Beginner, help with mouse move

    In VB6, when you use mouse move on the form, you get:

    Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)

    End Sub
    You can clearly see the X and Y and...
  5. Replies
    3
    Views
    1,084

    Re: Quick help with Firefox img src, thanks

    Bump
  6. Replies
    3
    Views
    1,084

    Re: Quick help with Firefox img src, thanks

    Bump
  7. Replies
    3
    Views
    1,084

    Re: Quick help with Firefox img src, thanks

    Bump
  8. Replies
    3
    Views
    1,084

    Quick help with Firefox img src, thanks

    Hello. I have searched using google for over an hour and then I came here and looked for half an hour. I have given up.
    This is probably the simplest piece of **** code ever, but nobody knows how to...
  9. Replies
    2
    Views
    441

    Re: How do you make tabs

    Never mind :> I found it :D
    Project -> Components -> Microsoft Tabbed Dialog 6.0

    Okay bye

    Edit:


    I know. I found it before you wrote :)
  10. Replies
    2
    Views
    441

    [RESOLVED] How do you make tabs

    I have a simple question. How do you make tabs in vb?

    Example:
    http://www.techsmith.com/img/studio/tutorials/mediaplayers/record_players5.png
    (RANDOM IMAGE FROM GOOGLE.COM)

    Thanks.
  11. Replies
    9
    Views
    839

    Re: timer

    OK, I edited the code above to make it not show -1. Just copy and paste it again to fix it.
  12. Replies
    9
    Views
    839

    Re: timer

    *erased post*
    Nevermind.
  13. Replies
    9
    Views
    839

    Re: timer

    This one probably doesn't work as well as coolsid's or brucevde's but it works.



    Option Explicit
    'define minute and second
    Dim min As Integer, sec As Integer

    Private Sub Form_Load()
    'set...
  14. Re: Problem while resizing form controls........................

    Ok I'll leave it to the pros to help you, but just use the [ code ] [ /code ] tags, without the spaces.


    like this :D
  15. Re: Problem while resizing form controls........................

    Ok, I wouldn't know how to help really (not too good at VB) but I do know you need to get your english better. I didn't understand any of that...

    Try the google translator:
    translate.google.com
    ...
  16. Replies
    4
    Views
    555

    Re: Can anyone send me a sample program?

    You can go look at my website, it's full of my noob programs and games.
    But some of them only have the exe files in them. (No code for you to see)

    And the website also looks like crap. I'm doing...
  17. Replies
    6
    Views
    689

    Re: Copy from a text box

    Thanks! :D
  18. Replies
    6
    Views
    689

    [RESOLVED] Copy from a text box

    Well here's the deal:
    I have a textbox and a button.
    I want to be able to copy whatever's in the text box when you push the button, so that the user can later click CTRL + V to paste it.

    How do...
  19. Thread: hex colour

    by Divran
    Replies
    10
    Views
    1,916

    Re: hex colour

    Ok thanks. I'll try switching them around.
  20. Replies
    12
    Views
    31,098

    Re: Convert between RGBLongHex color values

    Awesome program. Maybe you guys can help me with changing RGB into Hex?
    I posted here for help:
    http://www.vbforums.com/showpost.php?p=3466615&postcount=8
  21. Thread: hex colour

    by Divran
    Replies
    10
    Views
    1,916

    Re: hex colour

    LaVolpe, I tried your code. It failed.

    I have 3 sliders that you use to choose your RGB value. One slider for R, one for G and the last for B.

    Anyway, I set the sliders to create a gold color...
  22. Replies
    22
    Views
    962

    Re: Searching a text file

    a) I already know this.
    b) My question was not on how to write in a file, it was how to search for a string/integer already written in a file.
    c) This question has already been resolved.

    Edit:...
  23. Replies
    22
    Views
    962

    Re: Searching a text file

    Can't see it. I can only see "Show Printable Version", "Email this page", "Unsubscribe from this thread" and "Add a poll to this thread".
  24. Replies
    22
    Views
    962

    Re: Searching a text file

    Okay I'm back. I got dee-u's code working too. Except I think you forgot a piece of code, dee-u. I got the error "File Not Found" when I tried to search.
    So I just added this:

    strFile = App.Path...
  25. Replies
    22
    Views
    962

    Re: Searching a text file

    I have the code in school, and I just went home. I might have written something more here by the time you get online tomorrow so check back.
    I will also try dee-u's code again tomorrow and see if I...
  26. Replies
    22
    Views
    962

    Re: Searching a text file

    Okay I tried it and it works. I opened the text document and entered 111111, 111112 and 111113. Then I opened the visual basics program, entered 111111 into text1 textbox and pushed command5. It gave...
  27. Replies
    22
    Views
    962

    Re: Searching a text file

    Oh it's really THAT simple?

    So I could do this to get excactly what I want?


    Private Sub Command5_Click()
    if MsgBox isStringInFile(text1.text, App.Path & "\code.txt") then
    ...
  28. Replies
    22
    Views
    962

    Re: Searching a text file

    This is not the entire program, just the button where I placed your code.


    Private Sub Command5_Click()
    Sub FindText()
    Dim nFileNum As Integer, sNextLine As String
    Dim SearchChar
    ...
  29. Replies
    22
    Views
    962

    Re: Searching a text file

    I tried it, and changed this:

    Open "C:\Test.txt" For Input As nFileNum
    Into

    Open app.path + "\code.txt" For Input As nFileNum

    But it gave me the error:

    Compile error:
  30. Replies
    22
    Views
    962

    Searching a text file

    Hello

    I need to know how to search a text file to see if it contains a certain code.
    I have a bit of code that writes a six-digit code into a .txt file:

    Open App.Path + "/code.txt" For...
  31. Replies
    14
    Views
    5,690

    Re: SendKeys Commands

    Nope those commands (vbkeyreturn and the others) didn't work at all! Help please someone.

    I use Windows XP.
  32. Replies
    14
    Views
    5,690

    Re: SendKeys Commands

    Ok so how do you make it click two things at the same time, like Alt+Tab or Widnows+E or Ctrl+Alt+Del for example.
  33. Replies
    14
    Views
    5,690

    SendKeys Commands

    Hello! I asked this in a thread but got no response and the thread is probably cold and dead now, so I made a new one. Here is what I need to know:

    Okay now I need to know how to make it push...
  34. Replies
    10
    Views
    61,895

    Re: [VB6] SendKey Pressing ENter?

    Okay now I need to know how to make it push "Windows" and "E" at the same time.
    You know, the little picture of the Flag in between CTRL and ALT.

    If you hold the flag and push ""E, "My Computer"...
  35. Replies
    10
    Views
    61,895

    Re: [VB6] SendKey Pressing ENter?

    It's okay I got it working on my own.



    for i = 1 to text1.text
    Sendkeys text2.text and "{enter}"
    next i
  36. Replies
    10
    Views
    61,895

    Re: [VB6] SendKey Pressing ENter?

    Hi. I didn't get this to work and I really want it to work! Help?
    I saw this program on youtube, but the person who made it did it in a text document! I want to make it in VB6 but the commands he...
  37. Replies
    5
    Views
    591

    Re: A new row in a Text Box

    Yep I just made it resolved. When I clicked the "Make resolved" button, the page updated, and there was your request for resolving it xD lol.

    EDIT: Turns out my teacher DID know it (Phew. I...
  38. Replies
    5
    Views
    591

    Re: A new row in a Text Box

    WOW! That was fast!! Seriously! That was like 5 seconds! I clicked Post Reply, then I clicked Edit and wrote the "EDIT:" then I clicked SAVE and there was your answer!!! 20/10 stars from me for your...
  39. Replies
    5
    Views
    591

    [RESOLVED] A new row in a Text Box

    Hey. I'm using Visual Basics 6.0. What I need to know is how to make the text go down a row in a text box. Like when you push Enter in a Word document, you get to the next line... get it? :ehh:
    ...
Results 1 to 39 of 39



Click Here to Expand Forum to Full Width