Search:

Type: Posts; User: passel

Page 1 of 13 1 2 3 4

Search: Search took 0.79 seconds.

  1. Re: Visual Basic 4.0 (FACE RECOGNITION) for Windows 3.11

    Why ask "why VB4"?
    It was stated at the beginning and is in the title of the thread that the OS being targeted is Windows 3.11.
    VB4 was the last version of VB that would run on Windows 3.11. VB5...
  2. Replies
    3
    Views
    325

    Re: Microphone Output hears the music i play

    I think what he wants is similar to a situation I had early in the "working from home because of covid 19" online meetings.
    Earlier in the day I had been listening to some music in the background on...
  3. Re: vb.net listboxta seçilen klasörün içindeki klasörü belirli bir dizine kopyalama

    This is an English Language Forum. You need to translate your language into English and post, and translate responses back to your language outside the forum.
    Example:

    Copy the folder inside the...
  4. Replies
    9
    Views
    501

    Re: Move to line

    By the way, Seek is both a Sub and a Function.
    If you open a file and then do something like

    ptr = Seek(F)

    The ptr will be equal to 1.
    After you do a "Line Input #F, Text", per dilettante's...
  5. Replies
    15
    Views
    639

    Re: Single Room Air Conditioner

    {p.s. I see this is what jdc2000 was suggesting...}

    You could also get a portable air conditioner. It will have wheels so you can wheel it to where you need it, and it has an exhaust hose that...
  6. Replies
    20
    Views
    1,031

    Re: Cell Phone Recommendations

    It seems the biggest cost are the plans. That will be the largest expense over the years.
    I used to use just a flip type phone I bought many years ago, it was a Motorola, and it was bought as part...
  7. Re: Capture X & Y coordinates in an array and pass to a public sub for reuse

    In regards with your original question, the error message says it all.

    You've declared an array with two dimensions;

    Dim xypos(,) As Decimal

    And are passing it to a Sub and treating it as if...
  8. Replies
    4
    Views
    314

    Re: Issues with Basic Test Program

    I would assume that any line that has "Then" followed by code on the same line, that code needs to be moved to a new line.
    VB6 supports "If Then End If" Blocks, and it supports In-line "If Then"...
  9. Replies
    18
    Views
    780

    VS 2010 Re: Character insertion process is very slow

    What you're doing sounds rather odd, but regardless, if you want to speed up the string processing then you should use an object that is made for faster string processing i.e. a string builder and...
  10. Re: Why does this not draw an image ?

    You could draw it in the Paint event, or if you're not going to change it once the form is displayed, you could assign it to the background image of the form.


    Imports System.Drawing.Imaging...
  11. Thread: TwinBasic

    by passel
    Replies
    146
    Views
    12,658

    Re: TwinBasic & RADBasic

    Unless you've disabled it, the default option is to automatically be subscribed to any thread you've posted in, which is what I think wqweto was referring to in his p.s.
    He didn't ask "how" to get...
  12. Replies
    4
    Views
    375

    Re: Compile error variable not found

    Well that at least sounds good in that you must have Option Explicit turned on so you have to declare all your variables, and the error is telling you that at some line of code you are referring to a...
  13. Re: how to extract first values from array in vb.net

    Val is a very old BASIC function and is hard coded to work on a string that uses "." for the decimal point, so it won't work on strings that use "," for a decimal point. It will just convert the...
  14. Re: How to handle two or more sub routines at a time

    Since each sensor case stops the blinking of the previous case, it seems like you really want these to occur in a series one after the other. The next one shouldn't start until the previous one is...
  15. Replies
    2
    Views
    207

    Re: Separate data coming from Serial Port

    If you're using println on the Arduino to print each value, then you should be able to use readline on the VB6 side to read each value separately from the serial port.
    What you do with each separate...
  16. Replies
    14
    Views
    1,056

    VS 2010 Re: Form2 is opened repeatedly

    Post #3 and Post #5?

    What is the purpose of comparing hWnd to 1? The chances of it being 1 is probably several billion to one.
  17. Replies
    16
    Views
    833

    Re: What's wrong with this oop program.

    Note that I've updated my post, and also added a p.s.
    What I suggested may not work the way I expected in VB6. I've done minimal work writing classes in VB6. You can ignore what I've said, unless...
  18. Replies
    16
    Views
    833

    Re: What's wrong with this oop program.

    In my case, I expect it to compare set a and set b. The function compares its own set with the set passed in, and returns a new set.

    So, I'm saying thirdSet = firstSet.unionWith(secondSet).

    ...
  19. Re: How to handle two or more sub routines at a time

    In the previous case, you set BlinkFSG = True, and then you set it to False.
    In this code, you don't set it to False.
    So in the previous code when the timer fires, BlinkFSG will be False and not...
  20. Replies
    16
    Views
    833

    Re: What's wrong with this oop program.

    I'm thinking I would declare the Union Function like this.


    Public Function union(Set_In As CIntegerSet) As CIntegerSet
    'I'll let you figure out what the code in the function should be.
    End...
  21. Replies
    4
    Views
    337

    VS 2015 Re: Dock panel above menustrip

    Why not place the menustrip in another panel, then stack the panels in the order you want?
  22. Thread: Post Race!

    by passel
    Replies
    65,241
    Views
    7,054,648

    Re: Post Race!

    Where's my Quantum Crayfish T-shirt?
  23. Re: [RESOLVED] Logic Help (Recode Select Case to Function)

    The Mod operator does an integer divide and returns the integer remainder.
    If you subtract the remainder from the original number that will "round down" the original number to a multiple of the...
  24. Re: Logic Help (Recode Select Case to Function)

    You could try a function like this.
    Don't know that it will cover all cases. 12 in the function is the STD_COL_WIDTH value, so you may want to add that Constant. I just wrote this quick and didn't...
  25. Re: Logic Help (Recode Select Case to Function)

    Yes, Arnoutdv didn't see that myFactor is not always a difference of 4 since it covers a difference within a range of 4. Also, it isn't actually a difference of 4 from myFactor, since myFactor is the...
  26. Replies
    13
    Views
    929

    Re: Loading music files

    But for an example you don't need to include songs you would prefer to listen to, you just need placeholders, like you did anyway, and they don't have to be large.
    You could just search for a number...
  27. Replies
    4
    Views
    427

    VS 2015 Re: Change media player to visible

    Usually when you load a file in the media player, it defaults to autostart playing that file.
    So, it seems like it would be simple to not load the file until you want to play it, i.e. at the end of...
  28. Re: GWBasic code optimization question->

    I don't understand. You said you wrote it in Quick Basic 4.5, but you didn't create an executable to run the game?
    So, you always ran it from the IDE?

    Even if that is the case, it was still...
  29. Re: GWBasic code optimization question->

    You're saying Quick Basic 4.5, which produces a Compiled executable.
    GWBASIC is Interpreted so it is going to be much slower. I would think minimally it would be at 10x slower on most things and...
  30. Re: winmm.dll mciSendString - How to loop from specific song point?

    My mistake. I misread your second post. Rereading, the last part of the first sentence still is a little confusing to me.
    Also, I didn't follow the link and look at the project, so my bad. I think...
  31. Re: winmm.dll mciSendString - How to loop from specific song point?

    You provided a full working example of a media player, but the original poster already said he was using mciSendString to play an mp3 file repeatedly, so I assume he already has the declaration and...
  32. Re: winmm.dll mciSendString - How to loop from specific song point?

    I don't know that you can automate it, but if you know at what point you want to loop back to, you can use "seek media" and "play media" to start at a particular point. If you monitor where you are,...
  33. Replies
    18
    Views
    910

    Re: how to move text in rich text box upward

    Phil's code in post #2 should still work.
    After the file is reloaded in the RTB, then set the select start position to the end of the textbox.
    Of course, jj2007 code will also work, you just have...
  34. Thread: Post Race!

    by passel
    Replies
    65,241
    Views
    7,054,648

    Re: Post Race!

    I believe in most cases it would be a sleeve, not a string. And a lot of guitar strings are made from wire, so they would be air without the wire. Can you have nylon wire?
  35. Thread: Post Race!

    by passel
    Replies
    65,241
    Views
    7,054,648

    Re: Post Race!

    We call that an air guitar.
    Having a wireless guitar cord on the other hand would be handy to connect the guitar output to an amplifier without a cable.
  36. Replies
    6
    Views
    405

    Re: Virtual Drive Question

    Sounds like you're talking about a Virtual Machine, not a virtual drive.
    A virtual drive would normally be a "drive" that is mounted in the current operating system, so wouldn't have any affect on...
  37. Replies
    17
    Views
    662

    Re: Zooming a picture in a picture box

    But you also wanted to zoom and center the image from picGoogle.
    Basically, after playing around a bit, I think what you want to do is load a picture in picGoogle, and have AutoRedraw set, so the...
  38. Replies
    17
    Views
    662

    Re: Zooming a picture in a picture box

    p.s. I decided to try to test the below statement, and it doesn't seem to work as I thought it should, so I guess you can ignore me for now. The problem is that PaintPicture uses scalemode of...
  39. Replies
    17
    Views
    662

    Re: Zooming a picture in a picture box

    First off, it seems like you got your scale factors reversed.
    You're multiplying by 1.2 to "Enlarge", but if you multiply a scale, so you have more scale, that means you have more picture in the...
  40. Re: Why am I getting this specific VB error message when running my VB codes?

    You're posting a Visual Basic for the .Net framework (aka VB.Net back in the day) question in a legacy Visual Basic (VB6 and earlier, circa 1998 or earlier) forum.
    I've notified a moderator so the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width