Search:

Type: Posts; User: passel

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    20
    Views
    460

    Re: Time Sync

    I think his point was if you have "Set time automatically" turned on, then Windows will synchronize the time automatically itself.
    I've never manually synchronized the time, but the dialog shows...
  2. Replies
    9
    Views
    272

    Re: Making the Paint routine fire?

    If the sub is Asynchronous, I assume that means it runs on its own thread. Normally non-GUI threads shouldn't try to perform GUI actions and I would think Me.Refresh would qualify as a GUI action....
  3. Re: Picture Box or Image for a Flappy Bird Game

    I assume you mean you're using an Image control which is giving you glitches.
    And I'm assuming you're asking whether you should be using Image controls or Pictureboxes for your Flappy Bird and other...
  4. Replies
    13
    Views
    722

    Re: Randomize Questions and Answers

    Is it much easier?

    You write the text in a resource.
    You write the text in the Form.

    The text from the resource is included in the executable.
    The strings from the form are included in the...
  5. Replies
    6
    Views
    363

    Re: [RESOLVED] Fixed Length of a string

    I'm not sure why you wouldn't just use a fixed length string.
    A fixed length string would always be padded with spaces. No need to concatenate or preset the string with spaces.


    Private str4 As...
  6. Replies
    15
    Views
    397

    Re: Happy New Yeeeear!

    Seems odd to me. You posted that at around 5:30 Canadian Atlantic time I think, which would be 6.5 hours to go if you were in that region. Newfoundland would be 6 hours at that point. Doesn't seem...
  7. Replies
    13
    Views
    482

    Re: VB6 Randomly Pastes in Reverse Order

    You were copying and pasting to the same form?
    i.e. you created a column of three. Did you copy that column and paste another column beside it?

    For my test for instance I add a button, then copy...
  8. Replies
    13
    Views
    482

    Re: VB6 Randomly Pastes in Reverse Order

    I think that is because you copied the controls to a new form.
    As I said in my post, the copying of controls and adding them in a new project that hasn't been run works as you would expect it to...
  9. Re: A program that launches console applications and captures their output.

    I think that is a DOS/cmd.exe restriction.
    Linux and Unix use pipes that create a stream in memory and feeds the output of one program to the other directly.
    DOS and the cmd.exe version implement...
  10. Replies
    13
    Views
    482

    Re: VB6 Randomly Pastes in Reverse Order

    Copy and Pasting twice doesn't work. Likewise, cutting the backward row and re-pasting doesn't -re-reverse the order of the controls.

    It seems like it is just a bug of some sort having to do with...
  11. Re: save number id list1 file random access file

    Just a quick look.
    Your UDT is 24 bytes in length, i.e. a Long is 4 bytes + 2 strings that are 10 bytes each.
    But you open the Random access file with a length of 22, so the UDT won't fit.
    Perhaps...
  12. Replies
    13
    Views
    722

    Re: Randomize Questions and Answers

    As another, alternative example from scratch, I used List(of T). You choose a random item from the list and then remove the item from the list so you won't choose it again.
    This paradigm is use...
  13. Replies
    15
    Views
    614

    Re: (VB6) - Zoom up image and reverse

    What does your edit look like.

    I posted pseudo code so it can't be used as is, you have to translate the pseudo code to real code.
    I just copied your code into a project, and added the logic I...
  14. Replies
    15
    Views
    614

    Re: (VB6) - Zoom up image and reverse

    You're not showing all the code. You have an End Sub in the middle.

    If you want it to cycle, then the code that checks for the end of a cycle (in the timer event code) needs to setup for the next...
  15. Replies
    3
    Views
    269

    Re: How to Go To a Conditional Formatted Cell

    Elroy, I'm not working with an Excel Object from a program currently. I agree it may be more flexible, but I'm not sure if it would take more of a learning curve to get setup compared to just pasting...
  16. Replies
    3
    Views
    269

    How to Go To a Conditional Formatted Cell

    I'm not much of an Excel user, and even less of a database person, but lately I've had the need to capture large amounts of data interchange between software modules and between hardware components. ...
  17. Re: Can I load document as byte array and save? (Encrypted and decrypted)

    I'm not sure what part you need help with.
    Given the Thread Title, reading a file into a byte array and writing the byte array to a file is quite simple.


    Public Class Form1

    Private Sub...
  18. Re: SetWorldTransform - TextOut apis ... 3D text Rotation ?

    Since you are not using an Angle, then simply offset the Left based on the amount being squeezed and perhaps the mirroring.
    It might be easier with the SetWorldTransform you're using, but since you...
  19. Thread: TwinBasic

    by passel
    Replies
    861
    Views
    281,663

    Re: TwinBasic

    Perhaps that is true, but I don't know. I can remember way back when we didn't have computers at home, and someone in a class looking at "a = a + 1" say that didn't make any sense at all, a could...
  20. Replies
    57
    Views
    1,969

    Re: Learning Visual Basic Net

    Well, if shortly after that you were working with a 386 then it could have been an even later Apple II, i.e. I think the IIe came out in 1981 or so. I'm pretty sure everything after the II+ was...
  21. Re: SetWorldTransform - TextOut apis ... 3D text Rotation ?

    SetWorldTransform does a 2D rotation in the XY plane, it doesn't do 3D rotations.

    What you are showing doesn't look like a Rotation but, to me, looks rather like a skew or scaling of the X axis,...
  22. Replies
    57
    Views
    1,969

    Re: Learning Visual Basic Net

    Yes, it was most likely BASIC, I assume you wouldn't have had the language card and be working in FORTRAN or PASCAL.
    The BASIC was built into the ROM.

    Which BASIC, depended on which model.
    The...
  23. Replies
    6
    Views
    280

    Re: Better Way to Convert Time

    Is the media player hosted in the Webbrowser?
    I've just hosted the Microsoft MediaPlayer on the form itself and got the present position as a string like this.


    CurrentPosLabel.Text =...
  24. Replies
    6
    Views
    280

    Re: Better Way to Convert Time

    That doesn't look like it accesses the Mediaplayer to get CurrentTime, i.e. current position as the OP does.
  25. Replies
    57
    Views
    1,969

    Re: Learning Visual Basic Net

    Your post seems to be a bit of a non-sequitur.
    We're not talking about a complete newbie here.
  26. Replies
    6
    Views
    328

    Re: show map in ricthexbox or in other element

    Do you already have maps, or will you need to use one of the Map providers?
    For some you will need to establish an account.

    I haven't tried any of them, but perhaps look into using a third party...
  27. Re: Bogus "Out of Memory" message when sitting on Ctrl+Y in the IDE

    I've never used Ctrl-Y in my life (other than to kick off an interrupt handler on the old Apple II).

    In the IDE, I've always just held the shift key down and used up arrow or down arrow to select...
  28. Re: [RESOLVED] Possible patters of a 4 digit number

    Does 3 even need to appear in your pattern list?
    It seems like your pattern list should be a matter of the number of places, not the number of digits, so you aren't making a pattern out of three...
  29. Re: Read a text file from a specific line at to the and

    If you have a really large file, say more than 100,000 lines, and it is something like a log file that you append new data to, but don't modify the old lines, then I would create an index file to...
  30. Thread: Post Race!

    by passel
    Replies
    66,000
    Views
    10,507,673

    Re: Post Race!

    The first time I saw signs for Moosic, PA I couldn't help but think there must be some association with particularly melodic bovines.
    And it must be in a county where people just didn't have a lot...
  31. VS 2015 Re: Why does the Arduino delay receiving data from Visual Basic.NET?

    What does the "Serial.read()" do?
    It seems like from the code, perhaps it reads one byte at a time, otherwise it would seem like just getting 'A' by itself might only happen occasionally because you...
  32. Replies
    19
    Views
    2,407

    Re: Picture1.Picture = Picture1.Image problem

    I'm not sure what "exactly the same problem" means.

    The thread pretty much describes the way things work.

    A possible work around was described in post #3, and accepted for the original poster's...
  33. Thread: Excel timer

    by passel
    Replies
    7
    Views
    636

    Re: Excel timer

    Yes that seems odd. Normally for a countdown timer that would be "00:00:01".
    The code you have I would possibly expect might run until midnight, at which time the clock should roll over to...
  34. Replies
    8
    Views
    636

    VS 2010 Re: syntax needed

    He is dealing with 2 dimensional arrays, presumably rows(,) would be 9 rows of 9 buttons, and the same for cols and boxes.

    I didn't do all 81 buttons. I did a grid of 3x3 buttons so did three...
  35. Re: Type Text Box In Form1 and Copied It to Form 2, Then Next Run Only Form 2 is App

    Since the startup form isn't shown until after the Form_Load event is exited, I don't know why you couldn't just look for the existence of the save file, and if it exists, read it in and populate the...
  36. Replies
    9
    Views
    567

    Re: Project Gets Lost Somewhere

    I assume you do a Rebuild rather than a Build when you move the project from one computer to another.
  37. Re: MY UDP Checksum method. How can I make it better.

    I don't think those two code segments are equal.
    In the first case you loop through packet.Length - 1 if the packet length is even, or you loop through packet.Length - 2 if the length is odd.

    In...
  38. Replies
    2
    Views
    437

    VS 2010 Re: iterate thru variables by name

    You could, I'm not sure why you would want to.
    A quick example test. I added five buttons to a form and added them to two arrays in different order.
    In the sub I then added the two arrays to an...
  39. Replies
    15
    Views
    603

    VS 2010 Re: Bad Record Num Error

    I haven't used the old Random Record Access method with .Net, but the problem is essentially that a structure is not really a fully compatible replacement for the VB6 User Defined Type.

    The...
  40. Re: How to read a file byte by byte (i.e. octet by octet) ...

    You are right. I was treating the bits of the byte as being in bigendian order.
    Niya had reversed the bits in his implementation, and I didn't think it was necessary.
    So, I change the code to...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width