Search:

Type: Posts; User: BuggyProgrammer

Page 1 of 13 1 2 3 4

Search: Search took 1.86 seconds.

  1. Replies
    5
    Views
    572

    Re: File Binding

    Yeah the picture running code thing is not possible.

    For the exe-in-exe thing, you need to put the 2nd exe at the end of the 1st one. Make sure you have a marker to know where it starts. You...
  2. Replies
    13
    Views
    989

    Re: Shouldnt this find every dir?

    Where did you ever get the idea that that would work? :confused: .
  3. Replies
    14
    Views
    1,244

    Re: Include a DLL with a vb program-how?-

    If it's your own DLL that you created, then just take the source and place it into a class file in your project, then use it as a dll. If it isn't your own, then there really isn't much choices.
  4. Re: Count all instances of a character

    Well this should work for all characters.

    Option Explicit

    Private Sub Form_Load()
    Const TestString As String = "blah one two three"
    '1 b, 1 l, 1 a, 2 h, 3 spaces,2 o, 1 n, 3 e, 2 t, 1 w, 1 r...
  5. Re: Concatenating Strings to Call a Function

    Oh man I'm going insane. Nevermind.
  6. Re: Concatenating Strings to Call a Function

    If it was ME, I'll have a combobox with meters, kilometers etc, then when you select an item from that, it will convert it. Your whole length, area, volume conversion is weird because you can't just...
  7. Re: Concatenating Strings to Call a Function

    OH OK....

    You could use CallByName (the only way to do it) but it isn't good. If you must, then search Google for how to use CallByName. If you want the best way to do it, use select case.
  8. Re: Concatenating Strings to Call a Function

    Ok... How much "cooler" do you want it to be?
  9. Re: Concatenating Strings to Call a Function

    Can you zip up your project and post it here instead of giving us just code without comments? It's much easier to figure out what you even mean, because right now, I don't know what you mean by "set...
  10. Replies
    19
    Views
    1,638

    Re: Twips

    Twips are annoying and shouldn't be used. For example, API's will just take pixels, but if you use properties like Form.Width, it is in twips so you end up having to convert everytime.

    If you...
  11. Replies
    5
    Views
    460

    Re: Searching the Search Engines :)

    He meant that you shouldn't be lazy and rely on other people to search for you instead of searching for it yourself.

    Anyways, if you don't want to use the google api, or you want to search...
  12. Replies
    2
    Views
    360

    Re: Minimums?

    If you change the borderstyle of the form, you can resize it to different widths.
  13. Re: Calculate all possible combinations. [RESOLVED]

    Well at least tell us which one you wanted. If your characters were 1234, then could 2222 be possible or not?
  14. Re: Calculate all possible combinations.

    Fundamentable counting principle.

    4 ways to choose first digit, 3 ways to choose 2nd digit, 2 ways to choose 3rd digit, and 1 way to choose the last digit. Therefore, as martinliss pointed out,...
  15. Replies
    28
    Views
    1,404

    Re: Encryption.

    The variable 'ff' is just a number. You need to read in the contents of the file first, using Input or some other way. You do know how to do file I/O right?
  16. Re: format command for AM/PM ???

    format(now,"hh:mm AMPM")
  17. Replies
    13
    Views
    1,296

    Re: Simple sending email code???!!

    When you need to send mail, you would either need to have an SMTP server, or know how to talk to MX servers. The problem is that ISP's tend to block the ports required, which means you need to get a...
  18. Replies
    15
    Views
    871

    Re: Quicky:

    Use F8 to step through your program one line at a time. You will find that it Ends itself.
  19. Re: 2D Array of Long to picture

    I think it should be this:

    For x = 1 To (1201& * 1201& * 3&) Step 3
    Call SplitRGB01(Val(lArrayValores(x)), lRed, lGreen, lBlue)
    lPic(x) = lRed
    lPic(x+ 1) = lGreen
    ...
  20. Re: 2D Array of Long to picture

    Faster way would be to use dibits. You would edit each pixel using byte arrays, which are pretty damn fast.

    Download the class module I've attached.

    To use it, create a byte array of size (1...
  21. Replies
    2
    Views
    618

    Re: system tray

    Here's some other system tray code that doesn't require subclassing: http://support.microsoft.com/kb/176085/EN-US/
  22. Replies
    2
    Views
    618

    Re: system tray

    Well first you need the tray code: http://vbnet.mvps.org/index.html?code/subclass/shellnotifybasic.htm

    Then, if you want to add it on minimize, on Form_Resize:

    if me.windowstate=vbminimized...
  23. Replies
    2
    Views
    435

    Re: Compiling a VB project

    You can't force it, because it wouldn't work if you did. You have to add some references to access Excel from a VB app. Post your code.
  24. Replies
    6
    Views
    864

    Re: Print Textbox Text

    Do you mean print to a printer?

    Printer.Print YourTextbox.Text
  25. Replies
    2
    Views
    501

    Re: sin, cos. and tan

    You mean inverse trig functions:

    http://www.vbforums.com/showthread.php?t=161043&highlight=inverse+sin+tan+cos
  26. Replies
    9
    Views
    692

    Re: help in animation game

    Next time use vbcode tags.

    Any you still haven't told us what the problem is.
  27. Replies
    9
    Views
    692

    Re: help in animation game

    What is your question?
  28. Replies
    5
    Views
    1,692

    Re: wordwrap doesn't wrap Label?

    You either make some code that places vbCrLf's when it should break the line, or make your own label control, which will basically do that same thing, but not messing with the actual text.

    The...
  29. Replies
    4
    Views
    455

    Re: Song Timer

    Replace SongSeconds with whatever variable you are using to hold the seconds:

    SongSeconds=format(songseconds,"00")
  30. Replies
    1
    Views
    439

    Re: Window Explorer

    Subhooking isn't anything :afrog:

    Well, you would use FindWindowEx to find the explorer window, then the child windows. The actual place in the dropdown where the path is held is a class called...
  31. Replies
    1
    Views
    415

    Re: IE toolbar + Installer

    Download the 'shell extensions' project from here: http://www.mvps.org/emorcillo/vb6/shell/index.shtml

    Although I don't know about the legality of using his code in your program.
  32. Replies
    2
    Views
    496

    Re: Loop issue

    You never set bin="" after each loop. That's the only problem I can see from the code.
  33. Re: Moving an image in the PictureBox

    Try this. Put a picturebox (picture1) on the form. Put another picturebox (picture2) on the form and set the picture to something. This code then goes into the form:

    Dim curX As Long
    Dim curY...
  34. Replies
    2
    Views
    467

    Re: Porting from C++ to VB6

    If they are math, then it should be bitshifting. >> is shift right and << is shift left. Search the forums for some code.
  35. Replies
    5
    Views
    581

    Re: Random Numbers

    Hey reaton this is the second time that you double-posted a new thread. Is there some sort of problem you are having with the forums?
  36. Replies
    53
    Views
    2,506

    Re: Whats in the Hand?

    Ace is only the lowest when it is used in a straight A2345. What difficulties are you having?

    If Card1=Ace and Not A Straight with A2345, then Ace is big.
  37. Replies
    15
    Views
    1,406

    Re: question on the "Immediate Window"

    You can also execute one-line code there, like: (? is short for Print, which prints text in the debug window )

    ?Mid(FileName,Instr(FileName,".")+1)

    or

    For i = 1 to 10:Msgbox i:Next

    etc.
  38. Thread: Bread

    by BuggyProgrammer
    Replies
    0
    Views
    497

    Bread

    'comment
    MsgBox "'hii'" 'a msgbox showing 'hii''
  39. Replies
    41
    Views
    2,553

    Re: Winsock Issue

    There's a _Connect event on winsock that fires when you make a connection. Just place whatever you want to do when you connect in that event.
  40. Replies
    4
    Views
    710

    Re: a few Vb questions

    Since there aren't any variable types in PHP, you might start being lazy and not declare variables, or declare them as variant, which is bad. PHP is very different than VB.

    Size changing is hard,...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width