Search:

Type: Posts; User: passel

Page 1 of 13 1 2 3 4

Search: Search took 0.82 seconds.

  1. Re: [RESOLVED] Why is my PictureBox image not found ?

    Thanks.
    On this computer I didn't have Option Strict turned On by default, so it slipped through.
    An oversight on my part.
    I'm changing that setting now.

    Also, Poppa I was going to mention...
  2. Re: [RESOLVED] Why is my PictureBox image not found ?

    Yes, you would have an array or list, but you would put a reference to the control in the array, not the index. The index is used to index into that array to get the object, i.e. the picturebox...
  3. Re: [RESOLVED] Why is my PictureBox image not found ?

    Technically, Paul was suggesting that perhaps your first picturebox wasn't contained in your panel, so wouldn't have been found in your loop.
    In your case, you probably had two pictureboxes with the...
  4. Replies
    5
    Views
    170

    Re: Create database programmatically

    Bottom line, you didn't provide a link to the youtube demo.
    I would guess you copied it wrong, but can't verify that.

    Ok, I did a search and probably found the tutorial you were looking at....
  5. Replies
    5
    Views
    297

    Re: MsgBox 256 * 256

    Yes, that is essentially equivalent to
    MsgBox (256.0 * 256.0)
  6. Replies
    5
    Views
    170

    Re: Create database programmatically

    Why do you have another "Private Sub Button1_Click ..." after the Form's class?
  7. Replies
    7
    Views
    311

    Re: Copy Control(s) to another form

    I've not only copied controls from one form to another, I've copied them from one instance of the VB6 IDE to another Instance of the VB6 IDE, i.e. between two different projects. It sure seems odd...
  8. Replies
    72
    Views
    1,237

    Re: Windows 11 is available to some now

    Probably should be translated as "robbing a church", not "stealing a church", I think.
  9. Replies
    72
    Views
    1,237

    Re: Windows 11 is available to some now

    The TPM chip isn't all that new. You mentioned you have a laptop that is a couple of years old and I would expect that it already has the chip onboard. I checked a four year old and five year old...
  10. Re: VB6 QUESTION: Providing Documentation for your Utility.

    So, you moved your mouse over the form, and paused to see if the tooltip appeared?
    It worked fine for me, unmodified from Elroy's post.
  11. Replies
    16
    Views
    468

    Re: Highlight Text on TextBox Enter

    So that "Handles txtNoBars.Enter, txtMultiplier.Enter, txtCenters.Enter".
    Is it those textboxes that aren't working, or another one that should be added to the Handles clause?
  12. Re: "The call stack contains only external code" error

    From what I can make out it says...
    "Argument exception was unhandled"
    "Parameter is not valid"

    Troubleshooting tips
    "See general tips for this exception"

    Without knowing which line causes...
  13. Replies
    1
    Views
    417

    Re: Maximum y Achse Chart WPF als Variable

    English Speaking forum. Please translate your posts to English.

    Translation:
    Hello, everyone,

    In the coding I have defined a variable as Public, to which I assign a value - myMax.
    In the WPF...
  14. Re: What are the Major & Minor values of Windows 11

    Its not Windows 11 yet, it is a candidate for Windows 11, i.e. Beta version. Once it is fully baked, it will probably be 11.
    On the other hand, Microsoft did say they were staying with Windows 10...
  15. Re: Cairo based Image Rotation, it's all a M-e-S-s. [L-Plate Learner Edition]

    Its an old question from xiaoyao and has been answered multiple times.
    Unfortunately he apparently doesn't understand any of the answers.

    Essentially, he wants the smallest square that will...
  16. Replies
    12
    Views
    401

    Re: Moving PictureBox with Timer

    Ok, I didn't look at your code, just jmc's.

    In your code, you're using two timers.
    You use the second timer to move the picturebox up, but which timer do you stop when you've reached the top?
  17. Replies
    12
    Views
    401

    Re: Moving PictureBox with Timer

    So, fix it.


    If PictureBox1.Top <= 0 Then

    Save the original position and check for that instead of 0 in the above line.
    Or calculate the center position you mentioned and use that instead of...
  18. Replies
    22
    Views
    429

    VS 2019 Re: ARRAY summing issue

    Exactly. Is is really a surprise that with fuel costing $12 a gallon in Norway that Electric cars made up over 70 percent of the new vehicles sold in Norway this year.
  19. Replies
    11
    Views
    460

    Re: Overlapping Calculation

    It it were me, I would just set a clipping region, and then draw all the lines and let GDI+ take care of drawing the portion of the lines that fall in the rectangle.

    An example program that uses...
  20. Replies
    23
    Views
    515

    VS 2019 Re: Forms under a project instead of solution

    Yeah, I did use a single form for two projects in a solution on my first application ever done in VB.Net. I was inexperienced with VB.Net, so had to learn quickly to get a project done for work.
    ...
  21. Re: how to get play index about WindowsMediaPlayer Playlist

    Yes, when I did my own player without a playlist, When the playstate of 8 was receive indicating the end of the current song, I set a boolean indicating to load then next song, and in the timer it...
  22. Re: how to get play index about WindowsMediaPlayer Playlist

    It probably can be done, but I've never used the built in play list.
    I just maintain my own list, and play each in turn after the previous one finishes.
    Can't find the VB6 source that uses the...
  23. Replies
    2
    Views
    290

    VS 2019 Re: small question , scrollbar

    I wouldn't be changing those properties in the scroll event. That seems like it could lead to problems.
    You should set the minimum and maximum values in the IDE when developing the application, or...
  24. VS 2015 Re: Hide and stop media player from playing

    You don't show the media player, i.e. set the .Visible property to False
    You don't load something to be played when the form is open.
    If you want it to play at the close of the program, then you...
  25. Replies
    2
    Views
    271

    Re: compiled .exe very slow

    What is the code doing?
    Code in the iDE is slower normally because after each instruction it is doing some housekeeping to allow debugging hooks, and it also p-code interpreting.
    The compiled code...
  26. Replies
    34
    Views
    1,592

    Re: Retro programming communities

    I also started with the fixed length word machines.
    The first was an 18-bit machine, so at each PC (program counter) address, you had an 18-bit word.
    The second machine was a 16-bit machine, and at...
  27. Replies
    7
    Views
    337

    VS 2019 Re: How do I open a class's code editor?

    You are using the class's Code Editor.

    It isn't described clearly, but they are talking about the editor that you are using.
    What they are trying to say with that comment is, first they show you...
  28. Replies
    34
    Views
    1,592

    Re: Retro programming communities

    90's PC covers quite a bit of Architecture growth. Basically you had your 16-bit 486 machines of variously increasing speeds at the beginning and then the pivotal year, 1995 with the Pentium and...
  29. Replies
    10
    Views
    595

    Re: Timed Loops to Simulate Hertz

    I didn't try the code or look at it in detail.

    Just looking at the Get_Elapsed_Time function, the code doesn't seem to make sense.
    You're subtracting last_time from current_time, but since...
  30. Re: How to use a specific portion of an image as the form background

    Did you find that in post #4?
  31. Re: How to use a specific portion of an image as the form background

    Well, he did mention bitblt...
    And I assume he didn't want to have to crop the original image to make a bunch of different images to load.
    But, a movable picturebox would work as well.
  32. Re: How to use a specific portion of an image as the form background

    At startup, I would create a bitmap and load the large image into it.
    Create a second bitmap of whatever size you want and then draw into that bitmap the portion you want from the first bitmap.
    You...
  33. Replies
    18
    Views
    905

    Re: HexBox Control? View .bin file as ushort?

    Well, I guess check for an option indicating you want to swap, and just loop through the array and swap the bytes before the Buffer.BlockCopy.


    If bigendian Then
    Dim tmp As...
  34. Replies
    18
    Views
    905

    Re: HexBox Control? View .bin file as ushort?

    I guess the question there is why?
    The code you provided in post #11 doesn't swap the bytes before joining them into a ushort. It may look like it does, but it doesn't.
    Is it possible the editor...
  35. Replies
    18
    Views
    905

    Re: HexBox Control? View .bin file as ushort?

    Went ahead an merged my read, with Niya's string creation, as an example...


    Private Async Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

    'rtb =...
  36. Replies
    18
    Views
    905

    Re: HexBox Control? View .bin file as ushort?

    If you want Niya's code to display decimal padded to 5 characters as the editor does, then change the one sb.append to pad the number with 0's and not convert to hex (no "X4")


    ...
  37. Replies
    18
    Views
    905

    Re: HexBox Control? View .bin file as ushort?

    UInt16 and UShort is the same thing.

    Niya's code was creating hex string representations of the 16-bit integers, which is what you were talking about, i.e. an editor representation.

    Your code...
  38. Re: Is it possible to get an example of how to drag an image from ?

    But that is a library, not built into VB6 directly, but that could be splitting hairs since most all programming is a matter of interfacing with code in libraries.

    Even so, interfacing with a...
  39. Re: Is it possible to get an example of how to drag an image from ?

    The word "model" is meaningless for VB6.

    The word "surface" is meaningless for VB6.

    Dragging an image is vague.
    VB6 has image controls and picturebox controls which can hold images and be...
  40. Replies
    19
    Views
    1,054

    Re: Code not reading entries !

    No, it was in the earlier versions of Microsoft Basic, across many of the various computers, i.e. Atari, Commodore, etc...
    I'm not sure just when it was introduced.
    Microsoft Basic was based on the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width