Search Results - VBForums

Search:

Type: Posts; User: georgekar

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: many controls in the screen How how do I fit

    Simple forms with next previous buttons is the best, using frame and without tabs...but it is good to monitoring the actions so maybe these frames are in lower half and in upper half maybe we see a...
  2. Re: many controls in the screen How how do I fit

    Hidden fields construct a confusing screen. I use in 2000 a simple solution using html forms and display them filing from database and leaving some form elements to make new entries, and button to...
  3. Replies
    15
    Views
    347

    Re: UserControl with form

    @Davor Geci
    You have to think if you like a solution for one usercontrol or many, and if the form is common for all users controls or private for each (let say that is a memo form, so every user...
  4. Replies
    0
    Views
    96

    Some help with SysFreeString

    I have a plan to make M2000 Intepreter to handle structures for using in Declare statement. My problem is where I can use SysFreeString...Can anyone see this code.
    cStruct class can handle the...
  5. Re: Marsaglia's MWC Pseudo Random Number Generator

    Y+Y+1 is 2*Y+1....= ShiftLeft(y, 1) + 1 (but we drop the MSB bit - https://en.wikipedia.org/wiki/Most_significant_bit )
    Overflow comes from MSB if is 1 and we make a shift left (X2)
  6. Re: VB6 - 2D DCT & IDCT - Separable Discrete Cosine Transform (Any Size)

    Don't use doevents. Put code in a class and pit a raiseevent to return the percentage of job execution. So you make your code as part of message's process...
    Read about WithEvents.
  7. Re: Marsaglia's MWC Pseudo Random Number Generator

    Explanation of the formula in post #5
    The original routine use Long Long (64bit) to give 32 bit. So my inspiration was to make the last multiplication with less bits
    starting from two long...
  8. Re: Marsaglia's MWC Pseudo Random Number Generator

    This happen because we have sign long, not unsign.
    Debug.print uintnew(-256), hex$(signlong(uintnew(-256)))
    You can't use uintnew(-256) in hex$() because give overflow, you have to adjust to a sign...
  9. Re: Marsaglia's MWC Pseudo Random Number Generator

    XORShift = ShiftRight((ShiftLeft(y, 1) + 1), 16) * ShiftRight(v, 16)
    Don't ask why, just THINK...
  10. Re: [vb6]Alpha Image Control v2 - Final Update (15 Jan 2012)

    The point is that vb not crash, but not closed either. This in not happen every time, that is the mystery. So with my example with 10 exe that runs all together we get some of them "not responsed". I...
  11. Re: [vb6]Alpha Image Control v2 - Final Update (15 Jan 2012)

    So you say that in windows 8 and up, at 64 bit you never see a problem in a vb exe when exit...Do you ever check temporary folder to see if your application remove temporary files?
  12. Re: [vb6]Alpha Image Control v2 - Final Update (15 Jan 2012)

    I don't have problem in IDE. I had prepared a revision with per exe startup and shutdown, no per command in M2000, nothing change. Same problem. When I remove gdiplus and replace the routine to save...
  13. Re: [vb6]Alpha Image Control v2 - Final Update (15 Jan 2012)

    Lavolpe have you ever check if gdiplus run without hangs in windows 64 bit; Because I had to through the jpg export after found that when more than one exe use gdi plus one of them hang on exit, some...
  14. Re: Marsaglia's MWC Pseudo Random Number Generator

    As I see you made local variables some variables that has to be static, means they retain values in each call. See w. Why w exist in code? Is a part of a simple queue. Drop o variable, make it v...
  15. Replies
    6
    Views
    176

    Re: Vb6 Error in IDE in Windows 8 64bit

    Here is the evidence
    The fault is only in IDE not in compiled code.

    129565
  16. Replies
    2
    Views
    173

    Re: [VB6] Direct3D9.

    Have you something to draw text?
    I would like to see any implementation..so maybe I put dx9 in M2000 Environment...some day...(Can we make controls with dx9??)
  17. Replies
    17
    Views
    1,305

    Re: Μ2000 version 8 coming soon

    Revision 40
    A solution for IDE error in vb6 in Windows 8 64bit on the M2000 code, so now can open in IDE and run without problem. (As I know).
    Also i remove Flavor Pentium Pro from compilation...
  18. A video from test in Windows 8 64 bit

    http://youtu.be/rVa0vllo6LQ
  19. Replies
    6
    Views
    176

    Re: Vb6 Error in IDE in Windows 8 64bit

    So why we get only 2 chars (16bit) ok and not first one? If we have what you say then in the second use of a$ as output buffer we have to get a totally different string..But now we have only in first...
  20. Re: Advance Scrolliodo with Jpg encoder class

    Check it in Windows 8, 64bit (compiled there).
    From file open read folder (and be sure checked the Read sub folder too option).
    Then give C: and play with first loaded as internal a list of images...
  21. Replies
    6
    Views
    176

    Re: Vb6 Error in IDE in Windows 8 64bit

    I don't know if SysReAllocStringLen live some leaks...after the use of kUpper. But the way you make it is by one meaning a small and beautiful code, but has no different in idea, you use two buffers...
  22. Replies
    6
    Views
    176

    Re: Vb6 Error in IDE in Windows 8 64bit

    I do a check in Windows 7 32 bit..
    No problem, give
    END
    END
  23. Replies
    6
    Views
    176

    Vb6 Error in IDE in Windows 8 64bit

    Put this in a module and call in immediate mode Check
    In windows XP give
    END
    END
    In windows 8 64bit, give a space. Work out is the second line.
    <space>ND
    END

    I do not check in Windows7 but...
  24. Re: How to: Load and show form without activating it?

    I think the easiest way is to load form on top of other with no modal way, and just use zorder 1 ( i think, I write from tablet now, I can't study my code). Loading a form and display it can be done...
  25. Replies
    17
    Views
    1,305

    Re: Μ2000 version 8 coming soon

    Revision 39
    I put away gdiplus (I use this only for saving jpg). Now I have a jpg encoder in Vb6...I found it and works perfect. For quality >50 I use SetSamplingFrequencies 1, 1, 1, 1, 1, 1 like...
  26. Advance Scrolliodo with Jpg encoder class

    I found a very nice encoder class for jpeg saving.

    ScrollioDo was first a nice simple scroller but without a DIB under, so this one has a DIB and only the Viewport extracted each time we scroll. ...
  27. Re: get part of string but only number in braket

    This is from M2000 interpreter code. You do the job in two stages so you can handle two or more values.


    Sub TESTME()
    A$ = "0103-(5.048)-DDD6"
    DropLeft "(", A$
    Debug.Print GetStrUntil(")", A$)...
  28. Replies
    0
    Views
    166

    M2000 and Windows 10

    latest Revision 35 (Version 8)
    Windows 10 show as Windows 8.1
    Open OSK with command Keyboard ! can be done only if we give administrator rights
    129437
  29. Replies
    17
    Views
    1,305

    Re: Μ2000 version 8 coming soon

    Current Revision 34
    I found Private Declare Sub DisableProcessWindowsGhosting Lib "user32" ()
    to handle the Ghosting. I am not sure if this is always good, if anyone has an idea about it please...
  30. Replies
    17
    Views
    1,305

    Re: Μ2000 version 8 coming soon

    Current revision 33.
    Eliminate the bug in Edit command.
  31. Replies
    17
    Views
    1,305

    Re: Μ2000 version 8 coming soon

    Revision 31,
    revision 30 has a fault in EDIT command, when open a new module editor has previous text. Now is ok.
    Also added a new Paragraph() function to give a real paragraph number from index...
  32. Replies
    17
    Views
    1,305

    Re: Μ2000 version 8 coming soon

    revision 30
    New function Filelen() return file length in bytes


    form 80,32
    dim a$(4) : a$(0)="UTF-16LE","UTF-16BE","UTF-8","ANSI"
    Print over $(6),"Example of saving and append text in four...
  33. Replies
    17
    Views
    1,305

    Re: Μ2000 version 8 coming soon

    Current Revision 29
    Some minor fixes to comply with help file (for On Gosub and On Goto)
    Also revision for Language Definition 1.10
    (I put all Flow controls in appendix A, help2000.mdb updated...
  34. Replies
    8
    Views
    219

    Re: Prevent accumulating of key stroke

    Two things..
    1)
    Form1.keypreview=true
    and at form keydown make key zero so this means that you do something with the key.

    2)
    No reentrance in any event process sub, by using a static variable...
  35. Replies
    30
    Views
    1,904

    Re: Plotting scaled triangle

    When we have distance and angle then we didn't need to get two points to rotate them (4 cos and 4 sin needed). First, the first point is in the right position, the other point need to find only one...
  36. Replies
    30
    Views
    1,904

    Re: Plotting scaled triangle

    I leave these two lines for a scope
    angle = PI2 / 360 * angle
    angle = angle / PI2
    First line is for degree to radian conversion. To optimise the code we can make these two lines in one. Angle=...
  37. Replies
    30
    Views
    1,904

    Re: Plotting scaled triangle

    I think I do exactly what OP want. But my maths works with less cos/sin...and the way I rescale the triangle and fit in the square, is always with any of two, height or width at 250 pixels.I am...
  38. Re: [RESOLVED] Beginning: Array of Object (looking for critique)

    Use with ... end with for Ma. And it is obvious that you use pixels.That means that the handling of rounding is yours.
    With Ma
    For X=.Period ....
    End With

    With first look you have a fault. What...
  39. Re: Beginning: Array of Object (looking for critique)

    Not exactly a suggestion for on/off a MA but a way to handle and validate the user input. There are a front where a user see some graphics and there is a layer under that the programmer (you) process...
  40. Re: Beginning: Array of Object (looking for critique)

    Imagine that all your data are one Ma.You have also a property to make it visible or not. Now think two process, one to divide a Ma to two or three parts. Also you can change the visible...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width