Search Results - VBForums

Search:

Type: Posts; User: georgekar

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    97

    Re: Scroll Bar with LONG value...

    I read here http://msdn.microsoft.com/en-us/library/system.windows.forms.scrollbar.maximum(v=vs.110).aspx for the net platform "The maximum value can only be reached programmatically"....
    Why...
  2. Re: [VB6] Scrollio Picture Viewer UserControl

    I need 1 pixel scrolling because I want the scrolling values to became the initial position, in any position, not at n * 200px . You can scroll the image without scroll bars, by mouse move event, at...
  3. Replies
    4
    Views
    97

    Re: Scroll Bar with LONG value...

    Ok for history I put the reference.
  4. Replies
    4
    Views
    97

    Re: Scroll Bar with LONG value...

    Here is the output of the example.
  5. Replies
    4
    Views
    97

    Scroll Bar with LONG value...

    This is an example (the scrollio picture viewer that I convert to take dib) with new control LargeBar
    Now I can open a 20 Mpixel photo and select zoom 2000%.

    The code of scrollbar is small....
  6. Re: [VB6] Scrollio Picture Viewer UserControl

    We can't use the space -32768 to 32767 because...we can't define LargeChange for all that space but from 1 to 32767..
  7. Re: [VB6] Scrollio Picture Viewer UserControl

    I am going to change code for scroll bars (I totally forgot that is unsign integer...).
    I would like to have 1 pixel scrolling. so 64k is ok. We can't have 64kx64k. All the problem about emf can be...
  8. Re: [VB6] Scrollio Picture Viewer UserControl

    The problem with scroll bars is more on the limitation of 32767 as maximum. If you see on the code, i posted above, i had to cut off the ecxess of a real max to 32767.
    A second problem that i...
  9. Thread: text input

    by georgekar
    Replies
    24
    Views
    244

    Re: text input

    To feed textbox with letters by means reading a look up table you have to make it like someone type. So the caret must follow every input, and if a backspace pressed then you have to go back. For the...
  10. Re: [VB6] Scrollio Picture Viewer UserControl

    I give one day of my life...for improving your user control scrollio (i like the name...also).
    I put my old cDib...but I do some improvements.
    First...I clear the not so good code for scroll bars....
  11. Re: [VB6] Scrollio Picture Viewer UserControl

    I see your code. You don't blit the part of picture that you have to show but you move the picture, so you need all the image at the right size. So when you change size ratio you make a new image on...
  12. Replies
    11
    Views
    191

    Re: Redimensioning an array

    I see a strange calculation here.
    We have many cases and each case can have one or more values.
    So you have to store values for later, to calculate per case. The easy way is to make a small class...
  13. Replies
    2
    Views
    290

    Tester2 new

    116855

    Now I have second edition. With two more markings, with the user insertion of # or @.
    See the image above

    Also I found some mistakes, and a totally new one: I use Xp in a VirtualBox in...
  14. Replies
    2
    Views
    290

    Re: Test two vb codes for changes

    Do not use the "Mark new or changes lines of code" Button as default because you can insert lines...(in every enter keystroke run the test again - in a second)
    If a make some dramatic change...then...
  15. Replies
    2
    Views
    290

    Test two vb codes for changes

    This is a small program, based on gEditBox. I made this for gEditBox because I have some customize..custom controls and I want to find the differences.
    It is a fast coding (one day) so...I do the...
  16. Re: Liistbox and EditBox 3.5 Unicode and Transparent.

    I have a new edition for geditbox. See #1 post. Also there is a photo that show how colorize vb code.
  17. Re: Liistbox and EditBox 3.5 Unicode and Transparent.

    Intermediate stage

    I haven't make an undo/redo yet.
    New in this example is the password mode for gEditBox plus the vb coloring code (in this example), with output to html.
    Two forms. One to...
  18. Re: To show in Taskbar or not to show in Taskbar

    The easiest way is to use two forms.
    One form is out of screen (no realy visible with a top of 48000 twips) and has a taskbar and the other is a form without taskbar (with no caption and...
  19. Re: correct code to save data from arduino in VB6 received by serial com

    I don't see significant difference. I draw some lines. I think those data are ok.
  20. Re: correct code to save data from arduino in VB6 received by serial com

    From your code is obvious that you cut decimals in var MmPositionFinal so I would like to see the real data without the cutting of 3rd decimal and beyond.
    I check 3 of the files you send. I print a...
  21. Re: Liistbox and EditBox 3.5 Unicode and Transparent.

    Update gEditBox,drag and drop now work fine
  22. Re: correct code to save data from arduino in VB6 received by serial com

    63 mm...x 3.14... is the perimeter and divide this with 2.54 you get 7.79 '' so with lpi 300 you have 7.79x150 points for each mm (if we think that each lpi is needed and not each two of them, or one...
  23. Re: correct code to save data from arduino in VB6 received by serial com

    The moving of the error is from
    a) The size of K factor, use this formula to find 100-100*(K-K/(1+1/75)) % error.
    b) The distance because with your calculation the error added in each measure...
  24. Re: correct code to save data from arduino in VB6 received by serial com

    So you have a positioning system without a controler, and you trig your software in each semi rotation of disk. How big is that disk...Because if I understand, 300lpi is for the perimeter of the...
  25. Re: correct code to save data from arduino in VB6 received by serial com

    OK. so that isn't a problem. But the way you calculate by each slice of 1 mm you perform a subtraction I think is wrong. Think a little for this. Say you have a X1 with error Xd1 and X2 with error...
  26. Re: correct code to save data from arduino in VB6 received by serial com

    In my calculation i didn't subtract, i do a division.
    X is the distance in mm from 0 point. so the K factor is extracted from the tension (or force - my English are poor) divided by distance. Your...
  27. Re: print images with records using crystal reports

    http://www.vbforums.com/showthread.php?767187-Using-a-cDibsection-to-paint-view-and-print-bitmap

    look that code. Using a bitmap to print on it is easy. This example show how to display and...
  28. Re: correct code to save data from arduino in VB6 received by serial com

    Why at 22mm move of the compression head with a force of 1656.76 you get a K factor 77.4 and not 75.3

    I think at 20 with 1498.98 you must get 74.949
    and at 28 with 2129.12 you get 76.04 and at 29...
  29. Re: Liistbox and EditBox 3.5 Unicode and Transparent.

    Update gEditBox with word wrapping.
  30. Replies
    26
    Views
    1,828

    Re: Generating unique binary strings

    You are wrong. If you place a number of elements 19 you have 0 to 18 elements. My question was specific...Why from a text string the last character excluded??

    I see...the manual. In any other...
  31. Replies
    26
    Views
    1,828

    Re: Generating unique binary strings

    Why you redim character array to len-1?
  32. Replies
    1
    Views
    249

    Re: MDI Child form Need help

    This is an example for an other thread but it shows you how to open a form and you can type in a textbox with that form opened above your main form. So if you want you can put controls to "popup"...
  33. Re: Classic VB - Does Visual Basic 6 support Unicode?

    Here are some examples for using unicode in vb6.
    Vb6 uses string as utf16 and in a picture box with a drawtext function we can display that code. In other cases vb6 check if each utf16 code in the...
  34. Re: Classic VB - Does Visual Basic 6 support Unicode?

    I have made two controls, a listbox and a textbox for unicode support.
    My approach is to use only user control and standard controls like a scroll bar. You can load file and save in UTF16 format. ...
  35. Re: User Control - Using Image Controls vs Pictureboxes

    Study the final example
  36. Re: User Control - Using Image Controls vs Pictureboxes

    Now it work. (rearrange the pic numbers...)



    Option Explicit
    Dim state As Boolean
    ' Mouse Events
    Public Event MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Public...
  37. Re: Liistbox and EditBox Unicode and Transparent.

    Update gEditBox.
    Included save and load unicode textfiles, and colorize text as you type..(there is an example).
  38. Replies
    21
    Views
    763

    Re: A base 0 array

    The last dimension is what to have to redim, and that is my argument.
    As for null fields, you have to use something like this IsNull(rec.Fields(i%)) to change the value to something like a space...
  39. Replies
    21
    Views
    763

    Re: A base 0 array

    A spreadsheet is not an array but a linked list and the address a1 is the key to find item. So a spreadsheet never need to redim.
  40. Replies
    21
    Views
    763

    Re: A base 0 array

    Is the way that an array can strore values. Suppose you have 2x2 array with values 1,2 for one row and 4,5 for the other. In memory those numbers are in a line 1,4,2,5 so you can increase the last...
Results 1 to 40 of 160
Page 1 of 4 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.