Search Results - VBForums

Search:

Type: Posts; User: georgekar

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    828

    Re: M2000 code updated (ver 7 rev 17)

    Revision 18 is ready. Now I Have to write about 150 commands.
    Changes
    1) multiple nested for as one for
    group b {c,d=10}
    group c {a=20,b}
    for b { for c {? .d+..a} }
    for b { for c {? .d+..a}...
  2. Replies
    2
    Views
    828

    Re: M2000 code updated (ver 7 rev 17)

    I make a correction when we use two or more groups in a for groupname { } statement.
    for alfa, beta {.a=10, ..b=.a/2} \\

    (so now I am using rev 18 but. I wait for some days and then I upload...
  3. Replies
    2
    Views
    828

    M2000 code updated (ver 7 rev 17)

    \\this is the old part
    A=1 : A%=20 : A$="OK"
    FLUSH \\ flush the stack
    \\ send data to stack FIFO (eacn new DATA command append to bottom of stack
    DATA &A, &A%, &A$ \\ pass...
  4. Replies
    3
    Views
    809

    Re: Some Examples about Groups in M2000

    I M2000 we can not return a new group from a function or a module (has this name for subroutine). Because its group is actual variables that are part of the creator, anf after the creator exit the...
  5. Replies
    3
    Views
    809

    Re: Some Examples about Groups in M2000

    Some improvments in revison 17 (not yet uploaded)
    This is an example copied from an example from c# for delegate functions

    Instead of using new we can say... type stringwithdefiniton$
    New...
  6. Replies
    3
    Views
    809

    M2000 Environment

    I use Ubuntu Studio and I can run XP and Windows 7 in VirtualBox same time
    M2000 Environment has own widgets, identical for any Windows OS, and they are sizable with a Zoom function.
    126811
    126809...
  7. Replies
    3
    Views
    809

    Some Examples about Groups in M2000

    \* this is module a - you open the M2000 Environment and write Edit a and copy this. Press Esc and write a + enter
    \* In this example we see Group Definition.
    \* Group is a container for variables,...
  8. Re: Create COM Interfaces - No TLBs

    @Lavolpe
    I think that we have to read about Monikers.
  9. Re: Create COM Interfaces - No TLBs

    The problem is that using a com object you need two things. A way to deal with data transfer and operations, and for that we can say about an interface. An other way is the know how to do things in...
  10. Re: Create COM Interfaces - No TLBs

    Lavolpe
    Look this code. You have to make a reference to tlbinf32.dll (read that)



    This work not only if a tlb is in use but reading the registry too.
  11. Re: A message list about any installation problem in M2000

    Latest revision 15

    Now undo for editor work very very good....
    Also F4 and F5 used for changing names...(F4 change the case to any combination and F5 is a replace command)
  12. Re: Μ2000 Interpreter with Greek and English commands

    Latest revision 15

    New commands for word count and unique word count in Document variables
    We can open for edit a Document variable using "word" or "code" way to find words. By default is word...
  13. Christmas Edition

    Developing M2000, I found minor bugs like in the undo system in TextViewer. It was difficult to found that because the faulty issue came up when we do three copies from the text and in specific...
  14. Re: [RESOLVED] How to show picturebox outside UserControl

    Α scrollable map ?
    So this UC is in a form or not..??
  15. Replies
    10
    Views
    489

    Re: Simulating pointers in VB

    Is not the same. There is a counter for references, so if you forget to break the reference then your object stays alive...
    What is like the pointer..is that you can use the object as data holder...
  16. Re: [RESOLVED] How to show picturebox outside UserControl

    @Jonney
    You can pop an info box...everywhere and every time you want because you don't have to catch the X and Y of mouse in a mouse event. I give you the GetCursorPos and two functions to read X...
  17. Re: [RESOLVED] How to show picturebox outside UserControl

    Subclassing ??????????
    I think you need only a timer for auto close, then you can show what you want by reading mouse absolute values.



    Type POINTAPI
    X As Long
    Y As Long
    End...
  18. Re: How to read a string until a certain character(s) are reached?

    :blush:
    @DataMiser
    you are right..........
  19. Replies
    10
    Views
    489

    Re: Simulating pointers in VB

    Lavolpe,
    pointers are used for indirect addressing, mostly. You can see offsets that used as indexes, although indexes in addressing modes are values that can be increments or decrements by a...
  20. Re: Using Line Input for Unicode (UTF-8 included), the fast way

    If a code run...isn't means that is ok..So I through some bugs, and I add Save routines
    mode 0 is for unicode LE-16
    mode 1 is for unicode BE-16
    mode 2 is for unicode UTF-8
    mode 3 is for ANSI...
  21. Replies
    10
    Views
    489

    Re: Simulating pointers in VB

    This is an example of using GlobalAlloc()
    Here we don't free the hMem (memory handler) because that is taken from clipboard...


    Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags...
  22. Replies
    10
    Views
    489

    Re: Simulating pointers in VB

    Private Declare Sub CopyMemory Lib "kernel32.dll" Alias "RtlMoveMemory" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As Long)
    Private Declare Sub GetMem1 Lib "msvbvm60" (ByVal Addr...
  23. Replies
    10
    Views
    489

    Re: Simulating pointers in VB

    Yes. You can use pointers as addresses in long variables.
    What you don't have at a first search is an VB allocating system to allocate memory. This can be done from api call.

    This is a quicksort...
  24. Re: How to read a string until a certain character(s) are reached?

    These are my lovely routines...
    You can make an xml or a html parser using these..
    A$="Hello how are you?"
    B$="ar"
    ' a$ is passing by reference so we get a changed a$
    C$=GetStrUntil(b$,a$,false)...
  25. Re: [RESOLVED] How to show picturebox outside UserControl

    Why he can't use a second form as tooltip? If main form is parent of that form then we can be minimized both if we minimized the parent.
  26. Re: Classic VB6 to be supported at least through 2024.

    http://www.jabaco.org
    Vb syntax to java byte code.
  27. Re: how to split text if limit over

    The problem with vb is double, one for the basic code and one for ui. If anyone see for the first time a language, when showing the IDE of vb6 then has to worry about how can output something. OP...
  28. Re: how to split text if limit over

    Your code at most situation may work. If we have one word with length bigger than the limit then you display nothing...
    (I can't understand ...the verb gleaned, and what supposed to say...)
    My...
  29. Re: how to split text if limit over

    godfathers...
    you have a totally wrong view about variables...
    First forget the message box...This is not for displaying big lines.
    Try that ..you get 2 lines in one msgbox...
    msgbox "hi am rahul...
  30. Re: how to split text if limit over

    Yes you are right about the variables names. In the example there was nothing to descriptive so they take an "name as noname". But my example was to show how we can split a string for a given number...
  31. Re: how to split text if limit over

    Yes by splitting the text, but the splitting are in spaces only. How can you do when you have also this - for a break too?
  32. Re: how to split text if limit over

    If the only problem is the use of left$ and mid$....
    a$=left$(t$, 17)
    b$=mid$(t$,18)
    Use a$
    make b$ the new t$
    t$=b$
    Stop when t$=""
  33. Re: how to split text if limit over

    You need a rext wrapping function. You can use textwidth method to find the length in twips of a given string. So the problem changed to how you feed that string. You can feed it with a new word with...
  34. Re: How to efficiently divide a string array into several arrays under certain condit

    There is a reply for #19, or how can we use line input (a custom one)...for any kind of text, ANSI and UNICODE...using our own buffer to speed up the process.
  35. Using Line Input for Unicode (UTF-8 included), the fast way

    For some days ago I was involved in the word count routines. I realize that a speed contest for some extra ms was not what we call productive. Productive can be a searching utility for those words....
  36. Re: Rotated Sprites (called Players) in M2000

    With a simple way we make a sprite on the screen...
    Here is a screen shot with all commands to do...without make any program. Just we type some commands
    First we make a string variable A$
    Second...
  37. Re: Editing problem: How to manage CrLf marks for Cut/Copy

    The handling of vbcrlf is tricky...Because we have two views. A cursor inside and a cursor outside. The outside cursor is what we see. The inside...cursor never see crlf, because there is no crlf in...
  38. Replies
    73
    Views
    2,498

    Seven Examples...

    I do some practice...with examples..to optimize them. I see that making big arrays from the start is worst scenario from making them at steps. So here is the 7 example program...I conform to the...
  39. Re: How to efficiently divide a string array into several arrays under certain condit

    For M2000 I make a Line Input for unicode (the windows format..not all types), and many other.

    Here OPEN command use the WIDE to handle unicode. So Line Input can work for ANSI if we use OPEN...
  40. Re: How to efficiently divide a string array into several arrays under certain condit

    Don't say that " at least 2GB of RAM installed". In my Virtualbox I give 1 Gbyte...for Xp and the same for Widnows 7 (both can run...the same time...in Ubuntu Studio, AMD6100 4Gbyte ram). I have...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width