Search Results - VBForums

Search:

Type: Posts; User: georgekar

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. 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.
  2. 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...
  3. 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...
  4. 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.
  5. 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...
  6. Re: Liistbox and EditBox 3.5 Unicode and Transparent.

    Update gEditBox,drag and drop now work fine
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. Re: Liistbox and EditBox 3.5 Unicode and Transparent.

    Update gEditBox with word wrapping.
  15. Replies
    26
    Views
    1,423

    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...
  16. Replies
    26
    Views
    1,423

    Re: Generating unique binary strings

    Why you redim character array to len-1?
  17. Replies
    1
    Views
    219

    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"...
  18. 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...
  19. 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. ...
  20. Re: User Control - Using Image Controls vs Pictureboxes

    Study the final example
  21. 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...
  22. 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).
  23. Replies
    21
    Views
    659

    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...
  24. Replies
    21
    Views
    659

    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.
  25. Replies
    21
    Views
    659

    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...
  26. Replies
    21
    Views
    659

    Re: A base 0 array

    Try use a space as null value
  27. Replies
    21
    Views
    659

    Re: A base 0 array

    The real answer...
    In a string we have position..so a position has to be a natural number, 1...N
    An offset is a value that we add to a base address. So an array has a base address and an offset...
  28. Replies
    21
    Views
    659

    Re: A base 0 array

    When you pay a ticket for seat 0 and in the bus there is no 0 seat then you have an error. Is the same...for array...

    (this was a joke....)
  29. Re: Using a mathematical identity to speed up certain calculations.

    Back in school...i found an easy way to add all even numbers in a range of i,j

    The problem was supposed to have a solution with a loop of j-i times, and inside using mod to find if number is...
  30. Replies
    21
    Views
    659

    Re: A base 0 array

    using option base 1
  31. Replies
    26
    Views
    1,423

    Re: Generating unique binary strings

    Max..
    Can you describe what a supposed input file for your algorithm can include? Then can you think the rules for data compression, and present us those rules here?
    Then we can discuss about...
  32. Replies
    26
    Views
    1,423

    Re: Generating unique binary strings

    My friend that code is the triumph of bad coding...
    First you have to think what you have and what you want to have after the execution. So you have to think the input set of possible data and the...
  33. Re: Setdibits & Bitblt -> 2 Neat routines (one of them working)

    He didn't saw that code here http://www.vbforums.com/showthread.php?767187-Using-a-cDibsection-to-paint-view-and-print-bitmap

    He need to place graphic to a form and it easy with cdibsection class...
  34. Replies
    26
    Views
    1,423

    Re: Generating unique binary strings

    No you are wrong. In every node (circle in your diagram) you put a letter. A zero means to go left. A one means to go right. In a non balance tree you have long paths. If a node has null pointers...
  35. Replies
    26
    Views
    1,423

    Re: Generating unique binary strings

    The function to get the bits, is different from the packing of the bits. My encoding is for the packing.
    A binary tree maybe is good for 1Mb text, because words are repeated. You have to include not...
  36. Replies
    26
    Views
    1,423

    Re: Generating unique binary strings

    This is a wire connection for transmition synchronous data. Wire because your data must read in a sequence style. You miss the point here. You need to send length first then you get a binary (string...
  37. Replies
    26
    Views
    1,423

    Re: Generating unique binary strings

    @IkkeEnGij
    That is an answer.

    @Max187Boucher
    If the generation of unique number is from one source then use a double as an unsign integer (double can hold bigger number than DWORD), and the...
  38. Replies
    26
    Views
    1,423

    Re: Generating unique binary strings

    http://www.guidgenerator.com/online-guid-generator.aspx


    Max187Boucher,
    The big question here is: For what it is necessary a GUID "string".
  39. Replies
    18
    Views
    801

    Re: Convert Dword TO String

    So some bits are for something else try to mask with an AND &FFFFFFFE (LSB masked)
  40. Replies
    16
    Views
    1,437

    Re: VB6 executable slow on Windows 8

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

    Look to that code. Works with 24 bit cdibsections. You can convert any dib to 24bit, with a...
Results 1 to 40 of 145
Page 1 of 4 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.